reworked Quote to be an Activity not QualifiedInvolvement.
authorTim L <lebot@rpi.edu>
Fri, 02 Dec 2011 14:09:09 -0500
changeset 1156 d56cc2f85460
parent 1155 2703d00ba10b
child 1157 d4952ea75184
reworked Quote to be an Activity not QualifiedInvolvement.
ontology/components/Quotation.ttl
ontology/components/Quote.ttl
ontology/components/Quote/prov-dm-asn-wasQuotedFrom-constraint-quotation-implication.ttl
ontology/components/Quote/prov-dm-asn-wasQuotedFrom.ttl
ontology/components/wasQuoteOf.ttl
--- a/ontology/components/Quotation.ttl	Fri Dec 02 13:00:25 2011 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@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 dcterms: <http://purl.org/dc/terms/> .
-@prefix prov:    <http://www.w3.org/ns/prov-o/> .
-
-prov:Quotation
-   a owl:Class;
-   rdfs:label   "Quotation";
-   rdfs:comment "Qualification about how a Quote was a quote of its source.";
-   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>;
-   rdfs:subClassOf prov:QualifiedInvolvement;
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hasQuotee;
-      owl:minCardinality 1;
-   ];
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hasQuoter;
-      owl:minCardinality 1;
-   ];
-.
-
-prov:hasQuotee 
-   a owl:ObjectProperty;
-   rdfs:label   "hasQuotee";
-   rdfs:comment "The agent associated with the source of the quote.";
-   rdfs:domain prov:Quotation;
-.
-
-prov:hasQuoter
-   a owl:ObjectProperty;
-   rdfs:label   "hasQuoter";
-   rdfs:comment "The agent that cited the source of the quote.";
-   rdfs:domain prov:Quotation;
-.
--- a/ontology/components/Quote.ttl	Fri Dec 02 13:00:25 2011 -0500
+++ b/ontology/components/Quote.ttl	Fri Dec 02 14:09:09 2011 -0500
@@ -1,20 +1,27 @@
-@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@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 rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@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 dcterms: <http://purl.org/dc/terms/> .
-@prefix prov: <http://www.w3.org/ns/prov-o/> .
+@prefix prov:    <http://www.w3.org/ns/prov-o/> .
 
 prov:Quote
    a owl:Class;
    rdfs:label "Quote";
-   rdfs:comment "A value quoted from another source.";
-   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>;
+   rdfs:comment "A value quoted from a previous, usually larger entity.";
+   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>,
+                <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#attribution>;
+
+   rdfs:subClassOf prov:Entity;
+
+   rdfs:comment "To be a Quote, it must have come from some previous entity.";
    rdfs:subClassOf [
       a owl:Restriction;
-      owl:onProperty prov:wasQuoteOf;
+      owl:onProperty prov:wasQuotedFrom;
       owl:minCardinality 1;
    ];
+   rdfs:comment "If the quote is some string, then the string can be provided using rdf:value.";
    rdfs:subClassOf [
       a owl:Restriction;
       owl:onProperty rdf:value;
@@ -22,4 +29,68 @@
    ];
 .
 
