separated supreme court eg for collection and dictionary
authorTim L <lebot@rpi.edu>
Sun, 17 Jun 2012 23:09:30 -0700
changeset 3375 bd5b95246778
parent 3374 a9d8a7671224
child 3376 335c2e642dba
separated supreme court eg for collection and dictionary
examples/eg-34-us-supreme-court-membership/rdf/eg-34-us-supreme-court-membership.ttl
--- a/examples/eg-34-us-supreme-court-membership/rdf/eg-34-us-supreme-court-membership.ttl	Sun Jun 17 23:05:16 2012 -0700
+++ b/examples/eg-34-us-supreme-court-membership/rdf/eg-34-us-supreme-court-membership.ttl	Sun Jun 17 23:09:30 2012 -0700
@@ -18,7 +18,21 @@
    prov:wasAttributedTo <http://tw.rpi.edu/instances/TimLebo>;
 .
 
-:todays-us-supreme-court
+:todays-us-supreme-court-as-collection
+   a prov:Collection;
+   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>;     
+.
+
+:todays-us-supreme-court-as-dictionary
    a prov:Dictionary, :RobertsCourt;
    dcterms:description [
       a prov:Entity;
@@ -32,18 +46,8 @@
 
    prov:wasDerivedFrom :the-first-us-supreme-court;
 
-   prov:hadMember                                             # These would be asserted on a simple (first step)
-      <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>, # prov:Collection.
-      <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:hadMember [                                           # Instead, we're focusing on prov:Dictionary (a second step).
-      a prov:KeyValuePair;                                    # (Note: this would not be done in addition to a simple Collection.)
+   prov:hadMember [                   # Using a prov:Dictionary is a second step of complexity beyond prov:Collection.
+      a prov:KeyValuePair;
       prov:pairKey   "chief";
       prov:pairValue <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>;
    ], [
@@ -135,7 +139,18 @@
    ]; # <- the prov:Membership
 .
 
-:the-first-us-supreme-court
+:the-first-us-supreme-court-as-dictionary
+   a prov:Collection;
+   prov:hadMember                                    # These are asserted on a simple (first step)
+      <http://dbpedia.org/resource/John_Jay>,        # prov:Collection.
+      <http://dbpedia.org/resource/John_Rutledge>,   #
+      <http://dbpedia.org/resource/William_Cushing>, #
+      <http://dbpedia.org/resource/James_Wilson>,    #
+      <http://dbpedia.org/resource/John_Blair,_Jr.>, #
+      <http://dbpedia.org/resource/James_Iredell>;   #
+.
+
+:the-first-us-supreme-court-as-dictionary
    a prov:Dictionary, :JayCourt;
    dcterms:description [
       a prov:Entity;
@@ -150,15 +165,8 @@
       a prov:Invalidation;
       dcterms:date "1792"^^xsd:gYear;
    ];
-   prov:hadMember                                    # These would be asserted on a simple (first step)
-      <http://dbpedia.org/resource/John_Jay>,        # prov:Collection.
-      <http://dbpedia.org/resource/John_Rutledge>,   #
-      <http://dbpedia.org/resource/William_Cushing>, #
-      <http://dbpedia.org/resource/James_Wilson>,    #
-      <http://dbpedia.org/resource/John_Blair,_Jr.>, #
-      <http://dbpedia.org/resource/James_Iredell>;   #
-   prov:hadMember [                                  # Instead, we're focusing on prov:Dictionary (a second step).
-      a prov:KeyValuePair;                           # (Note: this would not be done in addition to a simple Collection.)
+   prov:hadMember [                                 # Using a prov:Dictionary is a second step of complexity beyond prov:Collection.
+      a prov:KeyValuePair;
       prov:pairKey   "chief";
       prov:pairValue <http://dbpedia.org/resource/John_Jay>;
    ], [