wasComplementOf example - two OnlineAccounts
authorTim L <lebot@rpi.edu>
Sat, 05 Nov 2011 12:23:14 -0400
changeset 801 2cab3768ea35
parent 800 51b09a470334
child 802 809d77fa623a
wasComplementOf example - two OnlineAccounts
ontology/components/wasComplementOf/two-entities-about-tim.ttl
ontology/components/wasComplementOf/two-entities-about-tim/test-1.rq
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/components/wasComplementOf/two-entities-about-tim.ttl	Sat Nov 05 12:23:14 2011 -0400
@@ -0,0 +1,46 @@
+@prefix owl:  <http://www.w3.org/2002/07/owl#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix time: <http://www.w3.org/2006/time#> .
+@prefix prov: <http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/ProvenanceOntology.owl#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix sioc: <http://rdfs.org/sioc/ns#> .
+@prefix : <> .
+
+#
+# A person and their twitter account:
+#
+
+:person_behind_twitter_timrdf
+   a prov:Entity;
+   a foaf:Persion;
+   foaf:holdsAccount :twitter_timrdf;
+   :x <purl.org/twc/id/person/TimLebo>;
+.
+:twitter_timrdf
+   a foaf:OnlineAccount, sioc:UserAccount, :TwitterAccount;
+   foaf:accountName "timrdf";
+   rdfs:seeAlso <http://twitter.com/timrdf>;
+.
+
+#
+# A person and their W3C wiki account:
+#   
+
+:person_behind_w3cprov_tlebo
+   a prov:Entity;
+   a foaf:Person;
+   foaf:holdsAccount :w3cprov_timrdf;
+   :x <http://data.semanticweb.org/person/timothy-lebo>;
+.
+:w3cprov_timrdf
+   a foaf:OnlineAccount, sioc:UserAccount, :W3C-PROV-WG-Account;
+   foaf:accountName "Tlebo";
+   rdfs:seeAlso <www.w3.org/2011/prov/wiki/User:Tlebo>;
+.
+
+#
+# The wasComplementOf relationship is used to denote that two entities complement each other, 
+# in the sense that they each represent a partial, but mutually compatible characterization of the same thing.
+# -http://www.w3.org/TR/2011/WD-prov-dm-20111018
+
+:person_behind_w3cprov_tlebo prov:wasComplementOf :person_behind_twitter_timrdf .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/components/wasComplementOf/two-entities-about-tim/test-1.rq	Sat Nov 05 12:23:14 2011 -0400
@@ -0,0 +1,6 @@
+PREFIX owl: <http://www.w3.org/2002/07/owl#>
+
+ASK
+WHERE {
+   <purl.org/twc/id/person/TimLebo> owl:sameAs <http://data.semanticweb.org/person/timothy-lebo> .
+}