core:UcoThing


URI

https://ontology.unifiedcyberontology.org/uco/core/UcoThing

Label

UcoThing

Description

UcoThing is the top-level class within UCO.

Usage

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

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#> .

core:UcoThing a owl:Class,
        sh:NodeShape ;
    rdfs:label "UcoThing"@en ;
    rdfs:comment "UcoThing is the top-level class within UCO."@en ;
    rdfs:seeAlso core:UcoThing-identifier-regex-shape ;
    rdfs:subClassOf owl:Thing ;
    sh:sparql [ a sh:SPARQLConstraint ;
            sh:message "UcoThings are required to not be blank nodes."@en ;
            sh:select """
			PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
			PREFIX core: <https://ontology.unifiedcyberontology.org/uco/core/>
			SELECT $this
			WHERE {
			        $this a/rdfs:subClassOf* core:UcoThing .
			        FILTER isBlank ($this)
			}
		""" ] ;
    sh:targetClass core:UcoThing .