- From: Denny Vrandečić <denny.vrandecic@wikimedia.de>
- Date: Wed, 24 Apr 2013 21:56:42 +0200
- To: Stéphane Corlosquet <scorlosquet@gmail.com>
- Cc: leon@dcs.shef.ac.uk, Martin Hepp <martin.hepp@ebusiness-unibw.org>, semantic-web at W3C <semantic-web@w3c.org>
- Message-ID: <CANnnRRsPkp3p1oBKeHPPCQcrUEv-KYR29cXQhXDt-kyyE+gsKg@mail.gmail.com>
thank you! I tried the result here http://validator.w3.org/check and here http://www.w3.org/2012/pyRdfa/Validator.html and both said it is fine. I cannot find it in the HTML5 spec, but then again, the HTML5 spec is not the most readable of specs... Thanks again, Cheers, Denny 2013/4/24 Stéphane Corlosquet <scorlosquet@gmail.com> > > > On Wed, Apr 24, 2013 at 3:42 PM, Leon Derczynski <leon@dcs.shef.ac.uk>wrote: > >> On 24 April 2013 21:32, Stéphane Corlosquet <scorlosquet@gmail.com>wrote: >> >>> >>> >>> On Wed, Apr 24, 2013 at 3:17 PM, Martin Hepp < >>> martin.hepp@ebusiness-unibw.org> wrote: >>> >>>> Hi Denny, >>>> First, I think you describe a scenario that has a lot of application >>>> areas :-) >>>> >>>> One solution could be for the W3C agree upon a "NULL" URI (e.g. URN) >>>> for properties and objects in RDF triples, for use in RDFa and elsewhere. >>>> This would allow using the existing RDFa spec for your purpose. >>>> >>>> For instance, the W3C could define the URN NID "rdfa" >>>> >>>> Then, you could simply write >>>> >>>> <p>It is well known, that <span about="http://sws.geonames.org/4951788/" >>>> typeof="urn:rdfa:NULL" >Springfield</span> has mild summers and short, but >>>> hard winters.</p> >>>> >>>> (I did not check whether URNs are valid for typeOf, but I think so) >>>> >>>> An RDFa validator would be okay, an RDFa parser could be set to ignore >>>> the resulting triples, and if not, nothing harmful would happen. >>>> >>>> Another solution would be to use the owl:Thing URI, i.e. >>>> >>>> <p>It is well known, that <span about="http://sws.geonames.org/4951788/" >>>> typeof="owl:Thing" >Springfield</span> has mild summers and short, but hard >>>> winters.</p> >>>> >>> >>> I like the idea of owl:Thing. From reading the initial email from Denny >>> saying that he is not trying to assert triples, something even simpler >>> would be to just use the @resource attribute from RDFa Lite [1]: >>> >>> <p>It is well known, that <span resource=" >>> http://sws.geonames.org/4951788/">Springfield</span> has mild summers >>> and short, but hard winters.</p> >>> >>> The above markup would validate 'as is' in HTML5 without even the need >>> to use any particular RDFa doctype. Your parser would just have to look for >>> the resource attribute and take the URI from there. >>> >>> >> Would it also validate under a strict DTD, or in XHTML? An annotation >> that forces designers to interact with browsers in quirks mode will have >> reduced uptake. >> > > yes it would as long as you specify the right doctype for RDFa, e.g. > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" " > http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> > > Steph. > -- Project director Wikidata Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin Tel. +49-30-219 158 26-0 | http://wikimedia.de Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Received on Wednesday, 24 April 2013 19:57:29 UTC