core:Relationship


URI

https://ontology.unifiedcyberontology.org/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.

Superclasses (2)

Target Classes (1)

Shape Properties

Instances of core:Relationship can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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

Implementation

@prefix core: <https://ontology.unifiedcyberontology.org/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:IRI ;
            sh:path core:target ],
        [ sh:class core:UcoObject ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            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 .