provo releases/CR-prov-o-20121211
authorTim L <lebot@rpi.edu>
Tue, 20 Nov 2012 10:04:30 -0500
changeset 4854 781c3dac807e
parent 4851 abf98a6ffec9
child 4855 e9fa4ea4c4e5
provo releases/CR-prov-o-20121211
ontology/bin/stage-owl.sh
ontology/releases/CR-prov-o-20121211/prov-o-20121211.owl
ontology/releases/CR-prov-o-20121211/prov-o-20121211.ttl
ontology/releases/CR-prov-o-20121211/prov-o.owl
ontology/releases/CR-prov-o-20121211/prov-o.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/bin/stage-owl.sh	Tue Nov 20 10:04:30 2012 -0500
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
+#3> <>
+#3> a prov:Plan;
+#3> rdfs:seeAlso <http://www.w3.org/2011/prov/wiki/PIL_OWL_Ontology#Steps_taken_for_CR>;
+#3> prov:wasAttributedTo <http://tw.rpi.edu/instances/TimLebo> .
+
+#   ~ ~ ~ ~ ~ ~~ 
+# MANUAL STEP: edit MMDD in ProvenanceOntology.owl on local copy.
+# MANUAL STEP: hg push ProvenanceOntology.owl
+# MANUAL STEP: rerun ./prepare on aquarius to generate:
+#   http://aquarius.tw.rpi.edu/prov-wg/inverses.ttl
+#   (b/c it uses http://dvcs.w3.org/hg/prov/file/tip/ontology/ProvenanceOntology.owl)
+#   ~ ~ ~ ~ ~ ~~ 
+
+# The previous publish date, so we can refer back to it as a previous version.
+pYYYY=2012
+pMM=07
+pDD=24
+
+# The current publish date.
+TYPE='CR'
+YYYY=2012
+MM=12    # Be sure to set these within ProvenanceOntology.owl, too...
+DD=11    # Be sure to set these within ProvenanceOntology.owl, too...
+
+if [ ! -e releases/$TYPE-prov-o-$YYYY$MM$DD ]; then
+   mkdir -p releases/$TYPE-prov-o-$YYYY$MM$DD
+fi
+
+#
+# prov
+#
+cp ProvenanceOntology.owl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o.owl
+cp ProvenanceOntology.owl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-$YYYY$MM$DD.owl
+
+rapper -q -g -o turtle ProvenanceOntology.owl > prov-o.ttl
+
+cp prov-o.ttl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o.ttl
+cp prov-o.ttl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-$YYYY$MM$DD.ttl
+
+#
+# inverses
+#
+versionIRI='prov-o-inverses-2012MMDD' # These two are hard-coded into http://aquarius.tw.rpi.edu/prov-wg/inverses.ttl
+previous='prov-o-inverses-2012mmdd'
+curl -s http://aquarius.tw.rpi.edu/prov-wg/inverses.ttl | sed "s/$versionIRI/prov-o-inverses-$YYYY$MM$DD/g" | sed "s/$previous/prov-o-inverses-$pYYYY$pMM$pDD/g" > components/inverses.ttl
+cp components/inverses.ttl components/inverses-$YYYY$MM$DD.ttl
+cp components/inverses.ttl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses.ttl
+rapper -q -g -o rdfxml-abbrev components/inverses.ttl > releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses.owl
+cp releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses.owl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses-$YYYY$MM$DD.owl
+cp releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses.ttl releases/$TYPE-prov-o-$YYYY$MM$DD/prov-o-inverses-$YYYY$MM$DD.ttl
+
+echo releases/$TYPE-prov-o-$YYYY$MM$DD
+ls -l releases/$TYPE-prov-o-$YYYY$MM$DD
+
+echo hg add releases/$TYPE-prov-o-$YYYY$MM$DD
+echo hg commit -m \"provo releases/$TYPE-prov-o-$YYYY$MM$DD\"
+echo hg push 
--- a/ontology/releases/CR-prov-o-20121211/prov-o-20121211.owl	Tue Nov 20 10:01:56 2012 -0500
+++ b/ontology/releases/CR-prov-o-20121211/prov-o-20121211.owl	Tue Nov 20 10:04:30 2012 -0500
@@ -20,8 +20,9 @@
         <rdfs:comment xml:lang="en">This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). 
 
 If you wish to make comments regarding this document, please send them to [email protected] (subscribe [email protected], archives http://lists.w3.org/Archives/Public/public-prov-comments/). All feedback is welcome.</rdfs:comment>
-        <wasRevisionOf  rdf:resource="http://www.w3.org/ns/prov-o-20120724.owl"/>
-        <owl:versionIRI rdf:resource="http://www.w3.org/ns/prov-o-20121211.owl"/>
+        <owl:versionIRI   rdf:resource="http://www.w3.org/ns/prov-o-20121211.owl"/>
+        <wasRevisionOf    rdf:resource="http://www.w3.org/ns/prov-o-20120724.owl"/>
+        <specializationOf rdf:resource="http://www.w3.org/ns/prov-o.owl"/>
         <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/prov#"/>
         <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/prov-o/"/>
     </owl:Ontology>
--- a/ontology/releases/CR-prov-o-20121211/prov-o-20121211.ttl	Tue Nov 20 10:01:56 2012 -0500
+++ b/ontology/releases/CR-prov-o-20121211/prov-o-20121211.ttl	Tue Nov 20 10:04:30 2012 -0500
@@ -35,6 +35,7 @@
     rdfs:label "PROV-O"@en ;
     rdfs:seeAlso <http://www.w3.org/TR/prov#>, <http://www.w3.org/TR/prov-o/> ;
     owl:versionIRI <http://www.w3.org/ns/prov-o-20121211.owl> ;
+    :specializationOf <http://www.w3.org/ns/prov-o.owl> ;
     :wasRevisionOf <http://www.w3.org/ns/prov-o-20120724.owl> .
 
 :Activity
--- a/ontology/releases/CR-prov-o-20121211/prov-o.owl	Tue Nov 20 10:01:56 2012 -0500
+++ b/ontology/releases/CR-prov-o-20121211/prov-o.owl	Tue Nov 20 10:04:30 2012 -0500
@@ -20,8 +20,9 @@
         <rdfs:comment xml:lang="en">This document is published by the Provenance Working Group (http://www.w3.org/2011/prov/wiki/Main_Page). 
 
 If you wish to make comments regarding this document, please send them to [email protected] (subscribe [email protected], archives http://lists.w3.org/Archives/Public/public-prov-comments/). All feedback is welcome.</rdfs:comment>
-        <wasRevisionOf  rdf:resource="http://www.w3.org/ns/prov-o-20120724.owl"/>
-        <owl:versionIRI rdf:resource="http://www.w3.org/ns/prov-o-20121211.owl"/>
+        <owl:versionIRI   rdf:resource="http://www.w3.org/ns/prov-o-20121211.owl"/>
+        <wasRevisionOf    rdf:resource="http://www.w3.org/ns/prov-o-20120724.owl"/>
+        <specializationOf rdf:resource="http://www.w3.org/ns/prov-o.owl"/>
         <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/prov#"/>
         <rdfs:seeAlso rdf:resource="http://www.w3.org/TR/prov-o/"/>
     </owl:Ontology>
--- a/ontology/releases/CR-prov-o-20121211/prov-o.ttl	Tue Nov 20 10:01:56 2012 -0500
+++ b/ontology/releases/CR-prov-o-20121211/prov-o.ttl	Tue Nov 20 10:04:30 2012 -0500
@@ -35,6 +35,7 @@
     rdfs:label "PROV-O"@en ;
     rdfs:seeAlso <http://www.w3.org/TR/prov#>, <http://www.w3.org/TR/prov-o/> ;
     owl:versionIRI <http://www.w3.org/ns/prov-o-20121211.owl> ;
+    :specializationOf <http://www.w3.org/ns/prov-o.owl> ;
     :wasRevisionOf <http://www.w3.org/ns/prov-o-20120724.owl> .
 
 :Activity