@prefix : .
@prefix owl: .
@prefix rdfs: .
@prefix xsd: .
@prefix ngsi-ld: .
@prefix rdf: .
@prefix dct: .
@prefix schema: .
@prefix foaf: .
@base .
a owl:Ontology ;
owl:versionIRI ;
dct:contributor [ schema:affiliation [ foaf:name "OGC"
] ;
foaf:name "Rob Atkinson"
] ,
[ schema:affiliation [ foaf:name "ICCS"
] ;
foaf:name "Ioanna Roussaki"
] ;
dct:creator [ schema:affiliation [ foaf:name "PSNC"
] ;
rdfs:seeAlso ;
foaf:name "Raul Palma"
] ;
dct:description "The DEMETER core ontology includes the meta-model elements reused from NGSI-LD specification that provide a formal basis for representing 'property graphs' using RDF/RDFS/OWL."@en ;
dct:rights "This vocabulary is distributed under Creative Commons Attribution 4.0 License - http://creativecommons.org/licenses/by/4.0"@en ;
dct:title "DEMETER core meta-model"@en ;
rdfs:comment "The DEMETER core ontology is a profile (subset) of the ontology presented in Annex D of the NGSI-LD standard: ETSI GS CIM 006 V1.1.1 (2019-07), covering only the core property-graph entities."@en ;
owl:versionInfo "1.0" ;
foaf:maker [ foaf:homepage ;
foaf:name "DEMETER project"
] .
#################################################################
# Annotation properties
#################################################################
#################################################################
# Datatypes
#################################################################
#################################################################
# Object Properties
#################################################################
### https://uri.etsi.org/ngsi-ld/Property
ngsi-ld:Property a owl:ObjectProperty ;
rdfs:range [
a owl:Class ;
owl:unionOf (
ngsi-ld:Property
ngsi-ld:Value
)
] .
### https://uri.etsi.org/ngsi-ld/Relationship
ngsi-ld:Relationship a owl:ObjectProperty ;
rdfs:domain ngsi-ld:Entity ;
rdfs:range [
a owl:Class ;
owl:unionOf (
ngsi-ld:Entity
ngsi-ld:Relationship
)
] .
### https://uri.etsi.org/ngsi-ld/hasObject
ngsi-ld:hasObject a owl:ObjectProperty ;
rdfs:comment "property to define object of Relationship" ;
rdfs:domain ngsi-ld:Relationship ;
rdfs:range ngsi-ld:Entity ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/GeoProperty
ngsi-ld:GeoProperty
a owl:ObjectProperty ;
rdfs:comment "special case of CoordinateBasedLocation object property" ;
rdfs:subPropertyOf ngsi-ld:CoordinateBasedLocation ; #rdfs:range ngsi-ld:Geometry
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/CoordinateBasedLocation
ngsi-ld:CoordinateBasedLocation
a owl:ObjectProperty ;
rdfs:comment "Coordinate based location object property" ;
rdfs:subPropertyOf ngsi-ld:LocationProperty ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/LocationProperty
ngsi-ld:LocationProperty
a owl:ObjectProperty ;
rdfs:comment "location object property" ;
rdfs:subPropertyOf ngsi-ld:Property ;
rdfs:isDefinedBy .
#################################################################
# Data properties
#################################################################
### https://uri.etsi.org/ngsi-ld/hasValue
ngsi-ld:hasValue
a owl:DatatypeProperty ;
rdfs:comment "property to define target value of Property" ;
rdfs:domain ngsi-ld:Property ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/TemporalProperty
ngsi-ld:TemporalProperty a owl:DatatypeProperty ;
rdfs:comment "Temporal data type property" ;
rdfs:isDefinedBy .
#################################################################
# Classes
#################################################################
### https://uri.etsi.org/ngsi-ld/Entity
ngsi-ld:Entity a owl:Class ;
rdfs:comment "Informational representative of something that is supposed to exist in the real world, physically or conceptually. Any instance of such an entity shall be uniquely identified by a URI" ;
owl:disjointWith ngsi-ld:Property ,
ngsi-ld:Relationship ,
ngsi-ld:Value ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/Property
ngsi-ld:Property a owl:Class ;
rdfs:comment "description instance which associates a main characteristic, which is an NGSI-LD Value, to either an NGSI-LD Entity, an NGSI-LD Relationship or another NGSI-LD Property" ;
owl:disjointWith ngsi-ld:Relationship ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/Relationship
ngsi-ld:Relationship a owl:Class ;
rdfs:comment "description of a directed link between a subject which is either an NGSI-LD Entity, an NGSILD Property, or another NGSI-LD Relationship on one hand, and an object, which is an NGSI-LD Entity, on the other hand" ;
owl:disjointWith ngsi-ld:Value ;
rdfs:isDefinedBy .
### https://uri.etsi.org/ngsi-ld/Value
ngsi-ld:Value a owl:Class ;
rdfs:comment "JSON value (i.e. a string, a number, true or false, an object, an array), or a JSON-LD typed value (i.e. a string as the lexical form of the value together with a type, defined by an XSD base type or more generally an IRI), or a JSON-LD structured value (i.e. a set, a list, a language-tagged string)" ;
rdfs:isDefinedBy .
### Did not include ngsi-ld:Geometry class on purpose, but left the explanation why
### ngsi-ld:Geometry is subclassof ngsi-ld:Value, which is disjoint with ngsi-ld:Entity.
### However geo:Geometry has to be an ngsi-ld:Entity, as it is "may exist as a self-contained entity"
### and is subclass of geo:SpatialObject (an ngsi-ld:Entity), defined as "Anything spatial (being or having a shape, position or an extent)"
### geo:SpatialObject is also parent of geo:Feature (disjoint of geo:Geometry)
### so geo:Geometry cannot be subclass of ngsi-ld:Geometry because it will say that ngsi-ld:Value is subclass of the disjoint ngsi-ld:Entity
### https://uri.etsi.org/ngsi-ld/v1/ontology#Geometry
#ngsi-ld:Geometry
# a owl:Class ;
# rdfs:subClassOf ngsi-ld:Value .
#################################################################
# Alignments
#################################################################
#################################################################
# Individuals
#################################################################