Fixed typos in qualifiedDelegation test case
authorT Dong Huynh <tdh@ecs.soton.ac.uk>
Thu, 29 Nov 2012 09:34:44 +0000
changeset 5186 8e56d67e5609
parent 5185 1fc008b3bdf7
child 5187 c405fd87f723
Fixed typos in qualifiedDelegation test case
testcases/provo/prov-o-property-qualifiedDelegation-PASS.provn
testcases/provo/prov-o-property-qualifiedDelegation-PASS.provx
testcases/provo/prov-o-property-qualifiedDelegation-PASS.ttl
--- a/testcases/provo/prov-o-property-qualifiedDelegation-PASS.provn	Wed Nov 28 16:47:04 2012 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDelegation-PASS.provn	Thu Nov 29 09:34:44 2012 +0000
@@ -8,16 +8,16 @@
 activity(control-city-traffic,-,-)
 activity(driving-during-the-year,2011-07-16T01:52:02Z,2012-07-16T01:52:02Z)
 activity(traffic-stop,-,-)
-agent(traffic_officer_34,[prov:type='prov:Person'])
+agent(traffic-officer-34,[prov:type='prov:Person'])
 agent(chauffeur,[prov:type='prov:Person'])
-actedOnBehalfOf(traffic_officer_34,city-of-Paris,-)
-wasAssociatedWith(driving-during-the-year,chaffeur,-)
+wasAssociatedWith(driving-during-the-year,chauffeur,-)
+actedOnBehalfOf(traffic-officer-34,city-of-Paris,-)
 actedOnBehalfOf(chauffeur,celebrity-in-car,-)
 wasAssociatedWith(traffic-stop,chauffeur,-)
 wasAssociatedWith(traffic-stop,traffic-officer-34,-)
 wasAssociatedWith(traffic-stop,chauffeur,-)
-wasAssociatedWith(traffic-stop,traffic-officer-34,-)
+actedOnBehalfOf(traffic-officer-34,city-of-Paris,control-city-traffic)
+wasAssociatedWith(driving-during-the-year,-,-)
 actedOnBehalfOf(chauffeur,celebrity-in-car,driving-during-the-year)
-actedOnBehalfOf(traffic_officer_34,city-of-Paris,control-city-traffic)
-wasAssociatedWith(driving-during-the-year,-,-)
+wasAssociatedWith(traffic-stop,traffic-officer-34,-)
 endDocument
\ No newline at end of file
--- a/testcases/provo/prov-o-property-qualifiedDelegation-PASS.provx	Wed Nov 28 16:47:04 2012 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDelegation-PASS.provx	Thu Nov 29 09:34:44 2012 +0000
@@ -6,20 +6,20 @@
         <prov:endTime>2012-07-16T01:52:02Z</prov:endTime>
     </prov:activity>
     <prov:activity xmlns="http://example.com/" prov:id="traffic-stop"/>
-    <prov:agent xmlns="http://example.com/" prov:id="traffic_officer_34">
+    <prov:agent xmlns="http://example.com/" prov:id="traffic-officer-34">
         <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
     </prov:agent>
     <prov:agent xmlns="http://example.com/" prov:id="chauffeur">
         <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
     </prov:agent>
+    <prov:wasAssociatedWith>
+        <prov:activity xmlns="http://example.com/" prov:ref="driving-during-the-year"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="chauffeur"/>
+    </prov:wasAssociatedWith>
     <prov:actedOnBehalfOf>
-        <prov:subordinate xmlns="http://example.com/" prov:ref="traffic_officer_34"/>
+        <prov:subordinate xmlns="http://example.com/" prov:ref="traffic-officer-34"/>
         <prov:responsible xmlns="http://example.com/" prov:ref="city-of-Paris"/>
     </prov:actedOnBehalfOf>
-    <prov:wasAssociatedWith>
-        <prov:activity xmlns="http://example.com/" prov:ref="driving-during-the-year"/>
-        <prov:agent xmlns="http://example.com/" prov:ref="chaffeur"/>
-    </prov:wasAssociatedWith>
     <prov:actedOnBehalfOf>
         <prov:subordinate xmlns="http://example.com/" prov:ref="chauffeur"/>
         <prov:responsible xmlns="http://example.com/" prov:ref="celebrity-in-car"/>
@@ -32,17 +32,13 @@
         <prov:activity xmlns="http://example.com/" prov:ref="traffic-stop"/>
         <prov:agent xmlns="http://example.com/" prov:ref="traffic-officer-34"/>
     </prov:wasAssociatedWith>
-    <prov:actedOnBehalfOf>
-        <prov:subordinate xmlns="http://example.com/" prov:ref="traffic_officer_34"/>
-        <prov:responsible xmlns="http://example.com/" prov:ref="city-of-Paris"/>
-        <prov:activity xmlns="http://example.com/" prov:ref="control-city-traffic"/>
-    </prov:actedOnBehalfOf>
     <prov:wasAssociatedWith>
-        <prov:activity xmlns="http://example.com/" prov:ref="driving-during-the-year"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="traffic-stop"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="chauffeur"/>
     </prov:wasAssociatedWith>
     <prov:wasAssociatedWith>
         <prov:activity xmlns="http://example.com/" prov:ref="traffic-stop"/>
-        <prov:agent xmlns="http://example.com/" prov:ref="chauffeur"/>
+        <prov:agent xmlns="http://example.com/" prov:ref="traffic-officer-34"/>
     </prov:wasAssociatedWith>
     <prov:actedOnBehalfOf>
         <prov:subordinate xmlns="http://example.com/" prov:ref="chauffeur"/>
@@ -50,7 +46,11 @@
         <prov:activity xmlns="http://example.com/" prov:ref="driving-during-the-year"/>
     </prov:actedOnBehalfOf>
     <prov:wasAssociatedWith>
-        <prov:activity xmlns="http://example.com/" prov:ref="traffic-stop"/>
-        <prov:agent xmlns="http://example.com/" prov:ref="traffic-officer-34"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="driving-during-the-year"/>
     </prov:wasAssociatedWith>
+    <prov:actedOnBehalfOf>
+        <prov:subordinate xmlns="http://example.com/" prov:ref="traffic-officer-34"/>
+        <prov:responsible xmlns="http://example.com/" prov:ref="city-of-Paris"/>
+        <prov:activity xmlns="http://example.com/" prov:ref="control-city-traffic"/>
+    </prov:actedOnBehalfOf>
 </prov:document>
--- a/testcases/provo/prov-o-property-qualifiedDelegation-PASS.ttl	Wed Nov 28 16:47:04 2012 +0000
+++ b/testcases/provo/prov-o-property-qualifiedDelegation-PASS.ttl	Thu Nov 29 09:34:44 2012 +0000
@@ -39,9 +39,9 @@
    ];
 .
 
-#The chaffeur was employed for a whole year as a driver
+#The chauffeur was employed for a whole year as a driver
 :driving-during-the-year   a   prov:Activity ;
-	prov:wasAssociatedWith :chaffeur;
+	prov:wasAssociatedWith :chauffeur;
 	prov:qualifiedAssociation [
 		a prov:Association;
 		prov:hadRole :driver;
@@ -50,7 +50,7 @@
 	prov:endedAtTime "2012-07-16T01:52:02Z"^^xsd:dateTime;
 .
 
-:traffic_officer_34 
+:traffic-officer-34 
    a prov:Person;
    prov:actedOnBehalfOf :city-of-Paris;
    prov:qualifiedDelegation [