[tracker/wip/carlosg/sparql1.1: 108/201] ontologies: Add ontology for rdf:List



commit 396835861f562ab2a8f62b2761d0736e13473810
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jun 9 21:29:58 2019 +0200

    ontologies: Add ontology for rdf:List
    
    This is a base feature of RDF used in Sparql collections. Add ontology
    support for it.

 src/ontologies/11-rdf.ontology | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
---
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" .
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]