updated ckan metadata
authorTim L <lebot@rpi.edu>
Tue, 06 Mar 2012 20:48:47 -0500
changeset 1790 f359c784d935
parent 1789 84a2079bdefc
child 1791 71221d60b8c1
updated ckan metadata
examples/bin/ckan-metadata.sh
examples/meta/w3c-provenance-working-group-prov-examples.void.ttl
--- a/examples/bin/ckan-metadata.sh	Tue Mar 06 20:41:16 2012 -0500
+++ b/examples/bin/ckan-metadata.sh	Tue Mar 06 20:48:47 2012 -0500
@@ -2,6 +2,7 @@
 
 BASE="http://dvcs.w3.org/hg/prov/file/tip/examples"
 RAW="http://dvcs.w3.org/hg/prov/raw-file/tip/examples"
+DATAHUB="http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples"
 
 echo "@prefix void:    <http://rdfs.org/ns/void#> ."
 echo "@prefix dcterms: <http://purl.org/dc/terms/> ."
@@ -14,6 +15,10 @@
    example="${example#./}"
    echo
    echo "# $example"
+   echo "<$DATAHUB>"
+   echo "   a dcat:Dataset;"
+   echo "   dcterms:hasPart <$BASE/$example> ."
+   echo
    echo "<$BASE/$example> a dcat:Dataset;"
    echo "   dcterms:title \"$example\";"
    if [ -e $example/document/homepage ]; then
@@ -30,6 +35,9 @@
    example="${example#./}"
    echo
    echo "# $example"
+   echo "<$DATAHUB>"
+   echo "   dcterms:hasPart <$BASE/$example> ."
+   echo
    echo "<$BASE/$example>"
    echo "   a dcat:Dataset, void:Dataset;"
    for dump in `find $example -name "*.rdf" -or -name "*.ttl" -or -name "*.nt" -or -name "*.trig"`; do
--- a/examples/meta/w3c-provenance-working-group-prov-examples.void.ttl	Tue Mar 06 20:41:16 2012 -0500
+++ b/examples/meta/w3c-provenance-working-group-prov-examples.void.ttl	Tue Mar 06 20:48:47 2012 -0500
@@ -6,12 +6,20 @@
 @prefix prov:    <http://www.w3.org/ns/prov#> .
 
 # eg-1-asn-stub
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-1-asn-stub> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-1-asn-stub> a dcat:Dataset;
    dcterms:title "eg-1-asn-stub";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-1-asn-stub>;
 .
 
 # eg-10-trust-agent-annotation
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-10-trust-agent-annotation> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-10-trust-agent-annotation> a dcat:Dataset;
    dcterms:title "eg-10-trust-agent-annotation";
    foaf:homepage <http://www.w3.org/2011/prov/track/issues/260>;
@@ -19,6 +27,10 @@
 .
 
 # eg-11-w3c-publication
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-11-w3c-publication> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-11-w3c-publication> a dcat:Dataset;
    dcterms:title "eg-11-w3c-publication";
    foaf:homepage <http://www.w3.org/mid/EMEW3|dfd9b4f11131321fb55e13247fb34d1ao1GCHn08L.Moreau|ecs.soton.ac.uk|4F3E4569.7000800@ecs.soton.ac.uk>;
@@ -26,6 +38,10 @@
 .
 
 # eg-12-pnnl-atmospheric-climate-science-data-node
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-12-pnnl-atmospheric-climate-science-data-node> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-12-pnnl-atmospheric-climate-science-data-node> a dcat:Dataset;
    dcterms:title "eg-12-pnnl-atmospheric-climate-science-data-node";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-12-pnnl-atmospheric-climate-science-data-node>;
@@ -33,6 +49,10 @@
 .
 
 # eg-13-unqualified-and-qualified-involvement
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-13-unqualified-and-qualified-involvement> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-13-unqualified-and-qualified-involvement> a dcat:Dataset;
    dcterms:title "eg-13-unqualified-and-qualified-involvement";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-13-unqualified-and-qualified-involvement>;
@@ -40,6 +60,10 @@
 .
 
 # eg-14-unqualified-and-qualified-times
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-14-unqualified-and-qualified-times> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-14-unqualified-and-qualified-times> a dcat:Dataset;
    dcterms:title "eg-14-unqualified-and-qualified-times";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-14-unqualified-and-qualified-times>;
@@ -47,6 +71,10 @@
 .
 
 # eg-15-crime-file
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-15-crime-file> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-15-crime-file> a dcat:Dataset;
    dcterms:title "eg-15-crime-file";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-15-crime-file>;
