Account and Note examples
authordgarijo
Mon, 23 Apr 2012 21:10:48 +0200
changeset 2469 daba1d2f1875
parent 2468 7e99d1e2886d
child 2470 660834e8fa6f
Account and Note examples
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Account.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Note.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hasAnnotation.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Account.ttl	Mon Apr 23 17:33:33 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Account.ttl	Mon Apr 23 21:10:48 2012 +0200
@@ -4,4 +4,18 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# An account can be described in many ways. A possibility is a named graph:
+:acc23_04_2012_dereck{
+
+:acc23_04_2012_dereck a prov:Account.
+
+:entity1 a prov:Entity.
+
+:agent1 a prov:Agent.
+
+#Other provenance statements.
+
+}
+
+# Another possibility is by pointing to the container of the provenance triples:
+<http://www.example.com/provTriples.txt> a prov:Account.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Note.ttl	Mon Apr 23 17:33:33 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Note.ttl	Mon Apr 23 21:10:48 2012 +0200
@@ -4,4 +4,14 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:post112 
+	a prov:Entity;
+	prov:hasAnnotation :parserNote.
+	
+:parserNote{
+	:parserNote a prov:Note.
+	:post112 :parsedAt 2012-04-15T13:00:00-04:00"^^xsd:dateTime.
+	
+	#Other statements annotating the resource could be added here
+}
+	
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hasAnnotation.ttl	Mon Apr 23 17:33:33 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hasAnnotation.ttl	Mon Apr 23 21:10:48 2012 +0200
@@ -4,4 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:post112 
+	a prov:Entity;
+	prov:hasAnnotation :parserNote.
+	
+:parserNote{
+	:parserNote a prov:Note.
+	:post112 :parsedAt 2012-04-15T13:00:00-04:00"^^xsd:dateTime.
+	
+	#Other statements annotating the resource could be added here
+}