-prov:wasQuoteOf rdfs:domain prov:Quote .
+prov:wasQuotedFrom 
+   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#attribution>,
+                <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>,
+                <http://www.w3.org/2011/prov/track/issues/151>;
+   rdfs:label "wasQuotedFrom";
+   rdfs:domain prov:Quote;
+   rdfs:subPropertyOf prov:wasDerivedFrom;
+   rdfs:range  prov:QuotedEntity;
+.
+
+prov:Quotivity
+   a owl:Class;
+   rdfs:label   "Quotation";
+   rdfs:comment "Qualification about how a Quote was a quote of its source.";
+   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>;
+   rdfs:subClassOf prov:Activity;
+   rdfs:comment "An optional prov:hadQuoter can cite the Agent responsible for quoting the previous Entity.";
+   rdfs:subClassOf [
+      a owl:Restriction;
+      owl:onProperty prov:hadQuoter;
+      owl:minCardinality 0;
+   ];
+   rdfs:comment "At least one prov:used must cite the Entity that was quoted.";
+   rdfs:subClassOf [
+      a owl:Restriction;
+      owl:onProperty prov:used;
+      owl:minQualifiedCardinality 1;
+      owl:onClass prov:QuotedEntity;
+   ];
+   rdfs:comment "An optional prov:hadQuotee can cite the Agent responsible for the quoted Entity.";
+   rdfs:subClassOf [
+      a owl:Restriction;
+      owl:onProperty prov:hasQuotee;
+      owl:minCardinality 0;
+   ];
+.
+
+prov:hadQuoter
+   a owl:ObjectProperty;
+   rdfs:label   "hasQuoter";
+   rdfs:comment "The agent that cited the source of the quote.";
+   rdfs:comment "an agent who is doing the quoting";
+   rdfs:subPropertyOf prov:wasControlledBy;
+   rdfs:domain prov:Quotivity;
+   rdfs:range  prov:Agent;
+.
+
+prov:hasQuotee 
+   a owl:ObjectProperty;
+   rdfs:label   "hasQuotee";
+   rdfs:comment "The agent associated with the source of the quote.";
+   rdfs:comment "prov:involved is a superproperty of used, wasControlledBy, and hadParticipant. The quoted author did not participate, but _is_ indirectly involved.";
+   rdfs:comment "the agent that is quoted";
+   rdfs:subPropertyOf prov:involved;
+   rdfs:domain prov:Quotivity;
+   rdfs:range  prov:Agent;
+.
+
+ prov:wasAttributedTo
+   a owl:ObjectProperty;
+   rdfs:label "wasAttributedTo";
+   rdfs:comment "Part of quotation-implication constraint in DM.";
+   rdfs:domain prov:Entity;
+   rdfs:range  prov:Agent;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/components/Quote/prov-dm-asn-wasQuotedFrom-constraint-quotation-implication.ttl	Fri Dec 02 14:09:09 2011 -0500
@@ -0,0 +1,51 @@
+@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix time:    <http://www.w3.org/2006/time#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix skos:    <http://www.w3.org/2008/05/skos#> .
+@prefix prov:    <http://www.w3.org/ns/prov-o/> .
+@prefix :        <#> .
+
+:e2
+   rdfs:seeAlso <http://dvcs.w3.org/hg/prov/raw-file/2703d00ba10b/model/ProvenanceModel.html#quotation-record>;
+   dcterms:description "wasQuotedFrom(e2,e1,ag2,ag1,attrs)";
+   dcterms:description "an identifier e2, identifying an entity record that represents the quote;";
+   prov:wasQuotedFrom  :e1;
+   rdf:value "Four score and seven years ago...";
+.
+:e1
+   a prov:Entity;
+   dcterms:description "an identifier e1, identifying an entity record representing what is being quoted;";
+.
+:ag2
+   dcterms:description "an optional identifier ag2 of the agent who is doing the quoting;";
+   a prov:Agent;
+.
+:ag1
+   dcterms:description "an optional identifier ag1 of the agent that is quoted;";
+   a prov:Agent;
+.
+:quotivity
+   a prov:Quotivity;
+   dcterms:description "an optional set attrs of attribute-value pairs to further describe this record.";
+   prov:hadQuoter :ag2;
+   prov:hadQuotee :ag1;
+   prov:used      :e1;
+   :third_party :attributes;
+.
+
+# # # # #
+
+:e2
+   dcterms:description "If wasQuotedFrom(e2,e1,ag2,ag1) holds for some identifiers e2, e1, ag2, ag1, then the following records hold:";
+   dcterms:description "wasDerivedFrom(e2,e1)";
+   prov:wasDerivedFrom :e1;
+
+   dcterms:description "wasAttributedTo(e2,ag2)";
+   prov:wasAttributedTo :ag2;
+
+   dcterms:description "wasAttributedTo(e1,ag1)";
+   prov:wasAttributedTo :ag1;
+.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ontology/components/Quote/prov-dm-asn-wasQuotedFrom.ttl	Fri Dec 02 14:09:09 2011 -0500
@@ -0,0 +1,41 @@
+@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix time:    <http://www.w3.org/2006/time#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix skos:    <http://www.w3.org/2008/05/skos#> .
+@prefix prov:    <http://www.w3.org/ns/prov-o/> .
+@prefix :        <#> .
+
+:e2
+   rdfs:seeAlso <http://dvcs.w3.org/hg/prov/raw-file/2703d00ba10b/model/ProvenanceModel.html#quotation-record>;
+   dcterms:description "wasQuotedFrom(e2,e1,ag2,ag1,attrs)";
+   dcterms:description "an identifier e2, identifying an entity record that represents the quote;";
+   prov:wasQuotedFrom  :e1;
+   rdf:value "Four score and seven years ago...";
+.
+
+:e1
+   a prov:Entity;
+   dcterms:description "an identifier e1, identifying an entity record representing what is being quoted;";
+.
+
+:ag2
+   dcterms:description "an optional identifier ag2 of the agent who is doing the quoting;";
+   a prov:Agent;
+.
+
+:ag1
+   dcterms:description "an optional identifier ag1 of the agent that is quoted;";
+   a prov:Agent;
+.
+
+:quotivity
+   a prov:Quotivity;
+   dcterms:description "an optional set attrs of attribute-value pairs to further describe this record.";
+   prov:hadQuoter :ag2;
+   prov:hadQuotee :ag1;
+   prov:used      :e1;
+   :third_party :attributes;
+.
--- a/ontology/components/wasQuoteOf.ttl	Fri Dec 02 13:00:25 2011 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-@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 dcterms: <http://purl.org/dc/terms/> .
-@prefix prov: <http://www.w3.org/ns/prov-o/> .
-
-prov:wasQuoteOf
-   a owl:ObjectProperty;
-   rdfs:label "wasQuoteOf";
-   rdfs:comment "proposed new name: wasQuotedFrom";
-   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#attribution>,
-                <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#quotation>,
-                <http://www.w3.org/2011/prov/track/issues/151>;
-   rdfs:domain prov:Quote;
-   rdfs:range  prov:Entity;
-. 
-
-prov:Quote
-   rdfs:subClassOf prov:Entity;
-   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#attribution>;
-.
-
-prov:hadQuoter
-   rdfs:comment "an agent who is doing the quoting";
-.
-
-prov:hadQuotee
-   rdfs:commetn "the agent that is quoted";
-.
-
-prov:Quotation
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:entity;
-      owl:minCardinality 1;
-   ];
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hadQuoter;
-      owl:minCardinality 1;
-   ];
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hadQuoter;
-      owl:allValuesFrom prov:Agent;
-   ];
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hadQuotee;
-      owl:minCardinality 1;
-   ];
-   rdfs:subClassOf [
-      a owl:Restriction;
-      owl:onProperty prov:hadQuotee;
-      owl:allValuesFrom prov:Agent;
-   ];
-.