@@ -54,29 +82,49 @@
 .
 
 # eg-2-rdf-stub
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-2-rdf-stub> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-2-rdf-stub> a dcat:Dataset;
    dcterms:title "eg-2-rdf-stub";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-2-rdf-stub>;
 .
 
 # eg-3-xml-stub
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-3-xml-stub> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-3-xml-stub> a dcat:Dataset;
    dcterms:title "eg-3-xml-stub";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-3-xml-stub>;
 .
 
 # eg-4-json-stub
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-4-json-stub> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-4-json-stub> a dcat:Dataset;
    dcterms:title "eg-4-json-stub";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-4-json-stub>;
 .
 
 # eg-5-self-portrait
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-5-self-portrait> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-5-self-portrait> a dcat:Dataset;
    dcterms:title "eg-5-self-portrait";
 .
 
 # eg-6-pcurl-py
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-6-pcurl-py> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-6-pcurl-py> a dcat:Dataset;
    dcterms:title "eg-6-pcurl-py";
    foaf:homepage <https://github.com/timrdf/csv2rdf4lod-automation/wiki/Script:-pcurl.py>;
@@ -85,18 +133,30 @@
 .
 
 # eg-7-magetab2rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-7-magetab2rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-7-magetab2rdf> a dcat:Dataset;
    dcterms:title "eg-7-magetab2rdf";
    foaf:homepage <http://code.google.com/p/magetab2rdf/wiki/Mappings>;
 .
 
 # eg-8-datafaqs-faqt-brick
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-8-datafaqs-faqt-brick> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-8-datafaqs-faqt-brick> a dcat:Dataset;
    dcterms:title "eg-8-datafaqs-faqt-brick";
    foaf:homepage <https://github.com/timrdf/DataFAQs/wiki/FAqT-Brick>;
 .
 
 # eg-9-provrdf-owl-coverage
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   a dcat:Dataset;
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage> a dcat:Dataset;
    dcterms:title "eg-9-provrdf-owl-coverage";
    foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-9-provrdf-owl-coverage>;
@@ -104,12 +164,18 @@
 .
 
 # eg-10-trust-agent-annotation/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-10-trust-agent-annotation/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-10-trust-agent-annotation/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-10-trust-agent-annotation/rdf/eg-10-trust-agent-annotation-via-notes.ttl>;
 .
 
 # eg-11-w3c-publication/asn/convert/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-11-w3c-publication/asn/convert/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-11-w3c-publication/asn/convert/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-11-w3c-publication/asn/convert/rdf/eg-11-w3c-publication.n3.rdf>;
@@ -117,52 +183,79 @@
 .
 
 # eg-12-pnnl-atmospheric-climate-science-data-node/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-12-pnnl-atmospheric-climate-science-data-node/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-12-pnnl-atmospheric-climate-science-data-node/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-12-pnnl-atmospheric-climate-science-data-node/rdf/eg-12-pnnl-atmospheric-climate-science-data-node.ttl>;
 .
 
 # eg-13-unqualified-and-qualified-involvement/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-13-unqualified-and-qualified-involvement/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-13-unqualified-and-qualified-involvement/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-13-unqualified-and-qualified-involvement/rdf/eg-13-unqualified-and-qualified-involvement.ttl>;
 .
 
 # eg-14-unqualified-and-qualified-times/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-14-unqualified-and-qualified-times/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-14-unqualified-and-qualified-times/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-14-unqualified-and-qualified-times/rdf/eg-14-unqualified-and-qualified-times.ttl>;
 .
 
 # eg-2-rdf-stub/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-2-rdf-stub/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-2-rdf-stub/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-2-rdf-stub/rdf/eg-2-rdf-stub.ttl>;
 .
 
 # eg-6-pcurl-py/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-6-pcurl-py/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-6-pcurl-py/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-6-pcurl-py/rdf/Eg-6-pcurl-py.prov.ttl>;
 .
 
 # eg-7-magetab2rdf/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-7-magetab2rdf/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-7-magetab2rdf/rdf>
    a dcat:Dataset, void:Dataset;
 .
 
 # eg-8-datafaqs-faqt-brick/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-8-datafaqs-faqt-brick/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-8-datafaqs-faqt-brick/rdf>
    a dcat:Dataset, void:Dataset;
 .
 
 # eg-9-provrdf-owl-coverage/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-9-provrdf-owl-coverage/rdf/create/rdf/eg-9-provrdf-owl-coverage.html.ttl>;
 .
 
 # eg-9-provrdf-owl-coverage/rdf/create/rdf
+<http://thedatahub.org/dataset/w3c-provenance-working-group-prov-examples>
+   dcterms:hasPart <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage/rdf/create/rdf> .
+
 <http://dvcs.w3.org/hg/prov/file/tip/examples/eg-9-provrdf-owl-coverage/rdf/create/rdf>
    a dcat:Dataset, void:Dataset;
    void:dataDump <http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-9-provrdf-owl-coverage/rdf/create/rdf/eg-9-provrdf-owl-coverage.html.ttl>;