Location and atLocation examples
authordgarijo
Mon, 23 Apr 2012 17:27:42 +0200
changeset 2455 ac42ae7be25c
parent 2452 9bb855cca480
child 2456 a45f552f7d00
Location and atLocation examples
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Location.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Location.ttl	Mon Apr 23 17:20:21 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Location.ttl	Mon Apr 23 17:27:42 2012 +0200
@@ -2,6 +2,22 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+#A Location can be a path or a geographical location.
+:post9821 
+      a prov:Entity, sioc:Post;   
+      prov:wasGeneratedBy :publicationActivity1123;
+      prov:atLocation     :more-crime-happens-in-cities;
+      prov:qualifiedGeneration [
+         a prov:Generation;
+         prov:activity    :publicationActivity1123;
+         prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+         prov:atLocation <http://dbpedia.org/resource/Madrid>;
+      ];
+   .
+:publicationActivity1123 a prov:Activity.
+:more-crime-happens-in-cities a prov:Location.
+<http://dbpedia.org/resource/Madrid> a prov:Location.
+  
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl	Mon Apr 23 17:20:21 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl	Mon Apr 23 17:27:42 2012 +0200
@@ -2,6 +2,21 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+#A Location can be a path or a geographical location.
+:post9821 
+      a prov:Entity, sioc:Post;   
+      prov:wasGeneratedBy :publicationActivity1123;
+      prov:atLocation     :more-crime-happens-in-cities;
+      prov:qualifiedGeneration [
+         a prov:Generation;
+         prov:activity    :publicationActivity1123;
+         prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+         prov:atLocation <http://dbpedia.org/resource/Madrid>;
+      ];
+   .
+:publicationActivity1123 a prov:Activity.
+:more-crime-happens-in-cities a prov:Location.
+<http://dbpedia.org/resource/Madrid> a prov:Location.