--- a/examples/bin/ckan-metadata.sh Mon Mar 26 09:29:31 2012 -0400
+++ b/examples/bin/ckan-metadata.sh Mon Mar 26 10:03:29 2012 -0400
@@ -1,4 +1,21 @@
#!/bin/bash
+#
+# Prints metadata of the examples in this directory, for listing on CKAN.
+#
+# e.g., for file eg-11-w3c-publication/asn/convert/rdf/eg-11-w3c-publication.n3.ttl:
+#
+# <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>;
+# foaf:homepage <http://www.w3.org/2011/prov/wiki/Eg-11-w3c-publication>;
+# .
+#
+# Usage:
+# bin/ckan-metadata.sh > meta/w3c-provenance-working-group-prov-examples.void.ttl
BASE="http://dvcs.w3.org/hg/prov/file/tip/examples"
RAW="http://dvcs.w3.org/hg/prov/raw-file/tip/examples"