W3C home > Mailing lists > Public > public-prov-wg@w3.org > April 2012

Re: Please help: prov-o examples

From: Timothy Lebo <lebot@rpi.edu>
Date: Fri, 20 Apr 2012 15:39:09 -0400
Cc: Provenance Working Group WG <public-prov-wg@w3.org>
Message-Id: <B2607C44-635B-43A7-AAE8-1B6AF6122B50@rpi.edu>
To: Paul Groth <p.t.groth@vu.nl>
Thanks for the reminder, Paul.

1)
If anybody has any question about what file needs to be modified to affect an example shown in 
http://aquarius.tw.rpi.edu/prov-wg/prov-o#cross-reference

please just use the PROV-O assertions that are embedded as RDFa to find a link to the file that you should edit.

For example,
    <div about="#example-for-class-Activity" typeof="prov:Entity" class="example">
      <span rel="dcterms:subject" resource="http://www.w3.org/ns/prov#Activity"></span>
      <strong>Example</strong>
      <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Activity.ttl"
           property="prov:value">@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix xsd:  &lt;http://www.w3.org/2001/XMLSchema#&gt; .
@prefix owl:  &lt;http://www.w3.org/2002/07/owl#&gt; .
@prefix prov: &lt;http://www.w3.org/ns/prov#&gt; .
@prefix :     &lt;http://example.com/&gt; .

:graduation
   a prov:Activity, :Graduation;
   prov:startedAtTime &quot;2012-04-15T13:00:00-04:00&quot;^^xsd:dateTime;
   prov:used          :ms_smith;
   prov:generated     :doctor_smith;
   prov:endedAtTime   &quot;2012-04-15T14:30:00-04:00&quot;^^xsd:dateTime;
.
:ms_smith     a prov:Entity .
:doctor_smith a prov:Entity .
</pre>
    </div>


2)
Also, all PROV-O assertions that are embedded in the PROV-O HTML are stored as eg-28 at
http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-28-prov-o-embedded-in-prov-o-html/rdf/create/rdf/eg-28-prov-o-embedded-in-prov-o-html.ttl
(currently, 336 triples).
wiki page http://www.w3.org/2011/prov/wiki/Eg-28-prov-o-embedded-in-prov-o-html



3)
For the latest PROV-O assertions, follow the PAQ:
    <link rel="provenance" href="http://www.w3.org/2007/08/pyRdfa/extract?format=turtle&uri=http://aquarius.tw.rpi.edu/prov-wg/prov-o"/>
which is found in the html head of http://aquarius.tw.rpi.edu/prov-wg/prov-o

Regards,
Tim







On Apr 20, 2012, at 4:22 AM, Paul Groth wrote:

> Hi All,
> 
> I want to strongly encourage people take up this task. It's a simple
> request. This is especially important for those group members who are
> intending to implement the spec.
> 
> Thanks
> Paul
> 
> 
> ---------- Forwarded message ----------
> From: Timothy Lebo <lebot@rpi.edu>
> Date: Sun, Apr 15, 2012 at 7:47 PM
> Subject: Please help: prov-o examples
> To: "public-prov-wg@w3.org Group" <public-prov-wg@w3.org>
> 
> 
> prov-wg,
> 
> In the last round of feedback, the prov-o team was asked to add
> examples for each term listed in the cross reference section.
> 
> If you check out http://aquarius.tw.rpi.edu/prov-wg/prov-o#Activity
> you'll see that ONE has been added.
> 
> However, you'll also see for the other 95 terms that ONLY stubs are
> shown (and not ACTUAL examples):
> 
> @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 prov: <http://www.w3.org/ns/prov#> .
> @prefix :     <http://example.com/> .
> 
> # TODO
> 
> 
> 
> Can you help the prov-o team by contributing an example for your
> favorite PROV term?
> This example will be included in the final PROV-O recommendation
> document within the cross reference section (pending editorial
> changes).
> 
> 
> It'll be the FIRST example any PROV-O user will see!
> 
> 
> To contribute an example, please commit a change to the corresponding
> file in the mercurial repository:
> 
> http://dvcs.w3.org/hg/prov/file/tip/examples/eg-24-prov-o-html-examples/rdf/create/rdf
> 
> 
> ( If you haven't been using the repository, check out:
> http://www.w3.org/2011/prov/wiki/Mercurial_repository for how to
> commit a change.)
> 
> 
> For example, the following change led to the example at
> http://aquarius.tw.rpi.edu/prov-wg/prov-o#Activity :
> http://dvcs.w3.org/hg/prov/diff/3bd0fe4c3de2/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Activity.ttl
> 
> If you have any questions, feel free to ask on this thread or to me directly.
> 
> Thanks for your consideration!
> 
> Regards,
> Tim Lebo
> 
> tracker: ISSUE-349
> 
> 
> 
> 
> 
> -- 
> --
> Dr. Paul Groth (p.t.groth@vu.nl)
> http://www.few.vu.nl/~pgroth/
> Assistant Professor
> Knowledge Representation & Reasoning Group
> Artificial Intelligence Section
> Department of Computer Science
> VU University Amsterdam
> 
> 
Received on Friday, 20 April 2012 19:39:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 13:07:03 GMT