check coverage extended terms
authorTim L <lebot@rpi.edu>
Tue, 05 Jun 2012 13:11:49 -0400
changeset 3181 2f3e8cbb0f54
parent 3180 c2e66086e653
child 3182 0ec43542b4c9
check coverage extended terms
examples/eg-25-extended-crime-file-example/rdf/check-coverage.sh
examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl
examples/eg-25-extended-crime-file-example/rdf/extended-terms.txt
examples/eg-25-extended-crime-file-example/rdf/extended-terms.txt.prov.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-25-extended-crime-file-example/rdf/check-coverage.sh	Tue Jun 05 13:11:49 2012 -0400
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+for term in `cat extended-terms.txt`; do 
+   count=`grep $term *.ttl | wc -l`
+   echo $count $term
+done
--- a/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl	Tue Jun 05 12:59:11 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix sioc: <http://rdfs.org/sioc/ns#> .
-@prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix ex:   <http://example.org#> .
-
-ex:noteMadeByParser {
-
-   ex:noteMadeByParser 
-      a prov:Note;
-      prov:wasAttributedTo ex:boogleParser;
-   .
-   
-   ex:boogleParser 
-      a prov:SoftwareAgent;
-      prov:actedOnBehalfOf ex:boogle;
-   .
-
-   ex:boogle
-      a prov:Organization;
-   .
-   
-   ex:bundlePost2 
-      ex:parsedDate "2011-08-16T00:00:02Z"^^xsd:dateTime;
-   .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-terms.txt	Tue Jun 05 13:11:49 2012 -0400
@@ -0,0 +1,19 @@
+    prov:Bundle
+    prov:Location
+    prov:Organization
+    prov:Person
+    prov:SoftwareAgent
+    prov:alternateOf
+    prov:atLocation
+    prov:generated
+    prov:generatedAtTime
+    prov:hadOriginalSource
+    prov:invalidatedAtTime
+    prov:specializationOf
+    prov:tracedTo
+    prov:value
+    prov:wasEndedBy
+    prov:wasInvalidatedBy
+    prov:wasQuotedFrom
+    prov:wasRevisionOf
+    prov:wasStartedBy
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-25-extended-crime-file-example/rdf/extended-terms.txt.prov.ttl	Tue Jun 05 13:11:49 2012 -0400
@@ -0,0 +1,31 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+<http://aquarius.tw.rpi.edu/prov-wg/prov-o#prov-o-at-a-glance>
+   a prov:Entity, :WebPage;
+   dcterms:replaces <https://dvcs.w3.org/hg/prov/raw-file/default/ontology/Overview.html>;
+.
+
+<https://dvcs.w3.org/hg/prov/raw-file/default/ontology/Overview.html>
+   a prov:Entity, :WebPage;
+   dcterms:replaces <http://www.w3.org/TR/prov-o/>;
+.
+
+<extended-terms.txt>
+   a prov:Entity, :File;
+   prov:wasDerivedFrom <http://aquarius.tw.rpi.edu/prov-wg/prov-o#prov-o-at-a-glance>;
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent <http://tw.rpi.edu/instances/TimLebo>;
+      prov:hadPlan [
+         a prov:Plan;
+         dcterms:descrption "Copy and paste the expanded terms list from http://aquarius.tw.rpi.edu/prov-wg/prov-o#prov-o-at-a-glance into extended-terms.txt and put one per line.";
+      ];
+   ];
+.
+
+<http://tw.rpi.edu/instances/TimLebo> a prov:Person .