diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2019-06-09 21:29:58 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2019-09-10 00:22:57 +0200 |
commit | 396835861f562ab2a8f62b2761d0736e13473810 (patch) | |
tree | d43f837d345544d6f4e30cc9382a029940411ae2 /src/ontologies | |
parent | 2a013628112417f61be8d27d4c7796da9e3d12e4 (diff) | |
download | tracker-396835861f562ab2a8f62b2761d0736e13473810.tar.gz |
ontologies: Add ontology for rdf:List
This is a base feature of RDF used in Sparql collections. Add ontology
support for it.
Diffstat (limited to 'src/ontologies')
-rw-r--r-- | src/ontologies/11-rdf.ontology | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/ontologies/11-rdf.ontology b/src/ontologies/11-rdf.ontology index bdb6e1200..0277115e9 100644 --- a/src/ontologies/11-rdf.ontology +++ b/src/ontologies/11-rdf.ontology @@ -7,7 +7,7 @@ rdf: a tracker:Namespace, tracker:Ontology ; tracker:prefix "rdf" ; - nao:lastModified "2011-01-31T15:00:00Z" . + nao:lastModified "2019-06-09T21:00:00Z" . rdfs: a tracker:Namespace ; tracker:prefix "rdfs" . @@ -60,6 +60,27 @@ rdfs:range a rdf:Property ; rdfs:domain rdf:Property ; rdfs:range rdfs:Class . +rdf:List a rdfs:Class ; + rdfs:label "List" ; + rdfs:comment "The class of RDF Lists." ; + rdfs:subClassOf rdfs:Resource . + +rdf:nil a rdf:List ; + rdfs:label "nil" ; + rdfs:comment "The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it." . + +rdf:first a rdf:Property ; + rdfs:label "first" ; + rdfs:comment "The first item in the subject RDF list." ; + rdfs:domain rdf:List ; + rdfs:range rdfs:Resource . + +rdf:rest a rdf:Property ; + rdfs:label "rest" ; + rdfs:comment "The rest of the subject RDF list after the first item." ; + rdfs:domain rdf:List ; + rdfs:range rdf:List . + tracker: a tracker:Namespace ; tracker:prefix "tracker" . |