naming Generation and Use with URIs example
authorTim L <lebot@rpi.edu>
Tue, 22 Nov 2011 09:17:50 -0500
changeset 1007 927d142a0f48
parent 1006 470c35cef174
child 1008 ae888d256478
naming Generation and Use with URIs example
ontology/components/wasDerivedFrom/public-prov-wg-2011Nov-0123.ttl
ontology/components/wasRevisionOf/prov-dm-wasRevisionOf.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/components/wasDerivedFrom/public-prov-wg-2011Nov-0123.ttl	Tue Nov 22 09:17:50 2011 -0500
@@ -0,0 +1,53 @@
+@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix time:    <http://www.w3.org/2006/time#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix skos:    <http://www.w3.org/2008/05/skos#> .
+@prefix prov:    <http://www.w3.org/ns/prov-o/> .
+@prefix ex:      <#> .
+@prefix :        <#> .
+
+:e4
+   rdfs:seeAlso <http://www.w3.org/mid/EMEW3|ae45584de2489ef1aa3423a2a37b5bf7nA6MsU08L.Moreau|ecs.soton.ac.uk|4EB8618A.2020508@ecs.soton.ac.uk>;
+   dcterms:description "wasDerivedFrom(e4,e2,pe2,qualifier(ex:port=smtp, ex:section='attachment'),qualifier(ex:fct='attach'))";
+  
+   prov:wasDerivedFrom :e2; 
+   a prov:Entity;
+   prov:wasGeneratedBy :pe2;
+.
+:pe2
+   a prov:ProcessExecution;
+   prov:generated :e4;
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      ex:port    "smtp";
+      ex:section "attachment";
+      rdfs:comment "This bnode is the same as :gen";
+   ];
+   prov:used :e2;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      ex:fct "attach";
+      rdfs:comment "This bnode is the same as :usage";
+   ];
+. 
+
+# The PROV-O below is equivalent to the :pe2 above, but names the Generation and Usage with URIs.
+:pe2
+   a prov:ProcessExecution;
+   prov:generated :e4;
+   prov:qualifiedGeneration :gen;
+   prov:used :e2;
+   prov:qualifiedUsage :usage;
+.
+:gen
+   a prov:Generation;
+   ex:port    "smtp";
+   ex:section "attachment";
+.
+:usage
+   a prov:Usage;
+   ex:fct "attach";
+.
--- a/ontology/components/wasRevisionOf/prov-dm-wasRevisionOf.ttl	Tue Nov 22 09:01:06 2011 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix owl:  <http://www.w3.org/2002/07/owl#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@prefix time: <http://www.w3.org/2006/time#> .
-@prefix dcterms: <http://purl.org/dc/terms/> .
-@prefix prov: <http://www.w3.org/ns/prov-o/> .
-@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
-@prefix app: <http://www.w3.org/TR/2011/WD-prov-dm-20111018/app#> .
-@prefix :    <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#> .
-
-:e3
-   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-Revision>;
-   dcterms:description "wasRevisionOf(e3,e2,a4)";
-   a prov:Entity;
-   prov:wasRevisionOf :e2;
-.
-:e2
-   a prov:Entity;
-.
-:a4
-   a prov:Agent;
-.