adding prov.owl aggregation results - and its provenance
authorTim L <lebot@rpi.edu>
Thu, 06 Oct 2011 09:07:28 -0400
changeset 556 0491e4906eec
parent 555 92ec2cbfc60b
child 557 3d6ec214ad01
adding prov.owl aggregation results - and its provenance
ontology/component-aggregations/aggregate.sh
ontology/component-aggregations/prov-variant-1.owl.prov.ttl
ontology/component-aggregations/prov.owl
ontology/component-aggregations/prov.owl.prov.ttl
--- a/ontology/component-aggregations/aggregate.sh	Thu Oct 06 09:04:38 2011 -0400
+++ b/ontology/component-aggregations/aggregate.sh	Thu Oct 06 09:07:28 2011 -0400
@@ -48,13 +48,13 @@
       echo "@prefix :     <#> ."                                                                        >> $aggregated.prov.ttl
       echo ""                                                                                           >> $aggregated.prov.ttl
       echo ":result"                                                                                    >> $aggregated.prov.ttl
-      echo "   a prov:Entity;"                                                                          >> $aggregated.prov.ttl
       echo "   nfo:fileURL <$aggregated>;"                                                              >> $aggregated.prov.ttl
       echo "   prov:wasDerivedFrom :input;"                                                             >> $aggregated.prov.ttl
+      echo "   a prov:Entity;"                                                                          >> $aggregated.prov.ttl
       echo "."                                                                                          >> $aggregated.prov.ttl
       echo ":input"                                                                                     >> $aggregated.prov.ttl
+      echo "   nfo:fileURL <$aggregation_url>;"                                                         >> $aggregated.prov.ttl
       echo "   a prov:Entity;"                                                                          >> $aggregated.prov.ttl
-      echo "   nfo:fileURL <$aggregation_url>;"                                                         >> $aggregated.prov.ttl
       echo "."                                                                                          >> $aggregated.prov.ttl
    fi
    rm -f $TEMP
--- a/ontology/component-aggregations/prov-variant-1.owl.prov.ttl	Thu Oct 06 09:04:38 2011 -0400
+++ b/ontology/component-aggregations/prov-variant-1.owl.prov.ttl	Thu Oct 06 09:07:28 2011 -0400
@@ -24,3 +24,29 @@
    a prov:Entity;
    nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov-variant-1.ttl>;
 .
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   a prov:Entity;
+   nfo:fileURL <prov-variant-1.owl>;
+   prov:wasDerivedFrom :input;
+.
+:input
+   a prov:Entity;
+   nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov-variant-1.ttl>;
+.
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   nfo:fileURL <prov-variant-1.owl>;
+   prov:wasDerivedFrom :input;
+   a prov:Entity;
+.
+:input
+   nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov-variant-1.ttl>;
+   a prov:Entity;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/component-aggregations/prov.owl	Thu Oct 06 09:07:28 2011 -0400
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <ns1:ObjectProperty xmlns:ns1="http://www.w3.org/2002/07/owl#" rdf:about="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#wasDerivedFrom">
+    <ns2:domain xmlns:ns2="http://www.w3.org/2000/01/rdf-schema#" rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#Entity"/>
+    <ns3:label xmlns:ns3="http://www.w3.org/2000/01/rdf-schema#">wasDerivedFrom</ns3:label>
+    <ns4:range xmlns:ns4="http://www.w3.org/2000/01/rdf-schema#" rdf:resource="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#Entity"/>
+  </ns1:ObjectProperty>
+</rdf:RDF>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/component-aggregations/prov.owl.prov.ttl	Thu Oct 06 09:07:28 2011 -0400
@@ -0,0 +1,52 @@
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   a prov:Entity;
+   nfo:fileURL <prov.owl>;
+   prov:wasDerivedFrom :input;
+.
+:input
+   a prov:Entity;
+   nfo:fileURL <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov.ttl>;
+.
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   a prov:Entity;
+   nfo:fileURL <prov.owl>;
+   prov:wasDerivedFrom :input;
+.
+:input
+   a prov:Entity;
+   nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov.ttl>;
+.
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   a prov:Entity;
+   nfo:fileURL <prov.owl>;
+   prov:wasDerivedFrom :input;
+.
+:input
+   a prov:Entity;
+   nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov.ttl>;
+.
+@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix :     <#> .
+
+:result
+   nfo:fileURL <prov.owl>;
+   prov:wasDerivedFrom :input;
+   a prov:Entity;
+.
+:input
+   nfo:fileURL <https://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov.ttl>;
+   a prov:Entity;
+.