association
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Wed, 25 Apr 2012 15:09:21 +0100
changeset 2533 807d0b45705d
parent 2532 e88302053230
child 2534 ae2fd4f4f232
association
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Association.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAssociatedWith.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Association.ttl	Wed Apr 25 14:52:20 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Association.ttl	Wed Apr 25 15:09:21 2012 +0100
@@ -4,4 +4,26 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek, :steve ;
+    prov:qualifiedAssociation [
+        a prov:Association ;
+        prov:agent :derek ;
+        prov:role :illustrationist
+    ] ;
+    prov:qualifiedAssociation [
+        a prov:Association ;
+        prov:agent :steve ;
+        prov:role :stylist ;
+        prov:hadPlan :houseStyles ;
+        rdfs:comment "Steve helped Derek conform with the house style"@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 .
+
+:houseStyles a prov:Plan, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Wed Apr 25 14:52:20 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Wed Apr 25 15:09:21 2012 +0100
@@ -4,4 +4,33 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:illustrating
+    a prov:Activity; 
+    prov:wasAssociatedWith :derek, :steve ;
+    prov:qualifiedAssociation [
+        a prov:Association ;
+        prov:agent :derek ;
+        prov:role :illustrationist ;
+        rdfs:comment "Derek made the illustration"@en
+    ] ;
+    prov:qualifiedAssociation [
+        a prov:Association ;
+        prov:agent :steve ;
+        prov:role :stylist ;
+        prov:hadPlan :houseStyles ;
+        rdfs:comment "Steve helped Derek conform with the house style"@en 
+    ] ;
+    prov:qualifiedAssociation [
+        a prov:Association ;
+        prov:agent :derek ;
+        prov:role :stylist ;
+        rdfs:comment "But Derek also did some styling of his own"@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 .
+
+:houseStyles a prov:Plan, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAssociatedWith.ttl	Wed Apr 25 14:52:20 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasAssociatedWith.ttl	Wed Apr 25 15:09:21 2012 +0100
@@ -2,8 +2,10 @@
 @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/> .
+@prefix :     <http://example.com/> .
 
-ex:illustrationActivity 
-   a prov:Activity; 
-   prov:wasAssociatedWith ex:derek.
\ No newline at end of file
+:illustrating
+    a prov:Activity ; 
+    prov:wasAssociatedWith :derek .
+
+:derek a prov:Person, prov:Agent, prov:Entity .