location:SimpleAddressFacet leaf node


URI

https://unifiedcyberontology.org/ontology/uco/location#SimpleAddressFacet

Label

SimpleAddressFacet

Description

A simple address facet is a grouping of characteristics unique to a geolocation expressed as an administrative address.

Superclasses (1)

Shape Properties

Instances of location:SimpleAddressFacet can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

LOCAL TYPE
(type defined for property on this class)

GLOBAL RANGE
(type range for property globally)

location:SimpleAddressFacet
location:addressType owl:DatatypeProperty The type of the address, for instance home or work.
0 1
xsd:string
xsd:string
location:country owl:DatatypeProperty The name of the geolocation country.
0 1
xsd:string
xsd:string
location:locality owl:DatatypeProperty The name of the geolocation locality (e.g., city).
0 1
xsd:string
xsd:string
location:postalCode owl:DatatypeProperty The zip-code.
0 1
xsd:string
xsd:string
location:region owl:DatatypeProperty The name of the geolocation region (e.g., state).
0 1
xsd:string
xsd:string
location:street owl:DatatypeProperty The name of the street.
0 1
xsd:string
xsd:string

Implementation

@prefix core: <https://unifiedcyberontology.org/ontology/uco/core#> .
@prefix location: <https://unifiedcyberontology.org/ontology/uco/location#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

location:SimpleAddressFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "SimpleAddressFacet"@en ;
    rdfs:comment "A simple address facet is a grouping of characteristics unique to a geolocation expressed as an administrative address."@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:locality ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:postalCode ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:region ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:street ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:addressType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path location:country ] ;
    sh:targetClass location:SimpleAddressFacet .