core:Relationship leaf node


URI

https://unifiedcyberontology.org/ontology/uco/core#Relationship

Label

Relationship

Description

A relationship is a grouping of characteristics unique to an assertion that one or more objects are related to another object in some way.

Target Classes (1)

Shape Properties

Instances of core:Relationship can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

VALUE CONSTRAINTS

TYPE

core:Relationship
core:endTime 0 *
xsd:dateTime
core:isDirectional 1 1
xsd:boolean
core:kindOfRelationship 0 1
xsd:string
core:source 1 *
core:UcoObject
core:startTime 0 *
xsd:dateTime
core:target 1 1
core:UcoObject
core:UcoObject
core:createdBy 0 1
core:IdentityAbstraction
core:description 0 *
xsd:string
core:externalReference 0 *
core:ExternalReference
core:hasFacet 0 *
core:Facet
core:id 0 1
types:Identifier
core:modifiedTime 0 *
xsd:dateTime
core:name 0 1
xsd:string
core:objectCreatedTime 0 1
xsd:dateTime
core:objectMarking 0 *
core:MarkingDefinitionAbstraction
core:specVersion 0 1
xsd:string
core:tag 0 *
xsd:string
core:type 0 *
xsd:string

Implementation

@prefix core: <https://unifiedcyberontology.org/ontology/uco/core#> .
@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#> .

core:Relationship a owl:Class,
        sh:NodeShape ;
    rdfs:label "Relationship"@en ;
    rdfs:comment "A relationship is a grouping of characteristics unique to an assertion that one or more objects are related to another object in some way."@en ;
    rdfs:subClassOf core:UcoObject ;
    sh:property [ sh:class core:UcoObject ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:target ],
        [ sh:class core:UcoObject ;
            sh:minCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:source ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:isDirectional ],
        [ sh:datatype xsd:dateTime ;
            sh:nodeKind sh:Literal ;
            sh:path core:endTime ],
        [ sh:datatype xsd:dateTime ;
            sh:nodeKind sh:Literal ;
            sh:path core:startTime ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:kindOfRelationship ] ;
    sh:targetClass core:Relationship .