observable:ContactAddress leaf node


URI

https://ontology.unifiedcyberontology.org/uco/observable/ContactAddress

Label

ContactAddress

Description

A contact address is a grouping of characteristics unique to a geolocation address of a contact entity.

Target Classes (1)

Shape Properties

Instances of observable:ContactAddress can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:ContactAddress
observable:contactAddressScope 1 vocabulary:ContactAddressScopeVocab
observable:geolocationAddress 1 location:Location

Implementation

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

observable:ContactAddress a owl:Class,
        sh:NodeShape ;
    rdfs:label "ContactAddress"@en ;
    rdfs:comment "A contact address is a grouping of characteristics unique to a geolocation address of a contact entity."@en ;
    rdfs:subClassOf core:UcoInherentCharacterizationThing ;
    sh:property [ sh:class location:Location ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path observable:geolocationAddress ],
        [ sh:datatype vocabulary:ContactAddressScopeVocab ;
            sh:message "Value is outside the default vocabulary ContactAddressScopeVocab." ;
            sh:path observable:contactAddressScope ;
            sh:severity sh:Info ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:ContactAddressScopeVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:contactAddressScope ],
        [ sh:message "Value is not member of the vocabulary ContactAddressScopeVocab." ;
            sh:or ( [ sh:datatype vocabulary:ContactAddressScopeVocab ;
                        sh:in ( "home"^^vocabulary:ContactAddressScopeVocab "work"^^vocabulary:ContactAddressScopeVocab "school"^^vocabulary:ContactAddressScopeVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:contactAddressScope ] ;
    sh:targetClass observable:ContactAddress .