core:Relationship


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.

Superclasses (1)

Shapes (1)

Shape Properties

Instances of core:Relationship 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)

core:Relationship
core:endTime owl:DatatypeProperty The ending time of a time range.
0 *
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.
0 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.
0 *
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.
0 1
core:IdentityAbstraction
core:IdentityAbstraction
core:description owl:DatatypeProperty A description of a particular concept characterization.
0 *
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:ObjectProperty 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.
0 *
core:Facet
core:Facet
core:id owl:DatatypeProperty A globally unique identifier for a characterization of a concept.
0 1
types:Identifier
types:Identifier
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).
0 *
xsd:dateTime
xsd:dateTime
core:name owl:DatatypeProperty The name of a particular concept characterization.
0 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.
0 1
xsd:dateTime
xsd:dateTime
core:objectMarking owl:ObjectProperty Marking definitions to be applied to a particular concept characterization in its entirety.
0 *
core:MarkingDefinitionAbstraction
core:MarkingDefinitionAbstraction
core:specVersion owl:DatatypeProperty The version of UCO ontology or subontology specification used to characterize a concept.
0 1
xsd:string
xsd:string
core:tag owl:DatatypeProperty A generic tag/label.
0 *
xsd:string
xsd:string
core:type owl:DatatypeProperty The explicitly-defined type of characterization of a concept.
0 *
xsd:string
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 .