Fixed prov-o-property-qualifiedCommunication-PASS constraint test case
authorTrung Dong Huynh <tdh@ecs.soton.ac.uk>
Mon, 07 Jan 2013 16:26:04 +0000
changeset 5384 b70b89f44da4
parent 5383 6e812c600d9f
child 5385 3d1243bf7709
Fixed prov-o-property-qualifiedCommunication-PASS constraint test case
testcases/provo/prov-o-property-qualifiedCommunication-PASS.provn
testcases/provo/prov-o-property-qualifiedCommunication-PASS.provx
testcases/provo/prov-o-property-qualifiedCommunication-PASS.ttl
--- a/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provn	Mon Jan 07 12:29:47 2013 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provn	Mon Jan 07 16:26:04 2013 +0000
@@ -9,5 +9,6 @@
 
   wasAssociatedWith(writing-celebrity-gossip,journalist,-)
   wasInformedBy(writing-celebrity-gossip,voicemail-interception)
+  wasAssociatedWith(def:voicemail-interception,def:private-investigator,-)
   wasInformedBy(writing-celebrity-gossip,voicemail-interception,[rdfs:comment = "The journalist was informed by the private investigator, but we don't know how or what he was told."@en %% xsd:string])
 endDocument
\ No newline at end of file
--- a/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provx	Mon Jan 07 12:29:47 2013 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.provx	Mon Jan 07 16:26:04 2013 +0000
@@ -1,21 +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:def="http://example.com/" prov:id="def:writing-celebrity-gossip"/>
-    <prov:activity xmlns:def="http://example.com/" prov:id="def:voicemail-interception"/>
-    <prov:agent xmlns:def="http://example.com/" prov:id="def:journalist"/>
-    <prov:agent xmlns:def="http://example.com/" prov:id="def:private-investigator"/>
+<prov:document xmlns:prov="http://www.w3.org/ns/prov#" xmlns:ns2="http://openprovenance.org/collection#" xmlns:val="http://openprovenance.org/validation#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:vsi="http://openprovenance.org/validation/service/instance" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:def="http://example.com/" xmlns:vs="http://openprovenance.org/validation/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns11="http://www.w3.org/2001/XMLSchema">
+    <prov:activity prov:id="def:writing-celebrity-gossip"/>
+    <prov:activity prov:id="def:voicemail-interception"/>
+    <prov:agent prov:id="def:journalist"/>
+    <prov:agent prov:id="def:private-investigator"/>
     <prov:wasAssociatedWith>
         <prov:activity prov:ref="def:writing-celebrity-gossip"/>
         <prov:agent prov:ref="def:journalist"/>
     </prov:wasAssociatedWith>
     <prov:wasInformedBy>
-        <prov:effect xmlns:def="http://example.com/" prov:ref="def:writing-celebrity-gossip"/>
-        <prov:cause xmlns:def="http://example.com/" prov:ref="def:voicemail-interception"/>
+        <prov:effect prov:ref="def:writing-celebrity-gossip"/>
+        <prov:cause prov:ref="def:voicemail-interception"/>
     </prov:wasInformedBy>
+    <prov:wasAssociatedWith>
+        <prov:activity prov:ref="def:voicemail-interception"/>
+        <prov:agent prov:ref="def:private-investigator"/>
+    </prov:wasAssociatedWith>
     <prov:wasInformedBy>
-        <prov:effect xmlns:def="http://example.com/" prov:ref="def:writing-celebrity-gossip"/>
-        <prov:cause xmlns:def="http://example.com/" prov:ref="def:voicemail-interception"/>
-        <rdfs:comment xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xml:lang="en" xsi:type="xsd:string">The journalist was informed by the private 
+        <prov:effect prov:ref="def:writing-celebrity-gossip"/>
+        <prov:cause prov:ref="def:voicemail-interception"/>
+        <rdfs:comment xml:lang="en" xsi:type="xsd:string">The journalist was informed by the private 
                       investigator, but we don't know how or what he was told.</rdfs:comment>
     </prov:wasInformedBy>
 </prov:document>
--- a/testcases/provo/prov-o-property-qualifiedCommunication-PASS.ttl	Mon Jan 07 12:29:47 2013 +0000
+++ b/testcases/provo/prov-o-property-qualifiedCommunication-PASS.ttl	Mon Jan 07 16:26:04 2013 +0000
@@ -18,7 +18,7 @@
 
 :voicemail-interception
    a prov:Activity;
-   prov:wasAttributedTo :private-investigator;
+   prov:wasAssociatedWith :private-investigator;
 .
 
 :private-investigator a prov:Agent .