versioned_graph/commit

updated schema

authorJacco van Ossenbruggen
Tue Jun 17 19:19:51 2014 +0200
committerJacco van Ossenbruggen
Tue Jun 17 19:19:51 2014 +0200
commitce64ad636335ecf5e1708489ce636d3870e19503
treeb2557b2d8bc81aab3c05e0e1071263bcec758522
parent00d213152f05d1b3ff695ed7d97d11d57020a294
Diff style: patch stat
diff --git a/rdf/rdfgit.ttl b/rdf/rdfgit.ttl
index 34a3188..4d14052 100644
--- a/rdf/rdfgit.ttl
+++ b/rdf/rdfgit.ttl
@@ -3,22 +3,34 @@
 @prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix dc:	<http://purl.org/dc/terms/> .
 @prefix skos:   <http://www.w3.org/2004/02/skos/core#> .
-
+@prefix owl:    <http://www.w3.org/2002/07/owl#> .
 
 :VersionObject a rdfs:Class .
 
-:Commit a :VersionObject .
+:Commit rdfs:subClassOf :VersionObject .
+:Branch a rdfs:Class .
 
 :comment rdfs:subProperty rdfs:comment .
 
-:creator rdfs:subProperty dc:creator .
+:committer_url rdfs:subProperty dc:creator .
+:author_url rdfs:subProperty dc:creator .
+
+:committer_date    rdfs:subProperty dc:date .
+:author_date       rdfs:subProperty dc:date .
 
-:date    rdfs:subProperty dc:date .
+:committer_email a owl:ObjectProperty.
+:author_email a owl:ObjectProperty.
 
-:tree   a rdfs:Property ;
+:tree   a rdf:Property ;
 	rdfs:domain :Commit ;
 	rdfs:range  :Tree .
 
-:parent a rdfs:Property ;
+:parent a rdf:Property ;
 	rdfs:domain :Commit ;
 	rdfs:range  :Commit .
+
+:tip a rdf:Property ;
+        rdfs:domain :Branch ;
+        rdfs:range  :Commit .
+:branch a rdf:Property ;
+	rdfs:range :Branch .