Added test cases from PROV-O examples
authorTrung Dong Huynh <tdh@ecs.soton.ac.uk>
Wed, 28 Nov 2012 13:01:21 +0000
changeset 5182 1f1ba486b4e5
parent 5181 1ebd4dd6f376
child 5183 c2b439d5bde4
Added test cases from PROV-O examples
testcases/prov-dm/prov-dm-ex18_acivity-PASS.provn
testcases/prov-dm/prov-dm-ex18_acivity-PASS.provx
testcases/prov-dm/prov-dm-ex18_acivity-PASS.ttl
testcases/prov-dm/prov-dm-ex18_activity-PASS.provn
testcases/prov-dm/prov-dm-ex18_activity-PASS.provx
testcases/prov-dm/prov-dm-ex18_activity-PASS.ttl
testcases/provo/prov-o-class-Activity-PASS.provn
testcases/provo/prov-o-class-Activity-PASS.provx
testcases/provo/prov-o-class-Activity-PASS.ttl
testcases/provo/prov-o-class-ActivityInfluence-PASS.provn
testcases/provo/prov-o-class-ActivityInfluence-PASS.provx
testcases/provo/prov-o-class-ActivityInfluence-PASS.ttl
testcases/provo/prov-o-class-Agent-PASS.provn
testcases/provo/prov-o-class-Agent-PASS.provx
testcases/provo/prov-o-class-Agent-PASS.ttl
testcases/provo/prov-o-class-AgentInfluence-PASS.provn
testcases/provo/prov-o-class-AgentInfluence-PASS.provx
testcases/provo/prov-o-class-AgentInfluence-PASS.ttl
testcases/provo/prov-o-class-Association-PASS.provn
testcases/provo/prov-o-class-Association-PASS.provx
testcases/provo/prov-o-class-Association-PASS.ttl
testcases/provo/prov-o-class-Attribution-PASS.provn
testcases/provo/prov-o-class-Attribution-PASS.provx
testcases/provo/prov-o-class-Attribution-PASS.ttl
testcases/provo/prov-o-class-Bundle-PASS.provn
testcases/provo/prov-o-class-Bundle-PASS.provx
testcases/provo/prov-o-class-Bundle-PASS.ttl
testcases/provo/prov-o-class-Collection-PASS.ttl
testcases/provo/prov-o-class-Communication-PASS.provn
testcases/provo/prov-o-class-Communication-PASS.provx
testcases/provo/prov-o-class-Communication-PASS.ttl
testcases/provo/prov-o-class-Delegation-PASS.provn
testcases/provo/prov-o-class-Delegation-PASS.provx
testcases/provo/prov-o-class-Delegation-PASS.ttl
testcases/provo/prov-o-class-Derivation-PASS.provn
testcases/provo/prov-o-class-Derivation-PASS.provx
testcases/provo/prov-o-class-Derivation-PASS.ttl
testcases/provo/prov-o-class-EmptyCollection-PASS.provn
testcases/provo/prov-o-class-EmptyCollection-PASS.provx
testcases/provo/prov-o-class-EmptyCollection-PASS.ttl
testcases/provo/prov-o-class-End-PASS.ttl
testcases/provo/prov-o-class-Entity-PASS.provn
testcases/provo/prov-o-class-Entity-PASS.provx
testcases/provo/prov-o-class-Entity-PASS.ttl
testcases/provo/prov-o-class-EntityInfluence-PASS.provn
testcases/provo/prov-o-class-EntityInfluence-PASS.provx
testcases/provo/prov-o-class-EntityInfluence-PASS.ttl
testcases/provo/prov-o-class-Generation-PASS.provn
testcases/provo/prov-o-class-Generation-PASS.provx
testcases/provo/prov-o-class-Generation-PASS.ttl
testcases/provo/prov-o-class-Influence-PASS.provn
testcases/provo/prov-o-class-Influence-PASS.provx
testcases/provo/prov-o-class-Influence-PASS.ttl
testcases/provo/prov-o-class-InstantaneousEvent-PASS.provn
testcases/provo/prov-o-class-InstantaneousEvent-PASS.provx
testcases/provo/prov-o-class-InstantaneousEvent-PASS.ttl
testcases/provo/prov-o-class-Invalidation-PASS.ttl
testcases/provo/prov-o-class-Location-PASS.provn
testcases/provo/prov-o-class-Location-PASS.provx
testcases/provo/prov-o-class-Location-PASS.ttl
testcases/provo/prov-o-class-Organization-PASS.provn
testcases/provo/prov-o-class-Organization-PASS.provx
testcases/provo/prov-o-class-Organization-PASS.ttl
testcases/provo/prov-o-class-Person-PASS.provn
testcases/provo/prov-o-class-Person-PASS.provx
testcases/provo/prov-o-class-Person-PASS.ttl
testcases/provo/prov-o-class-Plan-PASS.provn
testcases/provo/prov-o-class-Plan-PASS.provx
testcases/provo/prov-o-class-Plan-PASS.ttl
testcases/provo/prov-o-class-PrimarySource-PASS.ttl
testcases/provo/prov-o-class-Quotation-PASS.ttl
testcases/provo/prov-o-class-Revision-PASS.ttl
testcases/provo/prov-o-class-Role-PASS.provn
testcases/provo/prov-o-class-Role-PASS.provx
testcases/provo/prov-o-class-Role-PASS.ttl
testcases/provo/prov-o-class-SoftwareAgent-PASS.provn
testcases/provo/prov-o-class-SoftwareAgent-PASS.provx
testcases/provo/prov-o-class-SoftwareAgent-PASS.ttl
testcases/provo/prov-o-class-Start-PASS.provn
testcases/provo/prov-o-class-Start-PASS.provx
testcases/provo/prov-o-class-Start-PASS.ttl
testcases/provo/prov-o-class-Usage-PASS.provn
testcases/provo/prov-o-class-Usage-PASS.provx
testcases/provo/prov-o-class-Usage-PASS.ttl
testcases/provo/prov-o-property-actedOnBehalfOf-PASS.provn
testcases/provo/prov-o-property-actedOnBehalfOf-PASS.provx
testcases/provo/prov-o-property-actedOnBehalfOf-PASS.ttl
testcases/provo/prov-o-property-activity-PASS.provn
testcases/provo/prov-o-property-activity-PASS.provx
testcases/provo/prov-o-property-activity-PASS.ttl
testcases/provo/prov-o-property-agent-PASS.provn
testcases/provo/prov-o-property-agent-PASS.provx
testcases/provo/prov-o-property-agent-PASS.ttl
testcases/provo/prov-o-property-alternateOf-PASS.provn
testcases/provo/prov-o-property-alternateOf-PASS.provx
testcases/provo/prov-o-property-alternateOf-PASS.ttl
testcases/provo/prov-o-property-asInBundle-PASS.ttl
testcases/provo/prov-o-property-atLocation-PASS.provn
testcases/provo/prov-o-property-atLocation-PASS.provx
testcases/provo/prov-o-property-atLocation-PASS.ttl
testcases/provo/prov-o-property-atTime-PASS.provn
testcases/provo/prov-o-property-atTime-PASS.provx
testcases/provo/prov-o-property-atTime-PASS.ttl
testcases/provo/prov-o-property-endedAtTime-PASS.provn
testcases/provo/prov-o-property-endedAtTime-PASS.provx
testcases/provo/prov-o-property-endedAtTime-PASS.ttl
testcases/provo/prov-o-property-entity-PASS.ttl
testcases/provo/prov-o-property-generated-PASS.provn
testcases/provo/prov-o-property-generated-PASS.provx
testcases/provo/prov-o-property-generated-PASS.ttl
testcases/provo/prov-o-property-generatedAtTime-PASS.provn
testcases/provo/prov-o-property-generatedAtTime-PASS.provx
testcases/provo/prov-o-property-generatedAtTime-PASS.ttl
testcases/provo/prov-o-property-hadActivity-PASS.provn
testcases/provo/prov-o-property-hadActivity-PASS.provx
testcases/provo/prov-o-property-hadActivity-PASS.ttl
testcases/provo/prov-o-property-hadGeneration-PASS.provn
testcases/provo/prov-o-property-hadGeneration-PASS.provx
testcases/provo/prov-o-property-hadGeneration-PASS.ttl
testcases/provo/prov-o-property-hadMember-PASS.ttl
testcases/provo/prov-o-property-hadPlan-PASS.provn
testcases/provo/prov-o-property-hadPlan-PASS.provx
testcases/provo/prov-o-property-hadPlan-PASS.ttl
testcases/provo/prov-o-property-hadPrimarySource-PASS.provn
testcases/provo/prov-o-property-hadPrimarySource-PASS.provx
testcases/provo/prov-o-property-hadPrimarySource-PASS.ttl
testcases/provo/prov-o-property-hadQuoted-PASS.ttl
testcases/provo/prov-o-property-hadQuoter-PASS.ttl
testcases/provo/prov-o-property-hadRole-PASS.provn
testcases/provo/prov-o-property-hadRole-PASS.provx
testcases/provo/prov-o-property-hadRole-PASS.ttl
testcases/provo/prov-o-property-hadUsage-PASS.provn
testcases/provo/prov-o-property-hadUsage-PASS.provx
testcases/provo/prov-o-property-hadUsage-PASS.ttl
testcases/provo/prov-o-property-hasAnchor-PASS.provn
testcases/provo/prov-o-property-hasAnchor-PASS.provx
testcases/provo/prov-o-property-hasAnchor-PASS.ttl
testcases/provo/prov-o-property-influenced-PASS.provn
testcases/provo/prov-o-property-influenced-PASS.provx
testcases/provo/prov-o-property-influenced-PASS.ttl
testcases/provo/prov-o-property-influencer-PASS.provn
testcases/provo/prov-o-property-influencer-PASS.provx
testcases/provo/prov-o-property-influencer-PASS.ttl
testcases/provo/prov-o-property-invalidated-PASS.provn
testcases/provo/prov-o-property-invalidated-PASS.provx
testcases/provo/prov-o-property-invalidated-PASS.ttl
testcases/provo/prov-o-property-invalidatedAtTime-PASS.provn
testcases/provo/prov-o-property-invalidatedAtTime-PASS.provx
testcases/provo/prov-o-property-invalidatedAtTime-PASS.ttl
testcases/provo/prov-o-property-mentionOf-PASS.ttl
testcases/provo/prov-o-property-qualifiedAssociation-PASS.provn
testcases/provo/prov-o-property-qualifiedAssociation-PASS.provx
testcases/provo/prov-o-property-qualifiedAssociation-PASS.ttl
testcases/provo/prov-o-property-qualifiedAttribution-PASS.provn
testcases/provo/prov-o-property-qualifiedAttribution-PASS.provx
testcases/provo/prov-o-property-qualifiedAttribution-PASS.ttl
testcases/provo/prov-o-property-qualifiedCommunication-PASS.provn
testcases/provo/prov-o-property-qualifiedCommunication-PASS.provx
testcases/provo/prov-o-property-qualifiedCommunication-PASS.ttl
testcases/provo/prov-o-property-qualifiedDelegation-PASS.ttl
testcases/provo/prov-o-property-qualifiedDerivation-PASS.provn
testcases/provo/prov-o-property-qualifiedDerivation-PASS.provx
testcases/provo/prov-o-property-qualifiedDerivation-PASS.ttl
testcases/provo/prov-o-property-qualifiedEnd-PASS.ttl
testcases/provo/prov-o-property-qualifiedGeneration-PASS.provn
testcases/provo/prov-o-property-qualifiedGeneration-PASS.provx
testcases/provo/prov-o-property-qualifiedGeneration-PASS.ttl
testcases/provo/prov-o-property-qualifiedInfluence-PASS.provn
testcases/provo/prov-o-property-qualifiedInfluence-PASS.provx
testcases/provo/prov-o-property-qualifiedInfluence-PASS.ttl
testcases/provo/prov-o-property-qualifiedInvalidation-PASS.provn
testcases/provo/prov-o-property-qualifiedInvalidation-PASS.provx
testcases/provo/prov-o-property-qualifiedInvalidation-PASS.ttl
testcases/provo/prov-o-property-qualifiedPrimarySource-PASS.ttl
testcases/provo/prov-o-property-qualifiedQuotation-PASS.ttl
testcases/provo/prov-o-property-qualifiedRevision-PASS.ttl
testcases/provo/prov-o-property-qualifiedStart-PASS.provn
testcases/provo/prov-o-property-qualifiedStart-PASS.provx
testcases/provo/prov-o-property-qualifiedStart-PASS.ttl
testcases/provo/prov-o-property-qualifiedUsage-PASS.provn
testcases/provo/prov-o-property-qualifiedUsage-PASS.provx
testcases/provo/prov-o-property-qualifiedUsage-PASS.ttl
testcases/provo/prov-o-property-removed-PASS.provn
testcases/provo/prov-o-property-removed-PASS.provx
testcases/provo/prov-o-property-removed-PASS.ttl
testcases/provo/prov-o-property-specializationOf-PASS.provn
testcases/provo/prov-o-property-specializationOf-PASS.provx
testcases/provo/prov-o-property-specializationOf-PASS.ttl
testcases/provo/prov-o-property-startedAtTime-PASS.provn
testcases/provo/prov-o-property-startedAtTime-PASS.provx
testcases/provo/prov-o-property-startedAtTime-PASS.ttl
testcases/provo/prov-o-property-used-PASS.provn
testcases/provo/prov-o-property-used-PASS.provx
testcases/provo/prov-o-property-used-PASS.ttl
testcases/provo/prov-o-property-wasAssociatedWith-PASS.provn
testcases/provo/prov-o-property-wasAssociatedWith-PASS.provx
testcases/provo/prov-o-property-wasAssociatedWith-PASS.ttl
testcases/provo/prov-o-property-wasAttributedTo-PASS.provn
testcases/provo/prov-o-property-wasAttributedTo-PASS.provx
testcases/provo/prov-o-property-wasAttributedTo-PASS.ttl
testcases/provo/prov-o-property-wasDerivedFrom-PASS.provn
testcases/provo/prov-o-property-wasDerivedFrom-PASS.provx
testcases/provo/prov-o-property-wasDerivedFrom-PASS.ttl
testcases/provo/prov-o-property-wasEndedBy-PASS.provn
testcases/provo/prov-o-property-wasEndedBy-PASS.provx
testcases/provo/prov-o-property-wasEndedBy-PASS.ttl
testcases/provo/prov-o-property-wasGeneratedBy-PASS.provn
testcases/provo/prov-o-property-wasGeneratedBy-PASS.provx
testcases/provo/prov-o-property-wasGeneratedBy-PASS.ttl
testcases/provo/prov-o-property-wasInfluencedBy-PASS.provn
testcases/provo/prov-o-property-wasInfluencedBy-PASS.provx
testcases/provo/prov-o-property-wasInfluencedBy-PASS.ttl
testcases/provo/prov-o-property-wasInformedBy-PASS.provn
testcases/provo/prov-o-property-wasInformedBy-PASS.provx
testcases/provo/prov-o-property-wasInformedBy-PASS.ttl
testcases/provo/prov-o-property-wasInvalidatedBy-PASS.provn
testcases/provo/prov-o-property-wasInvalidatedBy-PASS.provx
testcases/provo/prov-o-property-wasInvalidatedBy-PASS.ttl
testcases/provo/prov-o-property-wasQuotedFrom-PASS.provn
testcases/provo/prov-o-property-wasQuotedFrom-PASS.provx
testcases/provo/prov-o-property-wasQuotedFrom-PASS.ttl
testcases/provo/prov-o-property-wasRevisionOf-PASS.provn
testcases/provo/prov-o-property-wasRevisionOf-PASS.provx
testcases/provo/prov-o-property-wasRevisionOf-PASS.ttl
testcases/provo/prov-o-property-wasStartedBy-PASS.provn
testcases/provo/prov-o-property-wasStartedBy-PASS.provx
testcases/provo/prov-o-property-wasStartedBy-PASS.ttl
--- a/testcases/prov-dm/prov-dm-ex18_acivity-PASS.provn	Wed Nov 28 00:32:29 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-document
-
-default <http://www.example.org/>
-prefix ex <http://example.org/>
-
-// The following expression
-
-	activity(a1, 2011-11-16T16:05:00, 2011-11-16T16:06:00, [ ex:host="server.example.org", prov:type='ex:edit' ])
-
-// states the existence of an activity with identifier a1, start time 2011-11-16T16:05:00, and end time 2011-11-16T16:06:00, running 
-// on host server.example.org, and of type edit. The attribute host is application specific (declared in some namespace with prefix ex). 
-// The attribute type is a reserved attribute of PROV-DM, allowing for sub-typing to be expressed (see Section 5.7.4.4).
-
-
-endDocument
\ No newline at end of file
--- a/testcases/prov-dm/prov-dm-ex18_acivity-PASS.provx	Wed Nov 28 00:32:29 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
-    <prov:activity xmlns="http://www.example.org/" prov:id="a1">
-        <prov:startTime>2011-11-16T16:05:00.000Z</prov:startTime>
-        <prov:endTime>2011-11-16T16:06:00.000Z</prov:endTime>
-        <prov:type xmlns:ex="http://example.org/" xsi:type="xsd:QName">ex:edit</prov:type>
-        <ex:host xmlns:ex="http://example.org/" xsi:type="xsd:string">server.example.org</ex:host>
-    </prov:activity>
-</prov:document>
--- a/testcases/prov-dm/prov-dm-ex18_acivity-PASS.ttl	Wed Nov 28 00:32:29 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-@prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix prim: <http://openprovenance.org/primitives#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@prefix ns1: <http://www.example.org/> .
-@prefix ex: <http://example.org/> .
-@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
-@prefix pc1: <http://www.ipaw.info/pc1/> .
-
-
-ns1:a1 a prov:Activity ;
-	prov:startedAtTime "2011-11-16T16:05:00.000Z"^^xsd:dateTime ;
-	prov:endedAtTime "2011-11-16T16:06:00.000Z"^^xsd:dateTime ;
-	prov:type "ex:edit"^^xsd:QName ;
-	ex:host "server.example.org"^^xsd:string .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/prov-dm/prov-dm-ex18_activity-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+
+default <http://www.example.org/>
+prefix ex <http://example.org/>
+
+// The following expression
+
+	activity(a1, 2011-11-16T16:05:00, 2011-11-16T16:06:00, [ ex:host="server.example.org", prov:type='ex:edit' ])
+
+// states the existence of an activity with identifier a1, start time 2011-11-16T16:05:00, and end time 2011-11-16T16:06:00, running 
+// on host server.example.org, and of type edit. The attribute host is application specific (declared in some namespace with prefix ex). 
+// The attribute type is a reserved attribute of PROV-DM, allowing for sub-typing to be expressed (see Section 5.7.4.4).
+
+
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/prov-dm/prov-dm-ex18_activity-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://www.example.org/" prov:id="a1">
+        <prov:startTime>2011-11-16T16:05:00.000Z</prov:startTime>
+        <prov:endTime>2011-11-16T16:06:00.000Z</prov:endTime>
+        <prov:type xmlns:ex="http://example.org/" xsi:type="xsd:QName">ex:edit</prov:type>
+        <ex:host xmlns:ex="http://example.org/" xsi:type="xsd:string">server.example.org</ex:host>
+    </prov:activity>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/prov-dm/prov-dm-ex18_activity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix prim: <http://openprovenance.org/primitives#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix ns1: <http://www.example.org/> .
+@prefix ex: <http://example.org/> .
+@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
+@prefix pc1: <http://www.ipaw.info/pc1/> .
+
+
+ns1:a1 a prov:Activity ;
+	prov:startedAtTime "2011-11-16T16:05:00.000Z"^^xsd:dateTime ;
+	prov:endedAtTime "2011-11-16T16:06:00.000Z"^^xsd:dateTime ;
+	prov:type "ex:edit"^^xsd:QName ;
+	ex:host "server.example.org"^^xsd:string .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Activity-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(graduation,2012-04-15T13:00:00-04:00,2012-04-15T14:30:00-04:00,[prov:type='Graduation'])
+entity(doctor_smith)
+entity(ms_smith)
+used(graduation,ms_smith,-)
+wasGeneratedBy(doctor_smith,graduation,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Activity-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="graduation">
+        <prov:startTime>2012-04-15T13:00:00-04:00</prov:startTime>
+        <prov:endTime>2012-04-15T14:30:00-04:00</prov:endTime>
+        <prov:type xsi:type="xsd:QName">Graduation</prov:type>
+    </prov:activity>
+    <prov:entity xmlns="http://example.com/" prov:id="doctor_smith"/>
+    <prov:entity xmlns="http://example.com/" prov:id="ms_smith"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="graduation"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="ms_smith"/>
+    </prov:used>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="doctor_smith"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="graduation"/>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Activity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:graduation
+   a prov:Activity, :Graduation;
+   prov:startedAtTime "2012-04-15T13:00:00-04:00"^^xsd:dateTime;
+   prov:used          :ms_smith;
+   prov:generated     :doctor_smith;
+   prov:endedAtTime   "2012-04-15T14:30:00-04:00"^^xsd:dateTime;
+.
+:ms_smith     a prov:Entity .
+:doctor_smith a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-ActivityInfluence-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(bar_chart)
+wasGeneratedBy(making-bar-chart;bar_chart,illustrating,-,[prov:type='prov:ActivityInfluence', rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@4173b223[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-ActivityInfluence-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasGeneratedBy xmlns="http://example.com/" prov:id="making-bar-chart">
+        <prov:entity prov:ref="bar_chart"/>
+        <prov:activity prov:ref="illustrating"/>
+        <prov:type xsi:type="xsd:QName">prov:ActivityInfluence</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@526d2bf[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]</rdfs:comment>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-ActivityInfluence-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart 
+   a prov:Entity;
+   prov:wasGeneratedBy      :illustrating;
+   prov:qualifiedGeneration :making-bar-chart;
+. 
+
+:making-bar-chart
+   a prov:Generation, 
+     prov:ActivityInfluence;  ## Instances of Generation, Invalidation and Communication qualify
+   prov:activity :illustrating; ## the influence of an Activity (cited by prov:activity)
+   rdfs:comment "Ended up with bar chart as line chart looked ugly."@en;
+.
+
+:illustrating a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Agent-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(derek,[prov:type='prov:Person', foaf:givenName = "Derek" %% xsd:string, foaf:mbox = "mailto:derek@example.org" %% xsd:anyURI, foaf:homePage = "http://derek.example.com" %% xsd:anyURI])
+agent(national_newspaper_inc,[prov:type='prov:Organization', foaf:name = "National Newspaper, Inc." %% xsd:string])
+actedOnBehalfOf(derek,national_newspaper_inc,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Agent-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com#" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <foaf:givenName xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">Derek</foaf:givenName>
+        <foaf:mbox xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">mailto:derek@example.org</foaf:mbox>
+        <foaf:homePage xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">http://derek.example.com</foaf:homePage>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com#" prov:id="national_newspaper_inc">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+        <foaf:name xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">National Newspaper, Inc.</foaf:name>
+    </prov:agent>
+    <prov:actedOnBehalfOf>
+        <prov:subordinate xmlns="http://example.com#" prov:ref="derek"/>
+        <prov:responsible xmlns="http://example.com#" prov:ref="national_newspaper_inc"/>
+    </prov:actedOnBehalfOf>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Agent-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix :     <http://example.com#> .
+
+:derek
+   a prov:Agent, prov:Person;
+   foaf:givenName      "Derek"^^xsd:string;
+   foaf:mbox           <mailto:derek@example.org>;
+   foaf:homePage       <http://derek.example.com>;
+   prov:actedOnBehalfOf :national_newspaper_inc;
+.
+
+:national_newspaper_inc
+   a prov:Agent, prov:Organization;
+   foaf:name "National Newspaper, Inc.";
+. 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-AgentInfluence-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+agent(derek,[prov:type='prov:Person', prov:type='prov:Entity'])
+entity(derek,[prov:type='prov:Person', prov:type='prov:Agent'])
+wasAssociatedWith(illustrating,derek,-)
+wasAssociatedWith(illustrating,derek,-,[prov:type='prov:AgentInfluence'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-AgentInfluence-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:agent xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Entity</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Agent</prov:type>
+    </prov:entity>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+        <prov:type xsi:type="xsd:QName">prov:AgentInfluence</prov:type>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-AgentInfluence-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek;
+    prov:qualifiedAssociation [
+       a prov:Association, 
+         prov:AgentInfluence; ## Instances of Generation, Invalidation and Communication qualify
+       prov:agent   :derek;   ## the influence of an Agent (cited by prov:agent)
+       prov:hadRole :illustrationist
+    ];
+.
+
+:derek a prov:Person, prov:Agent, prov:Entity .
+
+:illustratonist a prov:Role .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Association-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+agent(steve,[prov:type='prov:Person', prov:type='prov:Entity'])
+agent(derek,[prov:type='prov:Person', prov:type='prov:Entity'])
+entity(steve,[prov:type='prov:Person', prov:type='prov:Agent'])
+entity(style-guide,[prov:type='prov:Plan'])
+entity(derek,[prov:type='prov:Person', prov:type='prov:Agent'])
+wasAssociatedWith(illustrating,derek,-)
+wasAssociatedWith(illustrating,steve,-)
+wasAssociatedWith(illustrating,steve,style-guide,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@68a48d59[
+  value=Steve helped Derek conform with the publisher's style guide.
+  lang=en
+]" %% xsd:string])
+wasAssociatedWith(illustrating,derek,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Association-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:agent xmlns="http://example.com/" prov:id="steve">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Entity</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Entity</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="steve">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Agent</prov:type>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/" prov:id="style-guide">
+        <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Agent</prov:type>
+    </prov:entity>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+        <prov:plan xmlns="http://example.com/" prov:ref="style-guide"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@56bb46b7[
+  value=Steve helped Derek conform with the publisher's style guide.
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Association-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,31 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek, 
+                           :steve;
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent   :derek;
+        prov:hadRole :illustrationist;
+    ];
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent   :steve;
+        prov:hadRole :stylist;
+        prov:hadPlan :style-guide;
+        rdfs:comment "Steve helped Derek conform with the publisher's style guide."@en;
+    ];
+.
+
+:derek a prov:Person, prov:Agent, prov:Entity .
+:steve a prov:Person, prov:Agent, prov:Entity .
+
+:illustratonist a prov:Role .
+:stylist        a prov:Role .
+
+:style-guide a prov:Plan, prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Attribution-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(Frank_Lloyd_Wright,[prov:type='prov:Person'])
+agent(western-Pennsylvania-Conservancy,[prov:type='prov:Organization'])
+agent(Edgar_J._Kaufmann,[prov:type='prov:Person'])
+entity(Fallingwater)
+wasAttributedTo(Fallingwater, Edgar_J._Kaufmann)
+wasAttributedTo(Fallingwater, Frank_Lloyd_Wright)
+wasAttributedTo(Fallingwater, western-Pennsylvania-Conservancy)
+wasAttributedTo(Fallingwater, Frank_Lloyd_Wright,[ex:hadRole = "http://example.com/architect" %% xsd:anyURI])
+wasAttributedTo(Fallingwater, western-Pennsylvania-Conservancy,[ex:hadRole = "http://example.com/conserver" %% xsd:anyURI])
+wasAttributedTo(Fallingwater, Edgar_J._Kaufmann,[ex:hadRole = "http://example.com/owner" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Attribution-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Frank_Lloyd_Wright">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com/" prov:id="western-Pennsylvania-Conservancy">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Edgar_J._Kaufmann">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://dbpedia.org/resource/" prov:id="Fallingwater"/>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Edgar_J._Kaufmann"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Frank_Lloyd_Wright"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="western-Pennsylvania-Conservancy"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="western-Pennsylvania-Conservancy"/>
+        <ex:hadRole xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/conserver</ex:hadRole>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Frank_Lloyd_Wright"/>
+        <ex:hadRole xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/architect</ex:hadRole>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Fallingwater"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Edgar_J._Kaufmann"/>
+        <ex:hadRole xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/owner</ex:hadRole>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Attribution-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,32 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+<http://dbpedia.org/resource/Fallingwater>
+   a prov:Entity;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Edgar_J._Kaufmann>,
+                        <http://dbpedia.org/resource/Frank_Lloyd_Wright>,
+                        :western-Pennsylvania-Conservancy;
+   prov:qualifiedAttribution [
+      a prov:Attribution;
+      prov:agent <http://dbpedia.org/resource/Edgar_J._Kaufmann>;
+      ex:hadRole :owner;
+   ];
+   prov:qualifiedAttribution [
+      a prov:Attribution;
+      prov:agent <http://dbpedia.org/resource/Frank_Lloyd_Wright>;
+      ex:hadRole :architect;
+   ];
+   prov:qualifiedAttribution [
+      a prov:Attribution;
+      prov:agent :western-Pennsylvania-Conservancy;
+      ex:hadRole :conserver;
+   ];
+.
+
+<http://dbpedia.org/resource/Edgar_J._Kaufmann>  a prov:Person, prov:Agent .
+<http://dbpedia.org/resource/Frank_Lloyd_Wright> a prov:Person, prov:Agent .
+:western-Pennsylvania-Conservancy a prov:Organization, prov:Agent . 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Bundle-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix my <http://example.com/my#>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(example.ttl,[prov:type='prov:Bundle'])
+entity(report1,[prov:type='my:Report', my:version = "1" %% xsd:string])
+wasAttributedTo(example.ttl, bob)
+wasAttributedTo(report1, bob)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Bundle-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://www.example.com/" prov:id="example.ttl">
+        <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/#" prov:id="report1">
+        <prov:type xmlns:my="http://example.com/my#" xsi:type="xsd:QName">my:Report</prov:type>
+        <my:version xmlns:my="http://example.com/my#" xsi:type="xsd:string">1</my:version>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://www.example.com/" prov:ref="example.ttl"/>
+        <prov:agent xmlns="http://example.com/#" prov:ref="bob"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/#" prov:ref="report1"/>
+        <prov:agent xmlns="http://example.com/#" prov:ref="bob"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Bundle-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix my:      <http://example.com/my#> .
+@prefix :        <http://example.com/#> .
+@base <http://www.example.com/example.ttl> .
+
+<> # A provenance file located at http://www.example.com/example.ttl
+   a prov:Bundle;
+   prov:generatedAtTime "2012-05-24T09:30:00"^^xsd:dateTime;
+   prov:wasAttributedTo :bob;
+.
+
+:report1
+   a my:Report, prov:Entity;
+   my:version "1";
+   prov:generatedAtTime "2012-05-24T01:00:00"^^xsd:dateTime;
+   prov:wasAttributedTo :bob;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Collection-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,53 @@
+@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 ex:      <http://example.com/ontology#> .
+@prefix :        <http://example.com/> .
+
+:todays-us-supreme-court
+   a prov:Collection, :RobertsCourt;
+
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      
+      # The generation is being qualified to be imprecise;
+      # prov:generatedAtTime and prov:atTime specify exact instants in time.
+      dcterms:date "2012"^^xsd:gYear; 
+   ];                                 
+
+   prov:hadMember
+      <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>,
+      <http://dbpedia.org/resource/Antonin_Scalia>, 
+      <http://dbpedia.org/resource/Anthony_Kennedy>, 
+      <http://dbpedia.org/resource/Clarence_Thomas>, 
+      <http://dbpedia.org/resource/Ruth_Bader_Ginsburg>,
+      <http://dbpedia.org/resource/Stephen_Breyer>,     
+      <http://dbpedia.org/resource/Samuel_Alito>,      
+      <http://dbpedia.org/resource/Sonia_Sotomayor>,  
+      <http://dbpedia.org/resource/Elena_Kagan>;   
+
+   prov:wasDerivedFrom :the-first-us-supreme-court;
+
+   dcterms:description :copied-string;
+.
+
+:copied-string
+   a prov:Entity;
+   prov:value """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg 
+                 S. Breyer S. Alito S. Sotomayor E. Kagan""";
+   prov:wasQuotedFrom :page-by-composition;
+.
+
+:page-by-seat
+   a prov:Entity, ex:WikipediaPage;
+   prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-seat>;
+   prov:generatedAtTime "2011-08-31T12:51"^^xsd:dateTime;
+.
+
+:page-by-composition
+   a prov:Entity, ex:WikipediaPage;
+   prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-composition>;
+   prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Communication-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(writing-celebrity-gossip,-,-)
+activity(voicemail-interception,-,-)
+wasInformedBy(writing-celebrity-gossip,voicemail-interception)
+wasInformedBy(informing-the-journalist;writing-celebrity-gossip,voicemail-interception,[ex:mediaType = "email" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Communication-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="writing-celebrity-gossip"/>
+    <prov:activity xmlns="http://example.com/" prov:id="voicemail-interception"/>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="writing-celebrity-gossip"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="voicemail-interception"/>
+    </prov:wasInformedBy>
+    <prov:wasInformedBy xmlns="http://example.com/" prov:id="informing-the-journalist">
+        <prov:effect prov:ref="writing-celebrity-gossip"/>
+        <prov:cause prov:ref="voicemail-interception"/>
+        <ex:mediaType xmlns:ex="http://example.com/vocab#" xsi:type="xsd:string">email</ex:mediaType>
+    </prov:wasInformedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Communication-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:writing-celebrity-gossip 
+   a prov:Activity;
+   prov:wasInformedBy          :voicemail-interception;
+   prov:qualifiedCommunication :informing-the-journalist;
+.
+
+:informing-the-journalist 
+   a prov:Communication;
+   prov:activity   :voicemail-interception;
+   ex:mediaType "email";
+.
+
+:voicemail-interception a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Delegation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(policySale,-,-)
+agent(insuranceAgent_Frank,[prov:type='prov:Person'])
+wasAssociatedWith(policySale,insuranceAgent_Frank,-)
+actedOnBehalfOf(insuranceAgent_Frank,insuranceCompany_A,-)
+actedOnBehalfOf(insuranceAgent_Frank,insuranceCompany_A,policySale,[ex:rewardScheme = "commission" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Delegation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="policySale"/>
+    <prov:agent xmlns="http://example.com/" prov:id="insuranceAgent_Frank">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="policySale"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="insuranceAgent_Frank"/>
+    </prov:wasAssociatedWith>
+    <prov:actedOnBehalfOf>
+        <prov:subordinate xmlns="http://example.com/" prov:ref="insuranceAgent_Frank"/>
+        <prov:responsible xmlns="http://example.com/" prov:ref="insuranceCompany_A"/>
+    </prov:actedOnBehalfOf>
+    <prov:actedOnBehalfOf>
+        <prov:subordinate xmlns="http://example.com/" prov:ref="insuranceAgent_Frank"/>
+        <prov:responsible xmlns="http://example.com/" prov:ref="insuranceCompany_A"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="policySale"/>
+        <ex:rewardScheme xmlns:ex="http://example.com/vocab#" xsi:type="xsd:string">commission</ex:rewardScheme>
+    </prov:actedOnBehalfOf>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Delegation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,25 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+### In this example, Frank (an insurance agent) acts on behalf of his company for performing
+### a policy sale
+ 
+:policySale
+   a prov:Activity;
+   prov:wasAssociatedWith :insuranceAgent_Frank;
+.
+
+:insuranceAgent_Frank
+   a prov:Person;
+   prov:actedOnBehalfOf :insuranceCompany_A;
+   prov:qualifiedDelegation [
+      a prov:Delegation;
+      prov:agent        :insuranceCompany_A;
+      ex:rewardScheme   "commission";
+      prov:hadActivity	:policySale ;
+   ];
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Derivation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(create_the_chart,2012-04-03T00:00:00Z,2012-04-03T00:00:10Z)
+entity(bar_chart)
+entity(bar_chart)
+wasAssociatedWith(create_the_chart,derek,-)
+wasGeneratedBy(plot_the_chart;-,-,2012-04-03T00:00:01Z,[prov:type='prov:InstantaneousEvent'])
+wasDerivedFrom(bar_chart, aggregatedByRegions, create_the_chart, plot_the_chart, data_loading)
+used(data_loading;-,-,2012-04-03T00:00:00Z)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Derivation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="create_the_chart">
+        <prov:startTime>2012-04-03T00:00:00Z</prov:startTime>
+        <prov:endTime>2012-04-03T00:00:10Z</prov:endTime>
+    </prov:activity>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="create_the_chart"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasGeneratedBy xmlns="http://example.com/" prov:id="plot_the_chart">
+        <prov:time>2012-04-03T00:00:01Z</prov:time>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasGeneratedBy>
+    <prov:wasDerivedFrom>
+        <prov:generation xmlns="http://example.com/" prov:ref="plot_the_chart"/>
+        <prov:usage xmlns="http://example.com/" prov:ref="data_loading"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="create_the_chart"/>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasDerivedFrom>
+    <prov:used xmlns="http://example.com/" prov:id="data_loading">
+        <prov:time>2012-04-03T00:00:00Z</prov:time>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Derivation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,57 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# The simplest (and least detailed) form of derivation.
+:bar_chart 
+   a prov:Entity;
+   prov:wasDerivedFrom :aggregatedByRegions;  
+.
+
+# The simple form can be accompanied by a qualified form:
+# which provides more details about how :bar_chart was 
+# derived from :aggregatedRegions.
+
+:bar_chart
+   a prov:Entity;
+   
+   prov:wasDerivedFrom :aggregatedByRegions;  
+   prov:qualifiedDerivation [                  
+      a prov:Derivation;                      
+      prov:entity      :aggregatedByRegions;  
+                          
+      # Derivations can cite the influencing Activity in doing the derivation.
+      prov:hadActivity   :create_the_chart;
+
+      # They can also cite the Usage and Generation that the Activity 
+      # performed to generate :bar_chart.
+      prov:hadUsage      :data_loading;
+      prov:hadGeneration :plot_the_chart;
+   ];
+.
+
+### The process during which the chart was created, from loading the data to the software, to process the data and plot the chart.
+### Additional metadata was recorded, like when it started (before the usage), ended (after the generation of the chart) and who was associated with it.
+
+:create_the_chart 
+   a prov:Activity;
+   prov:wasAssociatedWith :derek;
+   prov:startedAtTime "2012-04-03T00:00:00Z"^^xsd:dateTime;
+   prov:endedAtTime "2012-04-03T00:00:10Z"^^xsd:dateTime;
+.
+
+### The final chart was plotted
+
+:plot_the_chart
+   a prov:Generation, prov:InstantaneousEvent;
+   prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+.
+
+### The data was getting used to create the chart
+
+:data_loading
+   a prov:Usage;
+   prov:atTime "2012-04-03T00:00:00Z"^^xsd:dateTime;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EmptyCollection-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EmptyCollection-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EmptyCollection-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,4 @@
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.org/> .
+
+:c a prov:EmptyCollection . # The collection is believed to not contain members.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-End-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,30 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+### End can be used to qualify wasEndedBy with time and location information.
+### In this example, an experiment is stopped because an intermediate inconsitent resul.
+
+:experiment 
+   a prov:Activity;
+   prov:wasEndedBy :inconsistentResult;
+   prov:qualifiedEnd [
+      a prov:End;
+      prov:entity       :inconsistentResult;
+      prov:atTime       "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:atLocation   :scienceLab_003;
+      prov:hadActivity  :analyse_intermediate_result ; 
+   ];
+.
+   
+:inconsistentResult a prov:Entity .
+
+### An implicit process analyzes the intermediate result to confirm its expected consistency
+
+analyse_intermediate_result
+   a   prov:Activity ;
+   prov:startedAtTime   "2011-07-15T12:52:02Z"^^xsd:dateTime;
+   prov:endedAtTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+.
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Entity-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(derek)
+entity(bar_chart,[dcterms:title = "Aggregated statistics from the crime file" %% xsd:string])
+wasAttributedTo(bar_chart, derek)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Entity-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="derek"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart">
+        <dcterms:title xmlns:dcterms="http://purl.org/dc/terms/" xsi:type="xsd:string">Aggregated statistics from the crime file</dcterms:title>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Entity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix :        <http://example.com/> .
+
+:bar_chart 
+   a prov:Entity;
+   dcterms:title "Aggregated statistics from the crime file"^^xsd:string;
+   prov:wasAttributedTo :derek;
+.
+
+:derek a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EntityInfluence-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(sortActivity,-,-)
+entity(sortedData)
+entity(rawData)
+used(sortActivity,rawData,-)
+wasGeneratedBy(sortedData,sortActivity,-)
+used(sortActivity,datasetA,-,[prov:type='prov:EntityInfluence', prov:role="org.openprovenance.prov.xml.AnyRef@634c803d[
+  ref={http://example.com/}inputToBeSorted
+]" %% prov:unknownLiteral])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EntityInfluence-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="sortActivity"/>
+    <prov:entity xmlns="http://example.com/" prov:id="sortedData"/>
+    <prov:entity xmlns="http://example.com/" prov:id="rawData"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="rawData"/>
+    </prov:used>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="sortedData"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetA"/>
+        <prov:type xsi:type="xsd:QName">prov:EntityInfluence</prov:type>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="inputToBeSorted"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-EntityInfluence-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:sortActivity
+   a prov:Activity;
+   prov:used :rawData;
+   prov:qualifiedUsage [
+      a prov:Usage, 
+        prov:EntityInfluence; ## Instances of Start, End, Usage, Derivation, and Invalidation
+      prov:entity  :datasetA; ## qualify the influenced of an Entity (cited by prov:entity).
+      prov:hadRole :inputToBeSorted;
+   ];
+   prov:generated :sortedData;
+.
+
+:rawData    a prov:Entity .
+:sortedData a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Generation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+prefix eg <http://example.com/vocab#>
+activity(publishingActivity,-,-)
+entity(bbcNews2012-04-03,[prov:type='eg:DailyNews', rdfs:comment = "The BBC news home page on 2012-04-03 contained a reference 
+                   to a given news item, but the BBC news home page on 
+                   the next day did not." %% xsd:string])
+wasInvalidatedBy(bbcNews2012-04-03,-,2012-04-03T23:59:59Z,[prov:type='prov:InstantaneousEvent'])
+wasGeneratedBy(bbcNews2012-04-03,publishingActivity,2012-04-03T00:00:01Z,[prov:type='prov:InstantaneousEvent'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Generation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="publishingActivity"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bbcNews2012-04-03">
+        <prov:type xmlns:eg="http://example.com/vocab#" xsi:type="xsd:QName">eg:DailyNews</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">The BBC news home page on 2012-04-03 contained a reference 
+                   to a given news item, but the BBC news home page on 
+                   the next day did not.</rdfs:comment>
+    </prov:entity>
+    <prov:wasGeneratedBy>
+        <prov:time>2012-04-03T00:00:01Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="bbcNews2012-04-03"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="publishingActivity"/>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasGeneratedBy>
+    <prov:wasInvalidatedBy>
+        <prov:time>2012-04-03T23:59:59Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="bbcNews2012-04-03"/>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasInvalidatedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Generation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,29 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix bbc:  <http://www.bbc.co.uk/> .
+@prefix eg:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:bbcNews2012-04-03 
+   a prov:Entity, eg:DailyNews;
+   rdfs:comment """The BBC news home page on 2012-04-03 contained a reference 
+                   to a given news item, but the BBC news home page on 
+                   the next day did not.""";
+
+   prov:wasGeneratedBy :publishingActivity;
+   prov:qualifiedGeneration [
+      a prov:Generation, prov:InstantaneousEvent;
+      prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+      prov:activity :publishingActivity;
+   ];
+   prov:qualifiedInvalidation [
+      a prov:Invalidation, prov:InstantaneousEvent;
+      prov:atTime "2012-04-03T23:59:59Z"^^xsd:dateTime;
+   ];
+.
+
+:publishingActivity 
+   a prov:Activity;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Influence-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(conductingSurgery_1,-,-,[my:wasConductedBy = "http://example.com/bob" %% xsd:anyURI])
+agent(bob)
+wasAssociatedWith(conductingSurgery_1,bob,-,[prov:type='prov:AgentInfluence', prov:type='prov:Influence'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Influence-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="conductingSurgery_1">
+        <my:wasConductedBy xmlns:my="http://example.com/ontology#" xsi:type="xsd:anyURI">http://example.com/bob</my:wasConductedBy>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="bob"/>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="conductingSurgery_1"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bob"/>
+        <prov:type xsi:type="xsd:QName">prov:AgentInfluence</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Influence</prov:type>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Influence-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,36 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix my:   <http://example.com/ontology#> .
+@prefix :     <http://example.com/> .
+
+# Although a domain extension (e.g. ':wasConductedBy') is not defined by PROV-O,
+# the relation between a surgery and an agent can still be qualified
+# by reusing prov:Influence and one of its three subclasses 
+# (depending on the type of influencer):
+# AgentInfluence, EntityInfluence, and ActivityInfluence.
+
+my:wasConductedBy rdfs:subPropertyOf prov:wasAssociatedWith .
+
+:conductingSurgery_1
+   a prov:Activity;
+   
+   # This unqualified influence is unknown in PROV, 
+   # but would be a subproperty of wasAssociatedWith.
+   my:wasConductedBy :bob;     
+   
+   # Even though PROV systems do not understand my:wasConductedBy, 
+   prov:qualifiedAssociation [ 
+      # they can recognize that the unknown relation 
+      # is being qualified with a prov:hadRole.
+      a prov:Association,     
+        prov:AgentInfluence,   # Inferred
+        prov:Influence;        # Inferred
+      prov:agent   :bob;       # The object of my:wasConductedBy
+      prov:hadRole my:surgeon;
+   ];
+.
+
+:bob       a prov:Agent .
+my:surgeon a prov:Role .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-InstantaneousEvent-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(bbcNews2012-04-03,[prov:type='DailyNews', rdfs:comment = "The BBC news home page on 2012-04-03 contained 
+                   a reference to a given news item, but the BBC news 
+                   home page on the next day did not." %% xsd:string])
+wasInvalidatedBy(bbcNews2012-04-03,-,2012-04-03T23:59:59Z,[prov:type='prov:InstantaneousEvent'])
+wasGeneratedBy(bbcNews2012-04-03,-,2012-04-03T00:00:01Z,[prov:type='prov:InstantaneousEvent'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-InstantaneousEvent-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="bbcNews2012-04-03">
+        <prov:type xsi:type="xsd:QName">DailyNews</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">The BBC news home page on 2012-04-03 contained 
+                   a reference to a given news item, but the BBC news 
+                   home page on the next day did not.</rdfs:comment>
+    </prov:entity>
+    <prov:wasInvalidatedBy>
+        <prov:time>2012-04-03T23:59:59Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="bbcNews2012-04-03"/>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasInvalidatedBy>
+    <prov:wasGeneratedBy>
+        <prov:time>2012-04-03T00:00:01Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="bbcNews2012-04-03"/>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-InstantaneousEvent-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,22 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix bbc:  <http://www.bbc.co.uk/> .
+@prefix :     <http://example.com/> .
+
+:bbcNews2012-04-03 
+   a prov:Entity, :DailyNews;
+   rdfs:comment """The BBC news home page on 2012-04-03 contained 
+                   a reference to a given news item, but the BBC news 
+                   home page on the next day did not.""";
+
+   prov:qualifiedGeneration [
+      a prov:Generation, prov:InstantaneousEvent;
+      prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+   ];
+   prov:qualifiedInvalidation [
+      a prov:Invalidation, prov:InstantaneousEvent;
+      prov:atTime "2012-04-03T23:59:59Z"^^xsd:dateTime;
+   ];
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Invalidation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,39 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix wgs:  <http://www.w3.org/2003/01/geo/wgs84_pos#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix :     <http://example.com/> .
+
+:the-Painter 
+   a prov:Entity, :Painting;
+   rdfs:label "Le Peintre"@fr, "The Painter"@en;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
+
+   prov:wasInvalidatedBy :swissair_Flight_111_crash;
+   prov:qualifiedInvalidation [
+      a prov:Invalidation;
+      prov:activity    :swissair_Flight_111_crash;
+      prov:atTime      "1998-09-02T01:31:00Z";
+      prov:atLocation  <http://purl.org/twc/location/Swissair-Flight-111-crash>;
+   ];
+. 
+
+<http://purl.org/twc/location/Swissair-Flight-111-crash>
+   a prov:Location;
+   wgs:lat   44.409167;
+   wgs:long -63.973611;
+.
+
+<http://dbpedia.org/resource/Pablo_Picasso> 
+   a prov:Agent;
+   foaf:depiction <http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg>;
+.
+
+:swissair_Flight_111_crash 
+   a prov:Activity;
+   prov:used          <http://dbpedia.org/resource/Swissair_Flight_111>;
+   prov:startedAtTime "1998-09-02T01:31:00Z";
+   prov:atLocation    <http://dbpedia.org/resource/Atlantic_ocean>;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Location-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix sioc <http://rdfs.org/sioc/ns#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(publicationActivity1123,-,-)
+entity(post9821,[prov:type='sioc:Post', prov:location="http://example.com/more-crime-happens-in-cities" %% xsd:anyURI])
+wasGeneratedBy(post9821,publicationActivity1123,2011-07-16T01:52:02Z,[prov:location="http://dbpedia.org/resource/Madrid" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Location-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="publicationActivity1123"/>
+    <prov:entity xmlns="http://example.com/" prov:id="post9821">
+        <prov:type xmlns:sioc="http://rdfs.org/sioc/ns#" xsi:type="xsd:QName">sioc:Post</prov:type>
+        <prov:location xsi:type="xsd:anyURI">http://example.com/more-crime-happens-in-cities</prov:location>
+    </prov:entity>
+    <prov:wasGeneratedBy>
+        <prov:time>2011-07-16T01:52:02Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="post9821"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="publicationActivity1123"/>
+        <prov:location xsi:type="xsd:anyURI">http://dbpedia.org/resource/Madrid</prov:location>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Location-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,24 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
+@prefix :     <http://example.com/> .
+
+# A Location can be a path or a geographical location.
+
+:post9821 
+   a prov:Entity, sioc:Post;   
+   prov:wasGeneratedBy :publicationActivity1123;
+   prov:atLocation     :more-crime-happens-in-cities;
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      prov:activity    :publicationActivity1123;
+      prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+      prov:atLocation <http://dbpedia.org/resource/Madrid>;
+   ];
+.
+
+:publicationActivity1123      a prov:Activity.
+:more-crime-happens-in-cities a prov:Location.
+<http://dbpedia.org/resource/Madrid> a prov:Location. 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Organization-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(W3C,[prov:type='prov:Organization', foaf:name = "World Wide Web Consortium" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Organization-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="W3C">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+        <foaf:name xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">World Wide Web Consortium</foaf:name>
+    </prov:agent>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Organization-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix :     <http://example.com/> .
+
+:W3C 
+   a prov:Agent, prov:Organization;
+   foaf:name "World Wide Web Consortium";
+. 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Person-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(Pablo_Picasso,[prov:type='prov:Person', foaf:depiction = "http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Person-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Pablo_Picasso">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <foaf:depiction xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg</foaf:depiction>
+    </prov:agent>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Person-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix :     <http://example.com/> .
+
+<http://dbpedia.org/resource/Pablo_Picasso>
+   a prov:Person, prov:Agent;
+   foaf:depiction <http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg>;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Plan-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(style-guide,[prov:type='prov:Plan', rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@634c803d[
+  value=Use blue graphs for positive spin, red for negative
+  lang=en
+]" %% xsd:string])
+wasAssociatedWith(steve-checking-style-guide;illustrating,steve,style-guide,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@6ae80f0d[
+  value=Steve followed the publisher's style guide
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Plan-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="style-guide">
+        <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@6ffb75c7[
+  value=Use blue graphs for positive spin, red for negative
+  lang=en
+]</rdfs:comment>
+    </prov:entity>
+    <prov:wasAssociatedWith xmlns="http://example.com/" prov:id="steve-checking-style-guide">
+        <prov:activity prov:ref="illustrating"/>
+        <prov:agent prov:ref="steve"/>
+        <prov:plan prov:ref="style-guide"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@500ae176[
+  value=Steve followed the publisher's style guide
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Plan-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,22 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating 
+   a prov:Activity;
+   prov:qualifiedAssociation :steve-checking-style-guide;
+.
+
+:steve-checking-style-guide
+   a prov:Association;
+   prov:agent   :steve;
+   prov:hadPlan :style-guide;
+   rdfs:comment "Steve followed the publisher's style guide"@en;
+. 
+
+:style-guide
+   a prov:Plan, prov:Entity;
+   rdfs:comment "Use blue graphs for positive spin, red for negative"@en;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-PrimarySource-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:myPost 
+   a prov:Entity;
+   prov:hadPrimarySource :donQuixote;
+   prov:qualifiedPrimarySource [
+      a prov:PrimarySource;
+      prov:entity :donQuixote;
+      :confidenceValue "6"^^xsd:integer;
+      rdfs:comment """Not sure if Don Quixote was the original source, 
+                      so asserting a confidence value of 6 out of 10.""";
+   ];
+.
+
+:donQuixote a prov:Entity.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Quotation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,27 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:dagstuhl-quote
+   a prov:Entity;
+   prov:value   "why would people record and share provenance in the first place?";
+   prov:wasQuotedFrom <http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>;
+   prov:qualifiedQuotation [
+      a prov:Quotation;
+      prov:entity     <http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>;
+      ex:fromSection 2;
+   ];
+   prov:wasAttributedTo <http://data.semanticweb.org/person/luc-moreau>;
+.
+
+<http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop> 
+   a prov:Entity;
+   prov:wasAttributedTo <http://data.semanticweb.org/person/paul-groth>;
+.
+
+<http://data.semanticweb.org/person/luc-moreau> a prov:Person, prov:Agent .
+<http://data.semanticweb.org/person/paul-groth> a prov:Person, prov:Agent .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Revision-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,29 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:draft2 
+   a prov:Entity;
+   prov:wasRevisionOf    :draft1;
+   prov:qualifiedRevision [
+      a prov:Revision;
+      prov:entity        :draft1;
+      ex:peerReviewed     false;
+   ];
+
+   prov:wasAssociatedWith :edward;
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent          :edward;
+      prov:hadRole        :editor;
+   ];
+.
+
+:draft1 a prov:Entity .
+
+:edward 
+   a prov:Person, prov:Agent;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Role-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(divideActivity,-,-)
+entity(variableB,[prov:value="2" %% prov:unknownLiteral])
+entity(variableA,[prov:value="10" %% prov:unknownLiteral])
+entity(result_112234,[prov:value="5" %% prov:unknownLiteral])
+wasGeneratedBy(result_112234,divideActivity,-)
+wasGeneratedBy(result_112234,divideActivity,-)
+used(divideActivity,variableA,-,[prov:role="org.openprovenance.prov.xml.AnyRef@9fc1696[
+  ref={http://example.com/}dividend
+]" %% prov:unknownLiteral])
+used(divideActivity,variableB,-,[prov:role="org.openprovenance.prov.xml.AnyRef@7b17cda3[
+  ref={http://example.com/}divisor
+]" %% prov:unknownLiteral])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Role-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="divideActivity"/>
+    <prov:entity xmlns="http://example.com/" prov:id="variableB">
+        <prov:value xsi:type="xsd:integer">2</prov:value>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/" prov:id="variableA">
+        <prov:value xsi:type="xsd:integer">10</prov:value>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/" prov:id="result_112234">
+        <prov:value xsi:type="xsd:integer">5</prov:value>
+    </prov:entity>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="result_112234"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="result_112234"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="variableA"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="dividend"/>
+    </prov:used>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="variableB"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="divisor"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Role-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,41 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:divideActivity 
+   a prov:Activity;   
+   prov:used :variableA, :variableB;
+
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity  :variableA;
+      prov:hadRole :dividend;          
+   ];
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity  :variableB;
+      prov:hadRole :divisor;          
+   ];
+
+   prov:generated :result_112234;
+.
+
+:variableA 
+   a prov:Entity;
+   prov:value 10;
+.
+:variableB 
+   a prov:Entity;
+   prov:value 2;
+.
+
+:dividend a prov:Role.
+:divisor  a prov:Role.
+
+:result_112234 
+   a prov:Entity;
+   prov:value 5;
+   prov:wasGeneratedBy :divideActivity;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-SoftwareAgent-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(googlebot,[prov:type='prov:SoftwareAgent', rdfs:label = "Googlebot" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-SoftwareAgent-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="googlebot">
+        <prov:type xsi:type="xsd:QName">prov:SoftwareAgent</prov:type>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">Googlebot</rdfs:label>
+    </prov:agent>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-SoftwareAgent-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# Googlebot is Google's web crawling bot; 
+# it can initiate and participate in web-crawling activities.
+
+:googlebot
+   a prov:SoftwareAgent;
+   rdfs:label "Googlebot"^^xsd:string;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Start-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(consistency_checking,-,-)
+activity(syntax_checking,2011-07-06T01:48:36Z,2011-07-06T02:12:36Z)
+agent(syntax_checker,[prov:type='prov:SoftwareAgent'])
+entity(updated_data_record)
+wasStartedBy(consistency_checking,updated_data_record,-,-)
+wasAssociatedWith(syntax_checking,syntax_checker,-)
+wasStartedBy(consistency_checking,updated_data_record,syntax_checking,2011-07-06T01:48:36Z,[prov:location="http://example.com/scienceLab_003" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Start-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="consistency_checking"/>
+    <prov:activity xmlns="http://example.com/" prov:id="syntax_checking">
+        <prov:startTime>2011-07-06T01:48:36Z</prov:startTime>
+        <prov:endTime>2011-07-06T02:12:36Z</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="syntax_checker">
+        <prov:type xsi:type="xsd:QName">prov:SoftwareAgent</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="updated_data_record"/>
+    <prov:wasStartedBy>
+        <prov:activity xmlns="http://example.com/" prov:ref="consistency_checking"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="updated_data_record"/>
+    </prov:wasStartedBy>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="syntax_checking"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="syntax_checker"/>
+    </prov:wasAssociatedWith>
+    <prov:wasStartedBy>
+        <prov:time>2011-07-06T01:48:36Z</prov:time>
+        <prov:activity xmlns="http://example.com/" prov:ref="consistency_checking"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="updated_data_record"/>
+        <prov:starter xmlns="http://example.com/" prov:ref="syntax_checking"/>
+        <prov:location xsi:type="xsd:anyURI">http://example.com/scienceLab_003</prov:location>
+    </prov:wasStartedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Start-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,33 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+### Start can be used to qualify wasStartedBy with time and location information.
+### In this example, a consistency checking activity is started by the update of a data record.
+
+:consistency_checking
+   a prov:Activity;
+   prov:wasStartedBy :updated_data_record;
+   prov:qualifiedStart [
+      a prov:Start;
+      prov:entity       :updated_data_record;
+      prov:atTime       "2011-07-06T01:48:36Z"^^xsd:dateTime;
+      prov:atLocation   :scienceLab_003;
+      prov:hadActivity  :syntax_checking;
+   ];
+.
+
+:updated_data_record a prov:Entity .
+
+### There is an explicit process of checking the syntax of the updated data record
+
+:syntax_checking
+   a   prov:Activity ;
+   prov:startedAtTime      "2011-07-06T01:48:36Z"^^xsd:dateTime;
+   prov:endedAtTime        "2011-07-06T02:12:36Z"^^xsd:dateTime;
+   prov:wasAssociatedWith  :syntax_checker ;
+.
+
+:syntax_checker   a   prov:SoftwareAgent .
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Usage-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(sortActivity,2011-07-16T01:52:02Z,-)
+activity(sortActivity,2011-07-16T01:52:02Z,-)
+entity(datasetB)
+entity(datasetA)
+wasGeneratedBy(datasetB,sortActivity,-)
+wasGeneratedBy(datasetB,sortActivity,-)
+wasGeneratedBy(datasetB,sortActivity,-)
+wasGeneratedBy(datasetB,sortActivity,-)
+used(sortActivity,datasetA,-,[prov:role="org.openprovenance.prov.xml.AnyRef@26f4a3a1[
+  ref={http://example.com/}inputToBeSorted
+]" %% prov:unknownLiteral])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Usage-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="sortActivity">
+        <prov:startTime>2011-07-16T01:52:02Z</prov:startTime>
+    </prov:activity>
+    <prov:activity xmlns="http://example.com/" prov:id="sortActivity">
+        <prov:startTime>2011-07-16T01:52:02Z</prov:startTime>
+    </prov:activity>
+    <prov:entity xmlns="http://example.com/" prov:id="datasetB"/>
+    <prov:entity xmlns="http://example.com/" prov:id="datasetA"/>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetB"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetB"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetB"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetB"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetA"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="inputToBeSorted"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-class-Usage-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,29 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:sortActivity 
+   a prov:Activity;
+   prov:startedAtTime  "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity    :datasetA;         ## The entity used by the prov:Usage
+      prov:hadRole   :inputToBeSorted;  ## the role of the entity in this prov:Usage        
+   ];
+   prov:generated :datasetB;
+.
+
+:datasetA        a prov:Entity .
+:datasetB        a prov:Entity .
+:inputToBeSorted a prov:Role .
+
+## The role of :datasetA cannot be expressed using only starting-point terms:
+
+:sortActivity
+   a prov:Activity;
+   prov:startedAtTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+   prov:used       :datasetA;
+   prov:generated  :datasetB;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-actedOnBehalfOf-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(national_newspaper_inc,[prov:type='prov:Organization', foaf:name = "National Newspaper, Inc." %% xsd:string])
+agent(derek,[foaf:givenName = "Derek" %% xsd:string, foaf:mbox = "mailto:derek@example.org" %% xsd:anyURI])
+actedOnBehalfOf(derek,national_newspaper_inc,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-actedOnBehalfOf-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="national_newspaper_inc">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+        <foaf:name xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">National Newspaper, Inc.</foaf:name>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com/" prov:id="derek">
+        <foaf:givenName xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">Derek</foaf:givenName>
+        <foaf:mbox xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">mailto:derek@example.org</foaf:mbox>
+    </prov:agent>
+    <prov:actedOnBehalfOf>
+        <prov:subordinate xmlns="http://example.com/" prov:ref="derek"/>
+        <prov:responsible xmlns="http://example.com/" prov:ref="national_newspaper_inc"/>
+    </prov:actedOnBehalfOf>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-actedOnBehalfOf-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:derek
+   a prov:Agent;
+   foaf:givenName "Derek"^^xsd:string;
+   foaf:mbox      <mailto:derek@example.org>;
+   prov:actedOnBehalfOf :national_newspaper_inc; 
+.
+
+:national_newspaper_inc 
+   a prov:Agent, prov:Organization;
+   foaf:name "National Newspaper, Inc.";
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-activity-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(bar_chart)
+wasGeneratedBy(making-bar-chart;bar_chart,illustrating,-,[prov:type='prov:ActivityInfluence', rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@2f5a0e96[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-activity-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasGeneratedBy xmlns="http://example.com/" prov:id="making-bar-chart">
+        <prov:entity prov:ref="bar_chart"/>
+        <prov:activity prov:ref="illustrating"/>
+        <prov:type xsi:type="xsd:QName">prov:ActivityInfluence</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@526d2bf[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]</rdfs:comment>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-activity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:making-bar-chart
+   a prov:Generation, 
+     prov:ActivityInfluence;
+   prov:activity :illustrating;
+   rdfs:comment "Ended up with bar chart as line chart looked ugly."@en;
+.
+
+:illustrating a prov:Activity .
+
+:bar_chart 
+   a prov:Entity;
+   prov:wasGeneratedBy :illustrating;
+   prov:qualifiedGeneration :making-bar-chart;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-agent-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(world_flight_1937,-,-,[rdfs:seeAlso = "http://en.wikipedia.org/wiki/Amelia_Earhart#1937_world_flight" %% xsd:anyURI])
+agent(Amelia_Earhart,[prov:type='prov:Person'])
+agent(Lockheed_Aircraft_Company,[prov:type='prov:Organization'])
+agent(Purdue_University,[prov:type='prov:Organization'])
+wasAssociatedWith(world_flight_1937,Amelia_Earhart,-)
+wasAssociatedWith(world_flight_1937,Purdue_University,-)
+wasAssociatedWith(world_flight_1937,Lockheed_Aircraft_Company,-)
+wasAssociatedWith(world_flight_1937,Amelia_Earhart,-)
+wasAssociatedWith(world_flight_1937,Lockheed_Aircraft_Company,-)
+wasAssociatedWith(world_flight_1937,Purdue_University,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-agent-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="world_flight_1937">
+        <rdfs:seeAlso xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:anyURI">http://en.wikipedia.org/wiki/Amelia_Earhart#1937_world_flight</rdfs:seeAlso>
+    </prov:activity>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Amelia_Earhart">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Lockheed_Aircraft_Company">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Purdue_University">
+        <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
+    </prov:agent>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Amelia_Earhart"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Purdue_University"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Lockheed_Aircraft_Company"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Amelia_Earhart"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Purdue_University"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="world_flight_1937"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Lockheed_Aircraft_Company"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-agent-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,35 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:world_flight_1937
+   a prov:Activity;
+
+   prov:wasAssociatedWith <http://dbpedia.org/resource/Amelia_Earhart>,
+                          <http://dbpedia.org/resource/Purdue_University>,
+                          <http://dbpedia.org/resource/Lockheed_Aircraft_Company>;
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent   <http://dbpedia.org/resource/Amelia_Earhart>;
+      prov:hadRole :pilot;
+   ];
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent   <http://dbpedia.org/resource/Purdue_University>;
+      prov:hadRole :financer;
+   ];
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent   <http://dbpedia.org/resource/Lockheed_Aircraft_Company>;
+      prov:hadRole :plane_builder;
+   ];
+
+   rdfs:seeAlso <http://en.wikipedia.org/wiki/Amelia_Earhart#1937_world_flight>;
+.
+
+<http://dbpedia.org/resource/Amelia_Earhart>            a prov:Person,       prov:Agent .
+<http://dbpedia.org/resource/Purdue_University>         a prov:Organization, prov:Agent .
+<http://dbpedia.org/resource/Lockheed_Aircraft_Company> a prov:Organization, prov:Agent .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-alternateOf-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(node17d3eb7dnx2,-,2012-04-13T00:00:00-04:00)
+activity(node17d3eb7dnx1,-,2012-04-12T00:00:00-04:00)
+agent(bbc)
+entity(london_forecast_0412)
+entity(london_forecast_0413)
+entity(london_forecast)
+wasAttributedTo(london_forecast_0412, bbc)
+wasGeneratedBy(london_forecast_0412,node17d3eb7dnx1,-)
+alternateOf(london_forecast_0412,london_forecast_043)
+specializationOf(london_forecast_0412,london_forecast)
+wasAttributedTo(london_forecast_0413, bbc)
+wasGeneratedBy(london_forecast_0413,node17d3eb7dnx2,-)
+alternateOf(london_forecast_0413,london_forecast_0412)
+specializationOf(london_forecast_0413,london_forecast)
+wasAttributedTo(london_forecast, bbc)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-alternateOf-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="" prov:id="node17d3eb7ofx1">
+        <prov:endTime>2012-04-12T00:00:00-04:00</prov:endTime>
+    </prov:activity>
+    <prov:activity xmlns="" prov:id="node17d3eb7ofx2">
+        <prov:endTime>2012-04-13T00:00:00-04:00</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="bbc"/>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast_0412"/>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast_0413"/>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast"/>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:activity xmlns="" prov:ref="node17d3eb7ofx1"/>
+    </prov:wasGeneratedBy>
+    <prov:alternateOf>
+        <prov:entity2 xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:entity1 xmlns="http://example.com/" prov:ref="london_forecast_043"/>
+    </prov:alternateOf>
+    <prov:specializationOf>
+        <prov:specializedEntity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:generalEntity xmlns="http://example.com/" prov:ref="london_forecast"/>
+    </prov:specializationOf>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:activity xmlns="" prov:ref="node17d3eb7ofx2"/>
+    </prov:wasGeneratedBy>
+    <prov:alternateOf>
+        <prov:entity2 xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:entity1 xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+    </prov:alternateOf>
+    <prov:specializationOf>
+        <prov:specializedEntity xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:generalEntity xmlns="http://example.com/" prov:ref="london_forecast"/>
+    </prov:specializationOf>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-alternateOf-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,42 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bbc a prov:Agent .
+
+:london_forecast_0412 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+   prov:wasGeneratedBy [
+      a prov:Activity;
+      prov:endedAtTime "2012-04-12T00:00:00-04:00"^^xsd:dateTime;
+   ];
+   prov:alternateOf :london_forecast_043;
+.
+
+:london_forecast_0413 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+   prov:wasGeneratedBy [
+      a prov:Activity;
+      prov:endedAtTime "2012-04-13T00:00:00-04:00"^^xsd:dateTime;
+   ];
+   prov:alternateOf :london_forecast_0412;
+.
+
+## :london_forecast_0412 and :london_forecast_0413 are both 
+## specialization of the more general entity :london_forecast
+
+:london_forecast 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+.
+
+:london_forecast_0412
+   prov:specializationOf :london_forecast;
+.
+:london_forecast_0413
+   prov:specializationOf :london_forecast;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-asInBundle-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,31 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix tool: <http://example.com/tool/> .
+@prefix perf: <http://example.com/performance/> .
+@prefix :     <http://example.com/> .
+
+:run2 {
+   :activity_2
+      a prov:Activity;
+      prov:startedAtTime "2011-11-17T10:00:00"^^xsd:dateTime;
+      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime; 
+      prov:wasAssociatedWith :bob;
+   .
+}
+
+tool:analysis_01 {
+   tool:bob-2011-11-17
+      a prov:Agent;
+      prov:mentionOf  :bob;
+      prov:asInBundle :run2;
+      perf:rating     perf:very-slow;
+   .
+}
+
+# This is inferred from prov:mentionOf
+tool:bob-2011-11-17 prov:specializationOf :bob . 
+
+# This is inferred from prov:specializationOf
+tool:bob-2011-11-17 prov:alternateOf      :bob . 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atLocation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix sioc <http://rdfs.org/sioc/ns#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(publicationActivity1123,-,-)
+entity(post9821,[prov:type='sioc:Post', prov:location="http://example.com/more-crime-happens-in-cities" %% xsd:anyURI])
+wasGeneratedBy(post9821,publicationActivity1123,2011-07-16T01:52:02Z,[prov:location="http://dbpedia.org/resource/Madrid" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atLocation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="publicationActivity1123"/>
+    <prov:entity xmlns="http://example.com/" prov:id="post9821">
+        <prov:type xmlns:sioc="http://rdfs.org/sioc/ns#" xsi:type="xsd:QName">sioc:Post</prov:type>
+        <prov:location xsi:type="xsd:anyURI">http://example.com/more-crime-happens-in-cities</prov:location>
+    </prov:entity>
+    <prov:wasGeneratedBy>
+        <prov:time>2011-07-16T01:52:02Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="post9821"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="publicationActivity1123"/>
+        <prov:location xsi:type="xsd:anyURI">http://dbpedia.org/resource/Madrid</prov:location>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atLocation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,24 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
+@prefix :     <http://example.com/> .
+
+# A Location can be a path or a geographical location.
+
+:post9821 
+   a prov:Entity, sioc:Post;   
+   prov:wasGeneratedBy :publicationActivity1123;
+   prov:atLocation     :more-crime-happens-in-cities;
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      prov:activity    :publicationActivity1123;
+      prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime; 
+      prov:atLocation <http://dbpedia.org/resource/Madrid>;
+   ];
+.
+
+:publicationActivity1123      a prov:Activity .
+:more-crime-happens-in-cities        a prov:Location .
+<http://dbpedia.org/resource/Madrid> a prov:Location .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atTime-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atTime-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-atTime-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,10 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:Timearticle20120430_publication
+   a prov:InstantaneousEvent;
+   prov:atTime "2012-04-30T20:40:40"^^xsd:dateTime;
+. 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-endedAtTime-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(geneSequencing,2012-04-25T01:30:00Z,2012-04-25T03:40:00Z)
+agent(lab-technician-GH-32)
+entity(drosophilaSample-84)
+used(geneSequencing,drosophilaSample-84,-)
+wasAssociatedWith(geneSequencing,lab-technician-GH-32,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-endedAtTime-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="geneSequencing">
+        <prov:startTime>2012-04-25T01:30:00Z</prov:startTime>
+        <prov:endTime>2012-04-25T03:40:00Z</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="lab-technician-GH-32"/>
+    <prov:entity xmlns="http://example.com/" prov:id="drosophilaSample-84"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="drosophilaSample-84"/>
+    </prov:used>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="lab-technician-GH-32"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-endedAtTime-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:geneSequencing
+   a prov:Activity;
+   prov:startedAtTime "2012-04-25T01:30:00Z"^^xsd:dateTime;
+   prov:used              :drosophilaSample-84;
+   prov:wasAssociatedWith :lab-technician-GH-32;
+   prov:endedAtTime   "2012-04-25T03:40:00Z"^^xsd:dateTime;
+.
+
+:drosophilaSample-84  a prov:Entity .
+:lab-technician-GH-32 a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-entity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:world-literature-homework-submission-32 
+   a prov:Entity;
+   prov:hadPrimarySource :donQuixote;
+   prov:qualifiedPrimarySource [
+      a prov:PrimarySource;
+      prov:entity :donQuixote;
+      # Other attributes of the relationship
+   ];
+.
+
+:donQuixote a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generated-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(proteinDigestion,-,-)
+entity(peptideSample1)
+wasGeneratedBy(peptideSample1,proteinDigestion,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generated-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="proteinDigestion"/>
+    <prov:entity xmlns="http://example.com/" prov:id="peptideSample1"/>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="peptideSample1"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="proteinDigestion"/>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generated-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:proteinDigestion
+   a prov:Activity;
+   prov:generated :peptideSample1;
+.
+
+:peptideSample1 a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generatedAtTime-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(widget-789532)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generatedAtTime-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="widget-789532"/>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-generatedAtTime-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# A widget was generated 1:35:23 PM on April 3, 2012 UTC
+
+:widget-789532
+   a prov:Entity;
+   prov:generatedAtTime "2012-04-03T13:35:23Z"^^xsd:dateTime;
+.
+
+# The above statement is equivalent to:
+# :widget-789532 prov:qualifiedGeneration [ prov:atTime "2012-04-03T13:35:23Z"^^xsd:dateTime ] .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadActivity-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(make_bar_chart,-,-)
+entity(bar_chart)
+entity(aggregatedByRegions)
+wasGeneratedBy(bar_chart,make_bar_chart,-)
+wasDerivedFrom(bar_chart, aggregatedByRegions, make_bar_chart, -, -)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadActivity-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="make_bar_chart"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:entity xmlns="http://example.com/" prov:id="aggregatedByRegions"/>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="make_bar_chart"/>
+    </prov:wasGeneratedBy>
+    <prov:wasDerivedFrom>
+        <prov:activity xmlns="http://example.com/" prov:ref="make_bar_chart"/>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadActivity-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# The activity that which used, generated, invalidated 
+# or was responsible for the entity. In this qualified Derivation 
+# prov:hadActivity references the activity that generated the bar chart.
+
+:bar_chart
+   a prov:Entity;
+   prov:wasDerivedFrom :aggregatedByRegions;
+   prov:wasGeneratedBy :make_bar_chart;
+   prov:qualifiedDerivation [
+      a prov:Derivation;
+      prov:entity      :aggregatedByRegions;
+      prov:hadActivity :make_bar_chart; # references same activity as prov:wasGeneratedBy
+   ];
+.
+
+:aggregatedByRegions a prov:Entity .
+:make_bar_chart      a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadGeneration-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrationActivity,-,2012-04-03T00:00:01Z)
+wasDerivedFrom(bar_chart, aggregatedByRegions, -, illustration, -)
+wasGeneratedBy(illustration;-,-,2012-04-03T00:00:01Z,[prov:type='prov:InstantaneousEvent'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadGeneration-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrationActivity">
+        <prov:endTime>2012-04-03T00:00:01Z</prov:endTime>
+    </prov:activity>
+    <prov:wasDerivedFrom>
+        <prov:generation xmlns="http://example.com/" prov:ref="illustration"/>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasDerivedFrom>
+    <prov:wasGeneratedBy xmlns="http://example.com/" prov:id="illustration">
+        <prov:time>2012-04-03T00:00:01Z</prov:time>
+        <prov:type xsi:type="xsd:QName">prov:InstantaneousEvent</prov:type>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadGeneration-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,32 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart   
+   prov:wasDerivedFrom   :aggregatedByRegions;
+   prov:qualifiedDerivation [
+      a prov:Derivation;
+      prov:entity        :aggregatedByRegions;
+      prov:hadGeneration :illustration;
+   ];
+.
+
+:illustration   
+   a prov:Generation, 
+     prov:InstantaneousEvent;
+   prov:atTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+.
+
+## An alternative way to express some of the above information
+
+:bar_chart   
+   prov:wasDerivedFrom :aggregatedByRegions;
+   prov:wasGeneratedBy :illustrationActivity;
+.
+
+:illustrationActivity   
+   a prov:Activity;
+   prov:endedAtTime "2012-04-03T00:00:01Z"^^xsd:dateTime;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadMember-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,48 @@
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix ex:      <http://example.com/ontology#> .
+@prefix :        <http://example.com/> .
+
+:todays-us-supreme-court
+   a prov:Collection, ex:RobertsCourt;
+   dcterms:description [
+      a prov:Entity;
+      prov:value """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. 
+                  Breyer S. Alito S. Sotomayor E. Kagan""";
+      prov:wasQuotedFrom :page-by-composition;
+   ];
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      
+      # Since we need to be imprecise, we can't use prov:generatedAtTime or prov:atTime
+      dcterms:date "2012"^^xsd:gYear;
+   ];
+
+   prov:wasDerivedFrom :the-first-us-supreme-court;
+
+   prov:hadMember
+      <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>,
+      <http://dbpedia.org/resource/Antonin_Scalia>, 
+      <http://dbpedia.org/resource/Anthony_Kennedy>, 
+      <http://dbpedia.org/resource/Clarence_Thomas>, 
+      <http://dbpedia.org/resource/Ruth_Bader_Ginsburg>,
+      <http://dbpedia.org/resource/Stephen_Breyer>,     
+      <http://dbpedia.org/resource/Samuel_Alito>,      
+      <http://dbpedia.org/resource/Sonia_Sotomayor>,  
+      <http://dbpedia.org/resource/Elena_Kagan>;   
+.
+
+:page-by-seat
+   a prov:Entity, ex:WikipediaPage;
+   prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-seat>;
+   prov:generatedAtTime "2011-08-31T12:51"^^xsd:dateTime;
+.
+
+:page-by-composition
+   a prov:Entity, ex:WikipediaPage;
+   prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-composition>;
+   prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPlan-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(style-guide,[prov:type='prov:Plan', rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@634c803d[
+  value=Use blue graphs for positive spin, red for negative
+  lang=en
+]" %% xsd:string])
+wasAssociatedWith(illustrating,derek,-)
+wasAssociatedWith(illustrating,steve,-)
+wasAssociatedWith(illustrating,steve,style-guide,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@6ae80f0d[
+  value=Steve followed the style guide
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPlan-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="style-guide">
+        <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@6ffb75c7[
+  value=Use blue graphs for positive spin, red for negative
+  lang=en
+]</rdfs:comment>
+    </prov:entity>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+        <prov:plan xmlns="http://example.com/" prov:ref="style-guide"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@ec94ad4[
+  value=Steve followed the style guide
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPlan-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating
+   a prov:Activity; 
+   prov:wasAssociatedWith :derek, 
+                          :steve;
+   prov:qualifiedAssociation [
+	   a prov:Association;
+	   prov:agent   :steve;
+	   prov:hadRole :stylist;
+	   prov:hadPlan :style-guide;
+	   rdfs:comment "Steve followed the style guide"@en;
+	];
+.
+
+:style-guide
+   a prov:Plan, prov:Entity;
+   rdfs:comment "Use blue graphs for positive spin, red for negative"@en;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPrimarySource-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+document
+prefix frbr <http://purl.org/vocab/frbr/core#>
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://cultura.linkeddata.es/BNE/resource/C1001/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(cervantes,[prov:type='prov:Person', foaf:name = "Miguel de Cervantes" %% xsd:string])
+agent(ormsby,[prov:type='prov:Person', foaf:name = "John Ormsby" %% xsd:string])
+entity(XX2197892,[prov:type='frbr:Work', dcterms:language = "http://lexvo.org/id/iso639-3/spa" %% xsd:anyURI])
+entity(996,[prov:type='frbr:Work', dcterms:title = "Don Quixote" %% xsd:string, dcterms:language = "http://lexvo.org/id/iso639-3/eng" %% xsd:anyURI])
+wasAttributedTo(XX2197892, cervantes)
+wasAttributedTo(996, ormsby)
+wasDerivedFrom(996, XX2197892,[prov:type='prov:PrimarySource'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPrimarySource-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="cervantes">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <foaf:name xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">Miguel de Cervantes</foaf:name>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com/" prov:id="ormsby">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <foaf:name xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:string">John Ormsby</foaf:name>
+    </prov:agent>
+    <prov:entity xmlns="http://cultura.linkeddata.es/BNE/resource/C1001/" prov:id="XX2197892">
+        <prov:type xmlns:frbr="http://purl.org/vocab/frbr/core#" xsi:type="xsd:QName">frbr:Work</prov:type>
+        <dcterms:language xmlns:dcterms="http://purl.org/dc/terms/" xsi:type="xsd:anyURI">http://lexvo.org/id/iso639-3/spa</dcterms:language>
+    </prov:entity>
+    <prov:entity xmlns="http://www.gutenberg.org/ebooks/" prov:id="996">
+        <prov:type xmlns:frbr="http://purl.org/vocab/frbr/core#" xsi:type="xsd:QName">frbr:Work</prov:type>
+        <dcterms:title xmlns:dcterms="http://purl.org/dc/terms/" xsi:type="xsd:string">Don Quixote</dcterms:title>
+        <dcterms:language xmlns:dcterms="http://purl.org/dc/terms/" xsi:type="xsd:anyURI">http://lexvo.org/id/iso639-3/eng</dcterms:language>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://cultura.linkeddata.es/BNE/resource/C1001/" prov:ref="XX2197892"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="cervantes"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://www.gutenberg.org/ebooks/" prov:ref="996"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="ormsby"/>
+    </prov:wasAttributedTo>
+    <prov:wasDerivedFrom>
+        <prov:generatedEntity xmlns="http://www.gutenberg.org/ebooks/" prov:ref="996"/>
+        <prov:usedEntity xmlns="http://cultura.linkeddata.es/BNE/resource/C1001/" prov:ref="XX2197892"/>
+        <prov:type xsi:type="xsd:QName">prov:PrimarySource</prov:type>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadPrimarySource-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,37 @@
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix lang:    <http://lexvo.org/id/iso639-3/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix frbr:    <http://purl.org/vocab/frbr/core#> .
+@prefix :        <http://example.com/> .
+
+## Having an primary source is a particular case of derivation.
+
+<http://www.gutenberg.org/ebooks/996>
+   a prov:Entity, frbr:Work;
+   dcterms:title          "Don Quixote";
+   prov:wasAttributedTo   :ormsby;
+   dcterms:language       lang:eng;
+   prov:hadPrimarySource <http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892>;
+.
+
+#### The English version book is a translation that is based on the original Spanish book
+
+<http://cultura.linkeddata.es/BNE/resource/C1001/XX2197892>
+    a prov:Entity, frbr:Work;
+    prov:wasAttributedTo :cervantes;
+    dcterms:language     lang:spa;
+.
+
+:cervantes
+   a prov:Person;
+   foaf:name "Miguel de Cervantes";
+.
+
+:ormsby
+   a prov:Person;
+   foaf:name "John Ormsby";
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadQuoted-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bl-dagstuhl
+   a prov:Entity;
+   prov:wasQuotedFrom <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
+   prov:qualifiedQuotation [
+      a prov:Quotation;
+      prov:entity    <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
+      prov:hadQuoted <http://data.semanticweb.org/person/paul-groth>;
+   ] .
+
+<http://data.semanticweb.org/person/paul-groth> a prov:Person, prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadQuoter-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+
+:bl-dagstuhl
+   a prov:Entity;
+   prov:wasQuotedFrom <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
+   prov:qualifiedQuotation [
+      a prov:Quotation;
+      prov:entity <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
+      prov:hadQuoter <http://data.semanticweb.org/person/luc-moreau>;
+   ] .
+
+<http://data.semanticweb.org/person/luc-moreau> a prov:Person, prov:Agent .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadRole-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(divideActivity,-,-)
+entity(variableB)
+entity(variableA)
+used(divideActivity,variableB,-,[prov:role="org.openprovenance.prov.xml.AnyRef@337757b9[
+  ref={http://example.com/}divisor
+]" %% prov:unknownLiteral])
+used(divideActivity,variableA,-,[prov:role="org.openprovenance.prov.xml.AnyRef@3d3c3e45[
+  ref={http://example.com/}dividend
+]" %% prov:unknownLiteral])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadRole-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="divideActivity"/>
+    <prov:entity xmlns="http://example.com/" prov:id="variableB"/>
+    <prov:entity xmlns="http://example.com/" prov:id="variableA"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="variableB"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="divisor"/>
+    </prov:used>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="divideActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="variableA"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="dividend"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadRole-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,29 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:divideActivity 
+   a prov:Activity;   
+
+   prov:used         :variableA;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity    :variableA;
+      prov:hadRole   :dividend;          
+   ];
+   
+   prov:used         :variableB;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity    :variableB;
+      prov:hadRole   :divisor;          
+   ];
+.
+   
+:variableA a prov:Entity .
+:variableB a prov:Entity .
+
+:dividend a prov:Role .
+:divisor  a prov:Role .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadUsage-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(proteinSample)
+entity(digestedProteinSample1)
+wasDerivedFrom(digestedProteinSample1, proteinSample)
+wasDerivedFrom(digestedProteinSample1, -, -, -, node17d3ebifrx2)
+used(-,Trypsin,-,[prov:role="org.openprovenance.prov.xml.AnyRef@337757b9[
+  ref={http://example.com/}treatmentEnzyme
+]" %% prov:unknownLiteral])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadUsage-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="proteinSample"/>
+    <prov:entity xmlns="http://example.com/" prov:id="digestedProteinSample1"/>
+    <prov:wasDerivedFrom>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="digestedProteinSample1"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="proteinSample"/>
+    </prov:wasDerivedFrom>
+    <prov:used>
+        <prov:entity xmlns="http://example.com/" prov:ref="Trypsin"/>
+        <prov:role xmlns="http://example.com/" xsi:type="prov:AnyRef" prov:ref="treatmentEnzyme"/>
+    </prov:used>
+    <prov:wasDerivedFrom>
+        <prov:usage xmlns="" prov:ref="node17d3ebiqox2"/>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="digestedProteinSample1"/>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hadUsage-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+:digestedProteinSample1
+   a prov:Entity;
+   prov:wasDerivedFrom :proteinSample;
+   prov:qualifiedDerivation [
+      a prov:Derivation;
+      prov:hadUsage [
+         a prov:Usage;
+         prov:entity :Trypsin;
+        prov:hadRole :treatmentEnzyme;
+      ];
+   ];
+   prov:entity :proteinSample;
+.
+:proteinSample a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hasAnchor-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-hasAnchor-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influenced-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix tr <http://example.com/tech-report/>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+prefix w3 <http://example.com/w3/>
+agent(w3:Consortium)
+wasInfluencedBy(tr:WD-prov-dm-20111215, w3:Consortium)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influenced-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns:w3="http://example.com/w3/" prov:id="w3:Consortium"/>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns:tr="http://example.com/tech-report/" prov:ref="tr:WD-prov-dm-20111215"/>
+        <prov:influencer xmlns:w3="http://example.com/w3/" prov:ref="w3:Consortium"/>
+    </prov:wasInfluencedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influenced-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix w3:   <http://example.com/w3/> .
+@prefix tr:   <http://example.com/tech-report/> .
+@prefix :     <http://example.com/> .
+
+# prov:influenced is a top-level property that links any
+# Entity, Activity, or Agent to any other 
+# Entity, Activity, or Agent that it had an effect upon.
+
+w3:Consortium 
+   a prov:Agent;
+   prov:influenced tr:WD-prov-dm-20111215;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influencer-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(aggregationActivity,-,-)
+activity(illustrationActivity,-,-)
+agent(derek)
+entity(aggregatedByRegions)
+wasInformedBy(illustration_communication;illustrationActivity,aggregationActivity)
+used(illustration_usage;illustrationActivity,aggregatedByRegions,-)
+wasAssociatedWith(illustration_association;illustrationActivity,derek,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influencer-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="aggregationActivity"/>
+    <prov:activity xmlns="http://example.com/" prov:id="illustrationActivity"/>
+    <prov:agent xmlns="http://example.com/" prov:id="derek"/>
+    <prov:entity xmlns="http://example.com/" prov:id="aggregatedByRegions"/>
+    <prov:wasInformedBy xmlns="http://example.com/" prov:id="illustration_communication">
+        <prov:effect prov:ref="illustrationActivity"/>
+        <prov:cause prov:ref="aggregationActivity"/>
+    </prov:wasInformedBy>
+    <prov:used xmlns="http://example.com/" prov:id="illustration_usage">
+        <prov:activity prov:ref="illustrationActivity"/>
+        <prov:entity prov:ref="aggregatedByRegions"/>
+    </prov:used>
+    <prov:wasAssociatedWith xmlns="http://example.com/" prov:id="illustration_association">
+        <prov:activity prov:ref="illustrationActivity"/>
+        <prov:agent prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-influencer-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,34 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrationActivity 
+   a prov:Activity;
+   prov:qualifiedUsage         :illustration_usage;
+   prov:qualifiedAssociation   :illustration_association;
+   prov:qualifiedCommunication :illustration_communication;
+.
+
+:illustration_usage
+   a prov:Usage;
+   prov:entity     :aggregatedByRegions;
+   prov:influencer :aggregatedByRegions; # Inferred
+.
+
+:illustration_association
+   a prov:Association;
+   prov:agent      :derek;
+   prov:influencer :derek; # - - - - - - - Inferred
+.
+
+:illustration_communication
+   a prov:Communication;
+   prov:activity   :aggregationActivity;
+   prov:influencer :aggregationActivity; # Inferred
+.
+
+:aggregationActivity a prov:Activity .  
+:derek               a prov:Agent .
+:aggregatedByRegions a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidated-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix ex <http://example.com/ontology#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(swissair_Flight_111_crash,-,-)
+agent(Pablo_Picasso,[foaf:depiction = "http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg" %% xsd:anyURI])
+entity(the-Painter,[prov:type='ex:Painting', rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@12b43967[
+  value=Le Peintre
+  lang=fr
+]" %% xsd:string, rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@29345550[
+  value=The Painter
+  lang=en
+]" %% xsd:string])
+wasAttributedTo(the-Painter, Pablo_Picasso)
+wasInvalidatedBy(the-Painter,swissair_Flight_111_crash,-)
+used(swissair_Flight_111_crash,Swissair_Flight_111,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidated-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="swissair_Flight_111_crash"/>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Pablo_Picasso">
+        <foaf:depiction xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg</foaf:depiction>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="the-Painter">
+        <prov:type xmlns:ex="http://example.com/ontology#" xsi:type="xsd:QName">ex:Painting</prov:type>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@2a807bbc[
+  value=Le Peintre
+  lang=fr
+]</rdfs:label>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@4fe596de[
+  value=The Painter
+  lang=en
+]</rdfs:label>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Pablo_Picasso"/>
+    </prov:wasAttributedTo>
+    <prov:wasInvalidatedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="swissair_Flight_111_crash"/>
+    </prov:wasInvalidatedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="swissair_Flight_111_crash"/>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Swissair_Flight_111"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidated-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,27 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex:   <http://example.com/ontology#> .
+@prefix :     <http://example.com/> .
+
+:swissair_Flight_111_crash 
+   a prov:Activity;
+   prov:used        <http://dbpedia.org/resource/Swissair_Flight_111>;
+   prov:invalidated :the-Painter;
+.
+
+:the-Painter 
+   a prov:Entity, ex:Painting;
+   rdfs:label "Le Peintre"@fr, "The Painter"@en;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
+   
+   # Inferred from prov:invalidated
+   prov:wasInvalidatedBy :swissair_Flight_111_crash;   
+.
+
+<http://dbpedia.org/resource/Pablo_Picasso> 
+   a prov:Agent;
+   foaf:depiction <http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg>;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidatedAtTime-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix ex <http://example.com/ontology#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(the-Painter,[prov:type='ex:Painting', rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@337757b9[
+  value=Le Peintre
+  lang=fr
+]" %% xsd:string, rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@21e9c21c[
+  value=The Painter
+  lang=en
+]" %% xsd:string])
+wasAttributedTo(the-Painter, Pablo_Picasso)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidatedAtTime-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="the-Painter">
+        <prov:type xmlns:ex="http://example.com/ontology#" xsi:type="xsd:QName">ex:Painting</prov:type>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@6ffb75c7[
+  value=Le Peintre
+  lang=fr
+]</rdfs:label>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@672a1f0[
+  value=The Painter
+  lang=en
+]</rdfs:label>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Pablo_Picasso"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-invalidatedAtTime-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/ontology#> .
+@prefix :     <http://example.com/> .
+
+:the-Painter 
+   a prov:Entity, ex:Painting;
+   rdfs:label "Le Peintre"@fr, "The Painter"@en;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
+   prov:invalidatedAtTime "1998-09-02T01:31:00Z";
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-mentionOf-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,30 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix tool: <http://example.com/tool/> .
+@prefix perf: <http://example.com/performance/> .
+@prefix :     <http://example.com/> .
+
+:run2 {
+   :running_marathon
+      a prov:Activity;
+      prov:startedAtTime "2011-11-17T10:00:00"^^xsd:dateTime;
+      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime; 
+      prov:wasAssociatedWith :bob .
+   :bob-2011-11-17 prov:specializationOf :bob . 
+}
+
+tool:analysis_01 {
+   tool:bob-2011-11-17
+      a prov:Agent;
+      prov:mentionOf  :bob;
+      prov:asInBundle :run2;
+      perf:rating     perf:very-slow;
+   .
+}
+
+# This is inferred from prov:mentionOf
+
+# This is inferred from prov:specializationOf
+tool:bob-2011-11-17 prov:alternateOf      :bob . 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAssociation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,26 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+agent(steve,[prov:type='prov:Person'])
+agent(derek,[prov:type='prov:Person'])
+entity(style-guide,[prov:type='prov:Plan'])
+wasAssociatedWith(illustrating,derek,-)
+wasAssociatedWith(illustrating,steve,-)
+wasAssociatedWith(illustrating,steve,style-guide,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@68a48d59[
+  value=Steve helped Derek conform with the publisher's style guide.
+  lang=en
+]" %% xsd:string])
+wasAssociatedWith(illustrating,derek,-,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@6ae80f0d[
+  value=But Derek also did some styling of his own.
+  lang=en
+]" %% xsd:string])
+wasAssociatedWith(illustrating,derek,-,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@29345550[
+  value=Derek made the illustration
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAssociation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:agent xmlns="http://example.com/" prov:id="steve">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:agent xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="style-guide">
+        <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
+    </prov:entity>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="steve"/>
+        <prov:plan xmlns="http://example.com/" prov:ref="style-guide"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@2479c21f[
+  value=Steve helped Derek conform with the publisher's style guide.
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@710765e5[
+  value=But Derek also did some styling of his own.
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@4bdacf2[
+  value=Derek made the illustration
+  lang=en
+]</rdfs:comment>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAssociation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,37 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek, 
+                           :steve;
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent   :derek;
+        prov:hadRole :illustrationist;
+        rdfs:comment "Derek made the illustration"@en
+    ];
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent   :steve;
+        prov:hadRole :stylist;
+        prov:hadPlan :style-guide;
+        rdfs:comment "Steve helped Derek conform with the publisher's style guide."@en 
+    ];
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent   :derek;
+        prov:hadRole :stylist;
+        rdfs:comment "But Derek also did some styling of his own."@en 
+    ] .
+
+:derek a prov:Person, prov:Agent .
+:steve a prov:Person, prov:Agent .
+
+:illustratonist a prov:Role .
+:stylist        a prov:Role .
+
+:style-guide a prov:Plan, prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAttribution-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+agent(civil_action_group)
+entity(nationalRegionsList)
+entity(nationalRegionsList)
+wasAttributedTo(nationalRegionsList, civil_action_group)
+wasAttributedTo(nationalRegionsList, civil_action_group)
+wasAttributedTo(nationalRegionsList, civil_action_group,[ex:hadRole = "http://example.com/owner" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAttribution-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:agent xmlns="http://example.com/" prov:id="civil_action_group"/>
+    <prov:entity xmlns="http://example.com/" prov:id="nationalRegionsList"/>
+    <prov:entity xmlns="http://example.com/" prov:id="nationalRegionsList"/>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="nationalRegionsList"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="civil_action_group"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="nationalRegionsList"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="civil_action_group"/>
+    </prov:wasAttributedTo>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="nationalRegionsList"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="civil_action_group"/>
+        <ex:hadRole xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/owner</ex:hadRole>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedAttribution-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,26 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+## When the role of the agent is not known or does not matter:
+
+:nationalRegionsList 
+   a prov:Entity;
+   prov:wasAttributedTo :civil_action_group;
+.
+
+:civil_action_group a prov:Agent .
+
+## If we want to express the role of the agent:
+
+:nationalRegionsList 
+   a prov:Entity;
+   prov:qualifiedAttribution [
+      a prov:Attribution;
+      prov:agent :civil_action_group;
+      ex:hadRole :owner;
+   ]
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(writing-celebrity-gossip,-,-)
+activity(voicemail-interception,-,-)
+agent(journalist)
+agent(private-investigator)
+wasInformedBy(writing-celebrity-gossip,voicemail-interception)
+wasInformedBy(writing-celebrity-gossip,voicemail-interception,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@68a48d59[
+  value=The journalist was informed by the private 
+                      investigator, but we don't know how or what he was told.
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="writing-celebrity-gossip"/>
+    <prov:activity xmlns="http://example.com/" prov:id="voicemail-interception"/>
+    <prov:agent xmlns="http://example.com/" prov:id="journalist"/>
+    <prov:agent xmlns="http://example.com/" prov:id="private-investigator"/>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="writing-celebrity-gossip"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="voicemail-interception"/>
+    </prov:wasInformedBy>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="writing-celebrity-gossip"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="voicemail-interception"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@73a76837[
+  value=The journalist was informed by the private 
+                      investigator, but we don't know how or what he was told.
+  lang=en
+]</rdfs:comment>
+    </prov:wasInformedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,25 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:writing-celebrity-gossip 
+   a prov:Activity;
+   prov:wasAttributedTo :journalist;
+   prov:wasInformedBy   :voicemail-interception;
+   prov:qualifiedCommunication [
+      a prov:Communication;
+      prov:activity :voicemail-interception;
+      rdfs:comment """The journalist was informed by the private 
+                      investigator, but we don't know how or what he was told."""@en;
+   ];
+.
+
+:voicemail-interception 
+   a prov:Activity;
+   prov:wasAttributedTo :private-investigator;
+.
+
+:private-investigator a prov:Agent .
+:journalist           a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDelegation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,65 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:traffic-stop
+   a prov:Activity;
+   prov:wasAssociatedWith :chauffeur, 
+                          :traffic-officer-34;
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent :chauffeur;
+      
+      # The chauffeur was the one violating traffic rules.
+      prov:hadRole :violator; 
+   ];
+   prov:qualifiedAssociation [
+      a prov:Association;
+      prov:agent :traffic-officer-34;
+      
+      # The officer was the one enforcing the traffic rules.
+      prov:hadRole :enforcer; 
+   ];
+.
+
+:chauffeur       
+   a prov:Person;
+   prov:actedOnBehalfOf :celebrity-in-car;
+   prov:qualifiedDelegation [
+      a prov:Delegation;
+      prov:agent :celebrity-in-car;
+      
+      # The celebrity employed the chauffeur during the enforcement.
+      prov:hadRole :employer; 
+      prov:hadActivity	:driving-during-the-year ;
+   ];
+.
+
+#The chaffeur was employed for a whole year as a driver
+:driving-during-the-year   a   prov:Activity ;
+	prov:wasAssociatedWith :chaffeur;
+	prov:qualifiedAssociation [
+		a prov:Association;
+		prov:hadRole :driver;
+	];
+	prov:startedAtTime "2011-07-16T01:52:02Z"^^xsd:dateTime;
+	prov:endedAtTime "2012-07-16T01:52:02Z"^^xsd:dateTime;;
+.
+
+:traffic_officer_34 
+   a prov:Person;
+   prov:actedOnBehalfOf :city-of-Paris;
+   prov:qualifiedDelegation [
+      a prov:Delegation;
+      prov:agent :city-of-Paris;
+      
+      # The city of Paris employed the officer during the enforcement.
+      prov:hadRole :employer; 
+      prov:hadActivity	    :control-city-traffic ;
+   ];
+.
+
+:control-city-traffic   a   prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDerivation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(chart_creation,2011-07-16T01:52:02Z,2011-07-16T03:00:02Z)
+entity(bar_chart)
+wasAssociatedWith(chart_creation,derek,-)
+wasDerivedFrom(bar_chart, aggregatedByRegions, chart_creation, chat_plotting, -)
+wasGeneratedBy(chat_plotting;-,-,2011-07-16T03:00:02Z)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDerivation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="chart_creation">
+        <prov:startTime>2011-07-16T01:52:02Z</prov:startTime>
+        <prov:endTime>2011-07-16T03:00:02Z</prov:endTime>
+    </prov:activity>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="chart_creation"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasDerivedFrom>
+        <prov:generation xmlns="http://example.com/" prov:ref="chat_plotting"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="chart_creation"/>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasDerivedFrom>
+    <prov:wasGeneratedBy xmlns="http://example.com/" prov:id="chat_plotting">
+        <prov:time>2011-07-16T03:00:02Z</prov:time>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDerivation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,35 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart
+   a prov:Entity;
+   prov:wasDerivedFrom :aggregatedByRegions;
+   prov:qualifiedDerivation [
+      a prov:Derivation;
+      prov:entity :aggregatedByRegions; 
+      
+      ## More details about the activity underpinning the derivation        
+      prov:hadGeneration :chat_plotting; 
+      prov:hadActivity	 :chart_creation ;
+   ];
+.
+
+### The process of creating the chart, from loading the data, to process it, and plot it to end users
+
+:chart_creation
+    a    prov:Activity ;
+    prov:wasAssociatedWith :derek;
+    prov:startedAtTime  "2011-07-16T01:52:02Z"^^xsd:dateTime;
+    prov:endedAtTime	"2011-07-16T03:00:02Z"^^xsd:dateTime;
+.
+
+#### Now the chart is plotted
+
+:chat_plotting
+    a    prov:Generation ;
+    prov:atTime    "2011-07-16T03:00:02Z"^^xsd:dateTime;
+.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedEnd-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,29 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+### End can be used to qualify wasEndedBy with time and location information
+
+:experiment 
+   a prov:Activity;
+   prov:wasEndedBy :inconsistentResult;
+   prov:qualifiedEnd [
+      a prov:End;
+      prov:entity       :inconsistentResult;
+      prov:atTime       "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:atLocation   :scienceLab_003;
+      prov:hadActivity  :analyse_intermediate_result ; 
+   ];
+.
+   
+:inconsistentResult a prov:Entity .
+
+### An implicit process of analysing the intermediate result to confirm its expected consistency
+
+analyse_intermediate_result
+   a   prov:Activity ;
+   prov:startedAtTime   "2011-07-15T12:52:02Z"^^xsd:dateTime;
+   prov:endedAtTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+.
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedGeneration-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(bar_chart)
+wasGeneratedBy(bar_chart,illustrating,-,[rdfs:comment = "org.openprovenance.prov.xml.InternationalizedString@4173b223[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]" %% xsd:string])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedGeneration-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@37d5fc3d[
+  value=Ended up with bar chart as line chart looked ugly.
+  lang=en
+]</rdfs:comment>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedGeneration-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart
+   a prov:Entity;
+   prov:wasGeneratedBy :illustrating;
+   prov:qualifiedGeneration [
+      a prov:Generation;
+      prov:activity :illustrating;
+      rdfs:comment "Ended up with bar chart as line chart looked ugly."@en;
+   ];
+.
+
+:illustrating a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInfluence-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(conductingSurgery_1,-,-,[my:wasConductedBy = "http://example.com/bob" %% xsd:anyURI])
+agent(bob)
+wasInfluencedBy(conductingSurgery_1, bob)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInfluence-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="conductingSurgery_1">
+        <my:wasConductedBy xmlns:my="http://example.com/ontology#" xsi:type="xsd:anyURI">http://example.com/bob</my:wasConductedBy>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="bob"/>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="conductingSurgery_1"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="bob"/>
+    </prov:wasInfluencedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInfluence-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,30 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix my:   <http://example.com/ontology#> .
+@prefix :     <http://example.com/> .
+
+# Although a domain extension (e.g. ':wasConductedBy') is not defined by PROV-O,
+# the relation between a surgery and an agent can still be qualified
+# by reusing prov:Influence and one of its three subclasses:
+# AgentInfluence, EntityInfluence, and ActivityInfluence
+# (depending on the type of the influencing object).
+
+:conductingSurgery_1
+   a prov:Activity;
+
+   # This unqualified influence is unknown in PROV, 
+   # this would be a subproperty of wasAssociatedWith.
+   my:wasConductedBy    :bob;
+   prov:wasInfluencedBy :bob;  
+   prov:qualifiedInfluence [   
+      # Even though PROV systems do not understand :wasConductedBy, 
+      a prov:Influence;      # Inferred
+      prov:agent   :bob;     # The object of :wasConductedBy
+      prov:hadRole :surgeon;
+   ];
+.
+
+:bob       a prov:Agent .
+my:surgeon a prov:Role .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInvalidation-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix ex <http://example.com/ontology#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(swissair_Flight_111_crash,-,-)
+entity(the-Painter,[prov:type='ex:Painting', rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@535e6d4a[
+  value=Le Peintre
+  lang=fr
+]" %% xsd:string, rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@661aeeec[
+  value=The Painter
+  lang=en
+]" %% xsd:string])
+wasAttributedTo(the-Painter, Pablo_Picasso)
+wasInvalidatedBy(the-Painter,swissair_Flight_111_crash,1998-09-02T01:31:00Z,[prov:location="http://purl.org/twc/location/Swissair-Flight-111-crash" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInvalidation-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="swissair_Flight_111_crash"/>
+    <prov:entity xmlns="http://example.com/" prov:id="the-Painter">
+        <prov:type xmlns:ex="http://example.com/ontology#" xsi:type="xsd:QName">ex:Painting</prov:type>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@53ea7fbd[
+  value=Le Peintre
+  lang=fr
+]</rdfs:label>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@13ffd111[
+  value=The Painter
+  lang=en
+]</rdfs:label>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Pablo_Picasso"/>
+    </prov:wasAttributedTo>
+    <prov:wasInvalidatedBy>
+        <prov:time>1998-09-02T01:31:00Z</prov:time>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="swissair_Flight_111_crash"/>
+        <prov:location xsi:type="xsd:anyURI">http://purl.org/twc/location/Swissair-Flight-111-crash</prov:location>
+    </prov:wasInvalidatedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedInvalidation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/ontology#> .
+@prefix :     <http://example.com/> .
+
+:the-Painter 
+   a prov:Entity, ex:Painting;
+   rdfs:label "Le Peintre"@fr, "The Painter"@en;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
+
+   prov:wasInvalidatedBy :swissair_Flight_111_crash;
+   prov:qualifiedInvalidation [
+      a prov:Invalidation;
+      prov:activity    :swissair_Flight_111_crash;
+      prov:atTime      "1998-09-02T01:31:00Z"^^xsd:dateTime;
+      prov:atLocation  <http://purl.org/twc/location/Swissair-Flight-111-crash>;
+   ];
+. 
+
+:swissair_Flight_111_crash a prov:Activity .
+<http://purl.org/twc/location/Swissair-Flight-111-crash> a prov:Location .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedPrimarySource-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,24 @@
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix ex:      <http://example.com/vocab#> .
+@prefix :        <http://example.com/> .
+
+:temperatureDisplay
+   a prov:Entity;
+   prov:hadPrimarySource :sensorReading20120510;
+   prov:qualifiedPrimarySource [
+      a prov:PrimarySource;
+      prov:entity        :sensorReading20120510;
+      ex:precisionLoss true;
+      rdfs:comment """The displayed temperature does not show the full precision 
+                      available in the reading.""";
+   ];
+.
+
+:sensorReading20120510 
+   a prov:Entity;
+   prov:wasGeneratedBy :temperatureSensor;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedQuotation-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,32 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix my:   <http://example.com/vocab/my#> .
+@prefix :     <http://example.com/> .
+
+:bl-dagstuhl
+   a prov:Entity;
+   prov:value """During the workshop, it became clear to me that the consensus
+	based models (which are often graphical in nature) can not only be
+	formalized but also be directly connected to these database focused
+	formalizations. I just needed to get over the differences in syntax.
+	This could imply that we could have nice way to trace provenance across
+	systems and through databases and be able to understand the
+	mathematical properties of this interconnection.""";
+   prov:wasQuotedFrom <http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>;
+   prov:qualifiedQuotation [
+      a prov:Quotation;
+      prov:entity <http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>;
+      my:fromSection 1;
+   ];
+.
+
+<http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>
+   a prov:Entity;
+   prov:wasAttributedTo <http://data.semanticweb.org/person/paul-groth>;
+.
+
+<http://data.semanticweb.org/person/luc-moreau> a prov:Person, prov:Agent .
+<http://data.semanticweb.org/person/paul-groth> a prov:Person, prov:Agent .
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedRevision-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:draft2 
+   a prov:Entity;
+   prov:wasRevisionOf :draft1;
+   prov:qualifiedRevision [
+      a prov:Revision;
+      prov:entity :draft1
+   ];
+   prov:wasAssociatedWith :eddie;
+.
+
+:draft1 a prov:Entity .
+:eddie  a prov:Person, prov:Agent, prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedStart-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(consistency_checking,-,-)
+activity(syntax_checking,2011-07-06T01:48:36Z,2011-07-06T02:12:36Z)
+agent(syntax_checker,[prov:type='prov:SoftwareAgent'])
+entity(updated_data_record)
+wasStartedBy(consistency_checking,updated_data_record,-,-)
+wasAssociatedWith(syntax_checking,syntax_checker,-)
+wasStartedBy(consistency_checking,updated_data_record,syntax_checking,2011-07-06T01:48:36Z,[prov:location="http://example.com/scienceLab_003" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedStart-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="consistency_checking"/>
+    <prov:activity xmlns="http://example.com/" prov:id="syntax_checking">
+        <prov:startTime>2011-07-06T01:48:36Z</prov:startTime>
+        <prov:endTime>2011-07-06T02:12:36Z</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="syntax_checker">
+        <prov:type xsi:type="xsd:QName">prov:SoftwareAgent</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="updated_data_record"/>
+    <prov:wasStartedBy>
+        <prov:activity xmlns="http://example.com/" prov:ref="consistency_checking"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="updated_data_record"/>
+    </prov:wasStartedBy>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="syntax_checking"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="syntax_checker"/>
+    </prov:wasAssociatedWith>
+    <prov:wasStartedBy>
+        <prov:time>2011-07-06T01:48:36Z</prov:time>
+        <prov:activity xmlns="http://example.com/" prov:ref="consistency_checking"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="updated_data_record"/>
+        <prov:starter xmlns="http://example.com/" prov:ref="syntax_checking"/>
+        <prov:location xsi:type="xsd:anyURI">http://example.com/scienceLab_003</prov:location>
+    </prov:wasStartedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedStart-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,32 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# Start can be used to qualify wasStartedBy with time and location information.
+
+:consistency_checking
+   a prov:Activity;
+   prov:wasStartedBy :updated_data_record;
+   prov:qualifiedStart [
+      a prov:Start;
+      prov:entity       :updated_data_record;
+      prov:atTime       "2011-07-06T01:48:36Z"^^xsd:dateTime;
+      prov:atLocation   :scienceLab_003;
+      prov:hadActivity  :syntax_checking;
+   ];
+.
+
+:updated_data_record a prov:Entity .
+
+### There is an explicit process of checking the syntax of the updated data record
+
+:syntax_checking
+   a   prov:Activity ;
+   prov:startedAtTime      "2011-07-06T01:48:36Z"^^xsd:dateTime;
+   prov:endedAtTime        "2011-07-06T02:12:36Z"^^xsd:dateTime;
+   prov:wasAssociatedWith  :syntax_checker ;
+.
+
+:syntax_checker   a   prov:SoftwareAgent .
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedUsage-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(newsPublication,-,-)
+agent(reuters)
+entity(tsunami_image)
+used(newsPublication,tsunami_image,-,[ex:hasCopyrightPermission = "http://example.com/licensedUse" %% xsd:anyURI, ex:hasOwner = "http://example.com/reuters" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedUsage-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="newsPublication"/>
+    <prov:agent xmlns="http://example.com/" prov:id="reuters"/>
+    <prov:entity xmlns="http://example.com/" prov:id="tsunami_image"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="newsPublication"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="tsunami_image"/>
+        <ex:hasCopyrightPermission xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/licensedUse</ex:hasCopyrightPermission>
+        <ex:hasOwner xmlns:ex="http://example.com/vocab#" xsi:type="xsd:anyURI">http://example.com/reuters</ex:hasOwner>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-qualifiedUsage-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:newsPublication
+   a prov:Activity;
+   prov:used                    :tsunami_image;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity               :tsunami_image;
+      ex:hasCopyrightPermission :licensedUse;  
+      ex:hasOwner               :reuters;
+   ];
+.
+
+:tsunami_image a prov:Entity .
+:reuters       a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-removed-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,7 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-removed-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-specializationOf-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(node17d3eai9qx2,-,2012-04-13T00:00:00-04:00)
+activity(node17d3eai9qx1,-,2012-04-12T00:00:00-04:00)
+entity(london_forecast_0412)
+entity(london_forecast_0413)
+entity(london_forecast)
+wasAttributedTo(london_forecast_0412, bbc)
+wasGeneratedBy(london_forecast_0412,node17d3eai9qx1,-)
+alternateOf(london_forecast_0412,london_forecast_0413)
+specializationOf(london_forecast_0412,london_forecast)
+wasAttributedTo(london_forecast_0413, bbc)
+wasGeneratedBy(london_forecast_0413,node17d3eai9qx2,-)
+wasAttributedTo(london_forecast, bbc)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-specializationOf-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="" prov:id="node17d3eaiksx2">
+        <prov:endTime>2012-04-13T00:00:00-04:00</prov:endTime>
+    </prov:activity>
+    <prov:activity xmlns="" prov:id="node17d3eaiksx1">
+        <prov:endTime>2012-04-12T00:00:00-04:00</prov:endTime>
+    </prov:activity>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast_0412"/>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast_0413"/>
+    <prov:entity xmlns="http://example.com/" prov:id="london_forecast"/>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:activity xmlns="" prov:ref="node17d3eaiksx1"/>
+    </prov:wasGeneratedBy>
+    <prov:alternateOf>
+        <prov:entity2 xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:entity1 xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+    </prov:alternateOf>
+    <prov:specializationOf>
+        <prov:specializedEntity xmlns="http://example.com/" prov:ref="london_forecast_0412"/>
+        <prov:generalEntity xmlns="http://example.com/" prov:ref="london_forecast"/>
+    </prov:specializationOf>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast_0413"/>
+        <prov:activity xmlns="" prov:ref="node17d3eaiksx2"/>
+    </prov:wasGeneratedBy>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="london_forecast"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="bbc"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-specializationOf-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,36 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:london_forecast_0412 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+   prov:wasGeneratedBy [
+      a prov:Activity;
+      prov:endedAtTime "2012-04-12T00:00:00-04:00"^^xsd:dateTime;
+   ];
+.
+
+:london_forecast_0413 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+   prov:wasGeneratedBy [
+      a prov:Activity;
+      prov:endedAtTime "2012-04-13T00:00:00-04:00"^^xsd:dateTime;
+   ];
+.
+
+:london_forecast 
+   a prov:Entity;
+   prov:wasAttributedTo :bbc;
+.
+
+## :london_forecast_0412 and :london_forecast_0413 are both 
+## specialization of the more general entity :london_forecast
+
+:london_forecast_0412  
+   prov:alternateOf      :london_forecast_0413;
+   prov:specializationOf :london_forecast;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-startedAtTime-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(geneSequencing,2012-04-25T01:30:00Z,2012-04-25T03:40:00Z)
+agent(lab-technician-GH-32)
+entity(drosophilaSample-84)
+used(geneSequencing,drosophilaSample-84,-)
+wasAssociatedWith(geneSequencing,lab-technician-GH-32,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-startedAtTime-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="geneSequencing">
+        <prov:startTime>2012-04-25T01:30:00Z</prov:startTime>
+        <prov:endTime>2012-04-25T03:40:00Z</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="lab-technician-GH-32"/>
+    <prov:entity xmlns="http://example.com/" prov:id="drosophilaSample-84"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="drosophilaSample-84"/>
+    </prov:used>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="lab-technician-GH-32"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-startedAtTime-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:geneSequencing
+   a prov:Activity;
+   prov:startedAtTime "2012-04-25T01:30:00Z"^^xsd:dateTime;
+   prov:used              :drosophilaSample-84;
+   prov:wasAssociatedWith :lab-technician-GH-32;
+   prov:endedAtTime   "2012-04-25T03:40:00Z"^^xsd:dateTime;
+.
+
+:drosophilaSample-84  a prov:Entity .
+:lab-technician-GH-32 a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-used-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(sortActivity,-,-)
+entity(datasetB)
+entity(datasetA)
+used(sortActivity,datasetA,-)
+wasGeneratedBy(datasetB,sortActivity,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-used-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="sortActivity"/>
+    <prov:entity xmlns="http://example.com/" prov:id="datasetB"/>
+    <prov:entity xmlns="http://example.com/" prov:id="datasetA"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetA"/>
+    </prov:used>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="datasetB"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="sortActivity"/>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-used-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:sortActivity
+   a prov:Activity;
+   prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+   prov:used       :datasetA;
+   prov:generated  :datasetB;
+.
+
+:datasetA a prov:Entity.
+:datasetB a prov:Entity.
+
+# See qualified Usage for example on how the role of :datasetA can be described for this Activity
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAssociatedWith-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+agent(derek,[prov:type='prov:Person', prov:type='prov:Entity'])
+entity(derek,[prov:type='prov:Person', prov:type='prov:Agent'])
+wasAssociatedWith(illustrating,derek,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAssociatedWith-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:agent xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Entity</prov:type>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="derek">
+        <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
+        <prov:type xsi:type="xsd:QName">prov:Agent</prov:type>
+    </prov:entity>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAssociatedWith-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrating
+   a prov:Activity; 
+   prov:wasAssociatedWith :derek;
+.
+
+:derek a prov:Person, prov:Agent, prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAttributedTo-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(geneSequencing,2012-04-25T01:30:00Z,2012-04-25T03:40:00Z)
+agent(lab-technician-GH-32)
+agent(lab-technician-FE-56)
+entity(drosophilaSample-84)
+used(geneSequencing,drosophilaSample-84,-)
+wasAssociatedWith(geneSequencing,lab-technician-GH-32,-)
+wasAttributedTo(drosophilaSample-84, lab-technician-FE-56)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAttributedTo-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="geneSequencing">
+        <prov:startTime>2012-04-25T01:30:00Z</prov:startTime>
+        <prov:endTime>2012-04-25T03:40:00Z</prov:endTime>
+    </prov:activity>
+    <prov:agent xmlns="http://example.com/" prov:id="lab-technician-GH-32"/>
+    <prov:agent xmlns="http://example.com/" prov:id="lab-technician-FE-56"/>
+    <prov:entity xmlns="http://example.com/" prov:id="drosophilaSample-84"/>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="drosophilaSample-84"/>
+    </prov:used>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="geneSequencing"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="lab-technician-GH-32"/>
+    </prov:wasAssociatedWith>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="drosophilaSample-84"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="lab-technician-FE-56"/>
+    </prov:wasAttributedTo>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasAttributedTo-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,21 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:geneSequencing
+   a prov:Activity;
+   prov:startedAtTime "2012-04-25T01:30:00Z"^^xsd:dateTime;
+   prov:used              :drosophilaSample-84;
+   prov:wasAssociatedWith :lab-technician-GH-32;
+   prov:endedAtTime   "2012-04-25T03:40:00Z"^^xsd:dateTime;
+.
+
+:drosophilaSample-84  
+   a prov:Entity;
+   prov:wasAttributedTo :lab-technician-FE-56;
+.
+
+:lab-technician-GH-32 a prov:Agent .
+:lab-technician-FE-56 a prov:Agent .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasDerivedFrom-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix ex <http://example.com/vocab#>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(bar_chart,[prov:type='ex:Barchart'])
+entity(aggregatedByRegions,[prov:type='ex:Dataset'])
+wasDerivedFrom(bar_chart, aggregatedByRegions)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasDerivedFrom-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart">
+        <prov:type xmlns:ex="http://example.com/vocab#" xsi:type="xsd:QName">ex:Barchart</prov:type>
+    </prov:entity>
+    <prov:entity xmlns="http://example.com/" prov:id="aggregatedByRegions">
+        <prov:type xmlns:ex="http://example.com/vocab#" xsi:type="xsd:QName">ex:Dataset</prov:type>
+    </prov:entity>
+    <prov:wasDerivedFrom>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasDerivedFrom-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex:   <http://example.com/vocab#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart 
+   a prov:Entity, ex:Barchart;
+   prov:wasDerivedFrom :aggregatedByRegions;
+.
+
+:aggregatedByRegions
+   a prov:Entity, ex:Dataset;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasEndedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(experiment,-,-)
+entity(inconsistentResult)
+wasEndedBy(experiment,inconsistentResult,-,-)
+wasEndedBy(experiment,inconsistentResult,-,2011-07-16T01:52:02Z,[prov:location="http://example.com/scienceLab_003" %% xsd:anyURI])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasEndedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="experiment"/>
+    <prov:entity xmlns="http://example.com/" prov:id="inconsistentResult"/>
+    <prov:wasEndedBy>
+        <prov:activity xmlns="http://example.com/" prov:ref="experiment"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="inconsistentResult"/>
+    </prov:wasEndedBy>
+    <prov:wasEndedBy>
+        <prov:time>2011-07-16T01:52:02Z</prov:time>
+        <prov:activity xmlns="http://example.com/" prov:ref="experiment"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="inconsistentResult"/>
+        <prov:location xsi:type="xsd:anyURI">http://example.com/scienceLab_003</prov:location>
+    </prov:wasEndedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasEndedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,19 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:experiment 
+   a prov:Activity;
+   prov:wasEndedBy :inconsistentResult;
+   prov:qualifiedEnd [
+      a prov:End;
+      prov:entity     :inconsistentResult;
+      prov:atTime    "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:atLocation :scienceLab_003;
+   ];
+.
+
+:inconsistentResult a prov:Entity .
+:scienceLab_003     a prov:Location .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasGeneratedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(illustrating,-,-)
+entity(bar_chart)
+wasGeneratedBy(bar_chart,illustrating,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasGeneratedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="illustrating"/>
+    <prov:entity xmlns="http://example.com/" prov:id="bar_chart"/>
+    <prov:wasGeneratedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="bar_chart"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrating"/>
+    </prov:wasGeneratedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasGeneratedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bar_chart
+   a prov:Entity;
+   prov:wasGeneratedBy :illustrating;
+.
+
+:illustrating a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInfluencedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,25 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(aggregationActivity,-,-)
+activity(illustrationActivity,-,-)
+activity(illustrationActivity,-,-)
+agent(derek)
+entity(aggregatedByRegions)
+wasInfluencedBy(illustrationActivity, aggregatedByRegions)
+wasInfluencedBy(illustrationActivity, derek)
+wasInfluencedBy(illustrationActivity, aggregationActivity)
+used(illustrationActivity,aggregatedByRegions,-)
+wasAssociatedWith(illustrationActivity,derek,-)
+wasInformedBy(illustrationActivity,aggregationActivity)
+wasInfluencedBy(illustrationActivity, aggregatedByRegions)
+wasInfluencedBy(illustrationActivity, derek)
+wasInfluencedBy(illustrationActivity, aggregationActivity)
+used(illustrationActivity,aggregatedByRegions,-)
+wasAssociatedWith(illustrationActivity,derek,-)
+wasInformedBy(illustrationActivity,aggregationActivity)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInfluencedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="aggregationActivity"/>
+    <prov:activity xmlns="http://example.com/" prov:id="illustrationActivity"/>
+    <prov:activity xmlns="http://example.com/" prov:id="illustrationActivity"/>
+    <prov:agent xmlns="http://example.com/" prov:id="derek"/>
+    <prov:entity xmlns="http://example.com/" prov:id="aggregatedByRegions"/>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasInfluencedBy>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasInfluencedBy>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="aggregationActivity"/>
+    </prov:wasInfluencedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:used>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="aggregationActivity"/>
+    </prov:wasInformedBy>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:wasInfluencedBy>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasInfluencedBy>
+    <prov:wasInfluencedBy>
+        <prov:influencee xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:influencer xmlns="http://example.com/" prov:ref="aggregationActivity"/>
+    </prov:wasInfluencedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:entity xmlns="http://example.com/" prov:ref="aggregatedByRegions"/>
+    </prov:used>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="derek"/>
+    </prov:wasAssociatedWith>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="illustrationActivity"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="aggregationActivity"/>
+    </prov:wasInformedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInfluencedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:illustrationActivity 
+   a prov:Activity;
+   prov:used              :aggregatedByRegions;
+   prov:wasAssociatedWith :derek;
+   prov:wasInformedBy     :aggregationActivity;
+.
+
+:illustrationActivity 
+   a prov:Activity;
+   prov:wasInfluencedBy :aggregatedByRegions, # prov:wasInfluencedBy is a superproperty of
+                        :derek,               # many of the direct binary
+                        :aggregationActivity; # PROV-O properties.
+.
+
+:aggregationActivity a prov:Activity .  
+:derek               a prov:Agent .
+:aggregatedByRegions a prov:Entity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInformedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(writing-celebrity-gossip,-,-)
+activity(voicemail-interception,-,-)
+wasInformedBy(writing-celebrity-gossip,voicemail-interception)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInformedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="writing-celebrity-gossip"/>
+    <prov:activity xmlns="http://example.com/" prov:id="voicemail-interception"/>
+    <prov:wasInformedBy>
+        <prov:effect xmlns="http://example.com/" prov:ref="writing-celebrity-gossip"/>
+        <prov:cause xmlns="http://example.com/" prov:ref="voicemail-interception"/>
+    </prov:wasInformedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInformedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:writing-celebrity-gossip 
+   a prov:Activity;
+   prov:wasInformedBy :voicemail-interception;
+.
+
+:voicemail-interception a prov:Activity .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInvalidatedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,20 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://dbpedia.org/resource/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(Swissair_Flight_111_crash,-,-)
+agent(Pablo_Picasso,[foaf:depiction = "http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg" %% xsd:anyURI])
+entity(the-Painter,[prov:type='Painting', rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@7624a2c8[
+  value=Le Peintre
+  lang=fr
+]" %% xsd:string, rdfs:label = "org.openprovenance.prov.xml.InternationalizedString@2acd0c52[
+  value=The Painter
+  lang=en
+]" %% xsd:string])
+wasAttributedTo(the-Painter, Pablo_Picasso)
+wasInvalidatedBy(the-Painter,Swissair_Flight_111_crash,-)
+used(Swissair_Flight_111_crash,Swissair_Flight_111,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInvalidatedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="Swissair_Flight_111_crash"/>
+    <prov:agent xmlns="http://dbpedia.org/resource/" prov:id="Pablo_Picasso">
+        <foaf:depiction xmlns:foaf="http://xmlns.com/foaf/0.1/" xsi:type="xsd:anyURI">http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg</foaf:depiction>
+    </prov:agent>
+    <prov:entity xmlns="http://example.com/" prov:id="the-Painter">
+        <prov:type xsi:type="xsd:QName">Painting</prov:type>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@2352fd52[
+  value=Le Peintre
+  lang=fr
+]</rdfs:label>
+        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">org.openprovenance.prov.xml.InternationalizedString@347e4f51[
+  value=The Painter
+  lang=en
+]</rdfs:label>
+    </prov:entity>
+    <prov:wasAttributedTo>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:agent xmlns="http://dbpedia.org/resource/" prov:ref="Pablo_Picasso"/>
+    </prov:wasAttributedTo>
+    <prov:wasInvalidatedBy>
+        <prov:entity xmlns="http://example.com/" prov:ref="the-Painter"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="Swissair_Flight_111_crash"/>
+    </prov:wasInvalidatedBy>
+    <prov:used>
+        <prov:activity xmlns="http://example.com/" prov:ref="Swissair_Flight_111_crash"/>
+        <prov:entity xmlns="http://dbpedia.org/resource/" prov:ref="Swissair_Flight_111"/>
+    </prov:used>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasInvalidatedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix :     <http://example.com/> .
+
+:the-Painter 
+   a prov:Entity, :Painting;
+   rdfs:label "Le Peintre"@fr, "The Painter"@en;
+   prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
+   prov:wasInvalidatedBy :Swissair_Flight_111_crash; #The painting was destroyed in an airplane crash
+.
+
+<http://dbpedia.org/resource/Pablo_Picasso> 
+   a prov:Agent;
+   foaf:depiction <http://upload.wikimedia.org/wikipedia/commons/9/98/Pablo_picasso_1.jpg>;
+.
+
+:Swissair_Flight_111_crash 
+   a prov:Activity;
+   prov:used <http://dbpedia.org/resource/Swissair_Flight_111>;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasQuotedFrom-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,17 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://purl.org/twc/page/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(bl-dagstuhl,[prov:value="During the workshop, it became clear to me that the consensus
+	based models (which are often graphical in nature) can not only be
+	formalized but also be directly connected to these database focused
+	formalizations. I just needed to get over the differences in syntax.
+	This could imply that we could have nice way to trace provenance across
+	systems and through databases and be able to understand the
+	mathematical properties of this interconnection." %% xsd:string])
+entity(thoughts-from-the-dagstuhl-workshop)
+wasDerivedFrom(bl-dagstuhl, thoughts-from-the-dagstuhl-workshop,[prov:type='prov:Quotation'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasQuotedFrom-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="bl-dagstuhl">
+        <prov:value xsi:type="xsd:string">During the workshop, it became clear to me that the consensus
+	based models (which are often graphical in nature) can not only be
+	formalized but also be directly connected to these database focused
+	formalizations. I just needed to get over the differences in syntax.
+	This could imply that we could have nice way to trace provenance across
+	systems and through databases and be able to understand the
+	mathematical properties of this interconnection.</prov:value>
+    </prov:entity>
+    <prov:entity xmlns="http://purl.org/twc/page/" prov:id="thoughts-from-the-dagstuhl-workshop"/>
+    <prov:wasDerivedFrom>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="bl-dagstuhl"/>
+        <prov:usedEntity xmlns="http://purl.org/twc/page/" prov:ref="thoughts-from-the-dagstuhl-workshop"/>
+        <prov:type xsi:type="xsd:QName">prov:Quotation</prov:type>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasQuotedFrom-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,23 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+:bl-dagstuhl
+   a prov:Entity;
+
+   prov:value """During the workshop, it became clear to me that the consensus
+	based models (which are often graphical in nature) can not only be
+	formalized but also be directly connected to these database focused
+	formalizations. I just needed to get over the differences in syntax.
+	This could imply that we could have nice way to trace provenance across
+	systems and through databases and be able to understand the
+	mathematical properties of this interconnection.""";
+
+   prov:wasQuotedFrom <http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>;
+.
+
+<http://purl.org/twc/page/thoughts-from-the-dagstuhl-workshop>
+   a prov:Entity;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasRevisionOf-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix sioc <http://rdfs.org/sioc/ns#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+entity(post9821v1,[prov:type='sioc:Post', rdfs:comment = ":post9821v1 is a post, which is a revision of the original post :post9821." %% xsd:string])
+wasDerivedFrom(post9821v1, post9821,[prov:type='prov:Revision'])
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasRevisionOf-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:entity xmlns="http://example.com/" prov:id="post9821v1">
+        <prov:type xmlns:sioc="http://rdfs.org/sioc/ns#" xsi:type="xsd:QName">sioc:Post</prov:type>
+        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xsi:type="xsd:string">:post9821v1 is a post, which is a revision of the original post :post9821.</rdfs:comment>
+    </prov:entity>
+    <prov:wasDerivedFrom>
+        <prov:generatedEntity xmlns="http://example.com/" prov:ref="post9821v1"/>
+        <prov:usedEntity xmlns="http://example.com/" prov:ref="post9821"/>
+        <prov:type xsi:type="xsd:QName">prov:Revision</prov:type>
+    </prov:wasDerivedFrom>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasRevisionOf-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,12 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
+@prefix :     <http://example.com/> .
+
+:post9821v1
+   a prov:Entity, sioc:Post;
+   prov:wasRevisionOf :post9821;
+   rdfs:comment ":post9821v1 is a post, which is a revision of the original post :post9821.";
+.    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasStartedBy-PASS.provn	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,11 @@
+document
+prefix xsd <http://www.w3.org/2001/XMLSchema>
+prefix prim <http://openprovenance.org/primitives#>
+default <http://example.com/>
+prefix prov <http://www.w3.org/ns/prov#>
+prefix xsi <http://www.w3.org/2001/XMLSchema-instance>
+prefix pc1 <http://www.ipaw.info/pc1/>
+activity(experiment,-,-)
+agent(researcher)
+wasStartedBy(experiment,researcher,-,-)
+endDocument
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasStartedBy-PASS.provx	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:ns3="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:prim="http://openprovenance.org/primitives#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc1="http://www.ipaw.info/pc1/">
+    <prov:activity xmlns="http://example.com/" prov:id="experiment"/>
+    <prov:agent xmlns="http://example.com/" prov:id="researcher"/>
+    <prov:wasStartedBy>
+        <prov:activity xmlns="http://example.com/" prov:ref="experiment"/>
+        <prov:trigger xmlns="http://example.com/" prov:ref="researcher"/>
+    </prov:wasStartedBy>
+</prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testcases/provo/prov-o-property-wasStartedBy-PASS.ttl	Wed Nov 28 13:01:21 2012 +0000
@@ -0,0 +1,14 @@
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix :     <http://example.com/> .
+
+# Use prov:qualifiedStart to see when and where the activity was started
+
+:experiment
+	a prov:Activity;
+	prov:wasStartedBy :researcher;
+.
+
+:researcher a prov:Agent .