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)

Shapes (1)

Usage

Instances of core:Relationship can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class owl:Thing
types:threadNextItem owl:ObjectProperty The link to a next item in a thread. owl:Thing
types:threadPreviousItem owl:ObjectProperty A direct link to a previous item in a thread. owl:Thing

Property Shapes

By the associated SHACL property shapes, instances of core:Relationship can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

LOCAL RANGE
(type range for property on this class)

GLOBAL RANGE
(type range for property globally)

core:Relationship
core:endTime owl:DatatypeProperty The ending time of a time range.
xsd:dateTime
xsd:dateTime
core:isDirectional owl:DatatypeProperty A specification whether or not a relationship assertion is limited to the context FROM a source object(s) TO a target object.
1 1 xsd:boolean
xsd:boolean
core:kindOfRelationship owl:DatatypeProperty A characterization of the nature of a relationship between objects.
1 xsd:string
xsd:string
core:source owl:ObjectProperty The originating node of a specified relationship.
1 core:UcoObject
core:UcoObject
core:startTime owl:DatatypeProperty The initial time of a time range.
xsd:dateTime
xsd:dateTime
core:target owl:ObjectProperty The terminating node of a specified relationship.
1 1 core:UcoObject
core:UcoObject
core:UcoObject
core:createdBy owl:ObjectProperty The identity that created a characterization of a concept.
1 core:IdentityAbstraction
core:IdentityAbstraction
core:description owl:DatatypeProperty A description of a particular concept characterization.
xsd:string
xsd:string
core:externalReference owl:ObjectProperty Specifies a reference to a resource outside of the UCO.
0 core:ExternalReference
core:ExternalReference
core:hasFacet owl:InverseFunctionalProperty Further sets of properties characterizing a concept based on the particular context of the class and of the particular instance of the concept being characterized.
core:Facet
core:Facet
core:modifiedTime owl:DatatypeProperty Specifies the time that this particular version of the object was modified. The object creator can use the time it deems most appropriate as the time this version of the object was modified. The value of the modified property for a given object version MUST be later than or equal to the value of the created property. Object creators MUST update the modified property when creating a new version of an object. The modified timestamp MUST be precise to the nearest millisecond (exactly three digits after the decimal place in seconds).
xsd:dateTime
xsd:dateTime
core:name owl:DatatypeProperty The name of a particular concept characterization.
1 xsd:string
xsd:string
core:objectCreatedTime owl:DatatypeProperty The time at which a characterization of a concept is created. This time pertains to the time of creating the record object, and is not an intrinsic characteristic of the concept.
1 xsd:dateTime
xsd:dateTime
core:objectMarking owl:ObjectProperty Marking definitions to be applied to a particular concept characterization in its entirety.
core:MarkingDefinitionAbstraction
core:MarkingDefinitionAbstraction
core:specVersion owl:DatatypeProperty The version of UCO ontology or subontology specification used to characterize a concept.
1 xsd:string
xsd:string
core:tag owl:DatatypeProperty A generic tag/label.
xsd:string
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 .