various comments from simon
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 06 Oct 2011 14:00:49 +0100
changeset 552 99576ec6cf64
parent 551 c8c4ba46830d (current diff)
parent 549 ecb890741234 (diff)
child 553 4305523cdc28
various comments from simon
--- a/ontology/component-aggregations/aggregate.sh	Thu Oct 06 14:00:07 2011 +0100
+++ b/ontology/component-aggregations/aggregate.sh	Thu Oct 06 14:00:49 2011 +0100
@@ -16,10 +16,21 @@
 
 base="http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations"
 
+if [ ! `which md5` ]; then
+   echo "need md5 to proceed"
+   exit 1
+fi
+
+if [ ! `which rapper` ]; then
+   echo "need rapper to proceed; install http://download.librdf.org/source/raptor2-1.9.1.tar.gz "
+   echo "see http://librdf.org/raptor/INSTALL.html "
+   exit 1
+fi
+
 rm -f "_"`basename $0`*.tmp
 TEMP="_"`basename $0``date +%s`_$$.tmp
 
-for aggregation_file in `find . -name "*.ttl" | grep -v ".prov.ttl" | sed 's/^\.\///'`; do
+for aggregation_file in `find . -name "*.ttl" | grep -v "\.prov.ttl" | sed 's/^\.\///'`; do
    aggregation_url="${base}/${aggregation_file}"
    echo "$aggregation_url"
    rm -f $TEMP
--- a/ontology/component-aggregations/prov-variant-1.owl.prov.ttl	Thu Oct 06 14:00:07 2011 +0100
+++ b/ontology/component-aggregations/prov-variant-1.owl.prov.ttl	Thu Oct 06 14:00:49 2011 +0100
@@ -11,3 +11,94 @@
    a prov:Entity;
    nfo:fileURL <http://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 <http://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 <http://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 <http://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 <http://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 <http://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 <http://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 <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/component-aggregations/prov-variant-1.ttl>;
+.