eg naming updates provo
authorTim L <lebot@rpi.edu>
Mon, 27 Aug 2012 11:23:26 -0400
changeset 4366 427ab0d08eaf
parent 4365 b2195ef67263
child 4367 01449d7dbc22
eg naming updates provo
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Collection.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_alternateOf.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadMember.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidated.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidatedAtTime.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInfluence.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInvalidation.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Collection.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Collection.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -3,6 +3,7 @@
 @prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix ex:      <http://example.com/ontology#> .
 @prefix :        <http://example.com/> .
 
 :todays-us-supreme-court
@@ -40,13 +41,13 @@
 .
 
 :page-by-seat
-   a prov:Entity, :WikipediaPage;
+   a prov:Entity, ex:WikipediaPage;
    prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-seat>;
    prov:generatedAtTime "2011-08-31T12:51"^^xsd:dateTime;
 .
 
 :page-by-composition
-   a prov:Entity, :WikipediaPage;
+   a prov:Entity, ex:WikipediaPage;
    prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-composition>;
    prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_alternateOf.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_alternateOf.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -4,6 +4,8 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
+:bbc a prov:Agent .
+
 :london_forecast_0412 
    a prov:Entity;
    prov:wasAttributedTo :bbc;
@@ -11,6 +13,7 @@
       a prov:Activity;
       prov:endedAtTime "2012-04-12T00:00:00-04:00"^^xsd:dateTime;
    ];
+   prov:alternateOf :london_forecast_043;
 .
 
 :london_forecast_0413 
@@ -20,17 +23,20 @@
       a prov:Activity;
       prov:endedAtTime "2012-04-13T00:00:00-04:00"^^xsd:dateTime;
    ];
+   prov:alternateOf :london_forecast_0412;
 .
 
+## :london_forecast_0412 and :london_forecast_0413 are both 
+## specialization of the more general entity :london_forecast
+
 :london_forecast 
    a prov:Entity;
    prov:wasAttributedTo :bbc;
 .
 
-## :london_forecast_0412 and :london_forecast_0413 are both 
-## specialization of the more general entity :london_forecast
-
-:london_forecast_0412  
-   prov:alternateOf      :london_forecast_0413;
+:london_forecast_0412
    prov:specializationOf :london_forecast;
 .
+:london_forecast_0413
+   prov:specializationOf :london_forecast;
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_atLocation.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -20,5 +20,5 @@
 .
 
 :publicationActivity1123      a prov:Activity .
-:more-crime-happens-in-cities a prov:Location .
+:more-crime-happens-in-cities        a prov:Location .
 <http://dbpedia.org/resource/Madrid> a prov:Location .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_entity.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -4,7 +4,7 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:myPost 
+:world-literature-homework-submission-32 
    a prov:Entity;
    prov:hadPrimarySource :donQuixote;
    prov:qualifiedPrimarySource [
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadMember.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadMember.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -3,10 +3,11 @@
 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
 @prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix ex:      <http://example.com/ontology#> .
 @prefix :        <http://example.com/> .
 
 :todays-us-supreme-court
-   a prov:Collection, :RobertsCourt;
+   a prov:Collection, ex:RobertsCourt;
    dcterms:description [
       a prov:Entity;
       prov:value """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. 
@@ -35,13 +36,13 @@
 .
 
 :page-by-seat
-   a prov:Entity, :WikipediaPage;
+   a prov:Entity, ex:WikipediaPage;
    prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-seat>;
    prov:generatedAtTime "2011-08-31T12:51"^^xsd:dateTime;
 .
 
 :page-by-composition
-   a prov:Entity, :WikipediaPage;
+   a prov:Entity, ex:WikipediaPage;
    prov:specializationOf <http://purl.org/twc/page/wikipedia/us-supreme-court-by-composition>;
    prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidated.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidated.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -3,21 +3,22 @@
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex:   <http://example.com/ontology#> .
 @prefix :     <http://example.com/> .
 
-:Swissair_Flight_111_crash 
+:swissair_Flight_111_crash 
    a prov:Activity;
    prov:used        <http://dbpedia.org/resource/Swissair_Flight_111>;
    prov:invalidated :the-Painter;
 .
 
 :the-Painter 
-   a prov:Entity, :Painting;
+   a prov:Entity, ex:Painting;
    rdfs:label "Le Peintre"@fr, "The Painter"@en;
    prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
    
    # Inferred from prov:invalidated
-   prov:wasInvalidatedBy :Swissair_Flight_111_crash;   
+   prov:wasInvalidatedBy :swissair_Flight_111_crash;   
 .
 
 <http://dbpedia.org/resource/Pablo_Picasso> 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidatedAtTime.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidatedAtTime.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -2,10 +2,11 @@
 @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/ontology#> .
 @prefix :     <http://example.com/> .
 
 :the-Painter 
-   a prov:Entity, :Painting;
+   a prov:Entity, ex:Painting;
    rdfs:label "Le Peintre"@fr, "The Painter"@en;
    prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
    prov:invalidatedAtTime "1998-09-02T01:31:00Z";
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInfluence.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInfluence.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -7,15 +7,16 @@
 
 # Although a domain extension (e.g. ':wasConductedBy') is not defined by PROV-O,
 # the relation between a surgery and an agent can still be qualified
-# by reusing prov:Influence and one of its three subclasses 
-# (depending on the type of the influencing object):
-# AgentInfluence, EntityInfluence, and ActivityInfluence.
+# by reusing prov:Influence and one of its three subclasses:
+# AgentInfluence, EntityInfluence, and ActivityInfluence
+# (depending on the type of the influencing object).
 
 :conductingSurgery_1
    a prov:Activity;
-   
+
    # This unqualified influence is unknown in PROV, 
-   # this would be a subproperty of wasAssociatedWith
+   # this would be a subproperty of wasAssociatedWith.
+   ex:wasConductedBy    :bob;
    prov:wasInfluencedBy :bob;  
    prov:qualifiedInfluence [   
       # Even though PROV systems do not understand :wasConductedBy, 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInvalidation.ttl	Fri Aug 24 14:00:13 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInvalidation.ttl	Mon Aug 27 11:23:26 2012 -0400
@@ -2,10 +2,11 @@
 @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/ontology#> .
 @prefix :     <http://example.com/> .
 
 :the-Painter 
-   a prov:Entity, :Painting;
+   a prov:Entity, ex:Painting;
    rdfs:label "Le Peintre"@fr, "The Painter"@en;
    prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
 
@@ -13,7 +14,10 @@
    prov:qualifiedInvalidation [
       a prov:Invalidation;
       prov:activity    :swissair_Flight_111_crash;
-      prov:atTime      "1998-09-02T01:31:00Z";
+      prov:atTime      "1998-09-02T01:31:00Z"^^xsd:dateTime;
       prov:atLocation  <http://purl.org/twc/location/Swissair-Flight-111-crash>;
    ];
 . 
+
+:swissair_Flight_111_crash a prov:Activity .
+<http://purl.org/twc/location/Swissair-Flight-111-crash> a prov:Location .