Re: embedding prov metadata in the specs

Guys, 

please, do not use RDFa 1.0. On the code in this mail the main difference is not to use xmlns:XXX (which is deprecated in RDFa 1.1 and also strongly advised against its usage) but, rather, @prefix.

(Sorry I cannot check things right now, I am at a conference and only have access to the net time to time. I am happy to look at this later.)

Cheers

Ivan

On Feb 13, 2013, at 05:38 , Paul Groth <pgroth@gmail.com> wrote:

> Hi Luc,
> 
> RDFa would be great. Your example looks pretty good. PROV-O already has RDFa embedded but doesn't describe the provenance of the document itself (I think). 
> 
> The following is some example turtle for prov-o. I tried to present what I think would be minimal but also show off what we've done. From the turtle, we can generate RDFa and paste that into the top of the page. 
> 
> @prefix  prov: <http://www.w3.org/ns/prov#> .
> 
> <http://www.w3.org/TR/2012/CR-prov-o-20121211/> 
>     prov:wasRevisionOf <http://www.w3.org/TR/2012/WD-prov-o-20120724/>;
>     prov:specializationOf <http://www.w3.org/TR/prov-o/>;
>     prov:wasAttributedTo <http://tw.rpi.edu/instances/TimLebo>; 
>     #add other authors/editors here
>     prov:wasAttributedTo <http://www.w3.org/2011/prov>;
>     prov:wasInfluencedBy <http://www.w3.org/TR/2012/CR-prov-o-20121211/#acknowledgements>.
> 
> 
> 
> <http://tw.rpi.edu/instances/TimLebo> a prov:Person . 
> <http://www.w3.org/2011/prov> a prov:Organization .
>    
> 
> RDFa generated with http://www.ebusiness-unibw.org/tools/rdf2rdfa/
> 
> <div xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>      xmlns="http://www.w3.org/1999/xhtml"
>      xmlns:prov="http://www.w3.org/ns/prov#"
>      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>      class="rdf2rdfa">
>    <div class="description" about="http://www.w3.org/TR/2012/CR-prov-o-20121211/">
>       <div rel="prov:specializationOf" resource="http://www.w3.org/TR/prov-o/"/>
>       <div rel="prov:wasAttributedTo">
>          <div class="description" about="http://tw.rpi.edu/instances/TimLebo"
>               typeof="prov:Person"/>
>       </div>
>       <div rel="prov:wasAttributedTo">
>          <div class="description" about="http://www.w3.org/2011/prov"
>               typeof="prov:Organization"/>
>       </div>
>       <div rel="prov:wasInfluencedBy"
>            resource="http://www.w3.org/TR/2012/CR-prov-o-20121211/#acknowledgements"/>
>       <div rel="prov:wasRevisionOf"
>            resource="http://www.w3.org/TR/2012/WD-prov-o-20120724/"/>
>    </div>
> </div>
> 
> 
> 
> Thanks
> Paul
> 
> 
> On Wed, Feb 13, 2013 at 10:33 AM, Luc Moreau <l.moreau@ecs.soton.ac.uk> wrote:
> 
> Dear all,
> 
> Are we willing to eat our own "dog food" for our specifications and
> embed some prov metadata in the documents? If we do it, we should do it
> for the
> PR release.
> 
> What approach do we go for? rdfa? If so, what do we put in there?
> 
> Alternatively, metadata link to a provenance file? An early attempt
> describing the WG specs
> can be found at:
> https://github.com/lucmoreau/ProvToolbox/blob/master/prov-n/src/test/resources/prov/prov-family2.pn
> 
> Luc
> 
> --
> Professor Luc Moreau
> Electronics and Computer Science   tel:   +44 23 8059 4487
> University of Southampton          fax:   +44 23 8059 2865
> Southampton SO17 1BJ               email: l.moreau@ecs.soton.ac.uk
> United Kingdom                     http://www.ecs.soton.ac.uk/~lavm
> 
> 
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Wednesday, 13 February 2013 13:46:55 UTC