- From: Ivan Herman <ivan@w3.org>
- Date: Sun, 9 Mar 2014 09:56:40 +0100
- To: Jarno van Driel <jarno@quantumspork.nl>
- Cc: Gregg Kellogg <gregg@greggkellogg.net>, W3C Web Schemas Task Force <public-vocabs@w3.org>, Niklas Lindström <lindstream@gmail.com>
- Message-Id: <7AA125BD-E7D1-4DA2-8B3F-535538B18EAD@w3.org>
Jarno, the http://www.w3.org/TR/microdata-rdf/ note defines a mapping to RDF that also includes a way to map @itemref. I do not know about Niklas' tool in this respect (sorry Niklas!), but I would expect Gregg's parser: http://greggkellogg.net/2011/06/microdata-parser-for-rdf-rb/ does it and, as far as I know (sorry for the blatant self-promotion) my microdata mapper does it, too: http://www.w3.org/2012/pyMicrodata/ (Oh boy, I have just opened myself to possible bug reports:-) Of course, the problem that all these would generate RDF directly, ie, you would have to plug the result into some RDF visualizer. But it may still help. (But I would try Niklas' tool first to see if he does @itemref. Knowing Niklas, I would not be surprised:-) Ivan On 09 Mar 2014, at 24:15 , Jarno van Driel <jarno@quantumspork.nl> wrote: > The problem for me with translating Microdata to RDFa is that my markup usually makes use of the itemref property (quite a lot), which doesn't lend itself to be automatically translated into RDFa very well. > > > On Sun, Mar 9, 2014 at 12:11 AM, Gregg Kellogg <gregg@greggkellogg.net> wrote: > > Gregg Kellogg > gregg@greggkellogg.net > > On Mar 8, 2014, at 3:46 PM, Jarno van Driel <jarno@quantumspork.nl> wrote: > >> So far I have been using Microdata parser (http://tools.seomoves.org/microdata/) as a visual aid when debugging Microdata. But I find it limited in it's use since it doesn't show everything, and once a document passes 40 or more types it becomes more or less unreadable since it's graph goes off-screen. >> >> Now the only alternatives I know of (Google's SDTT, Yandex' SDV and the Structured data linter) are all text based. Which is cute but doesn't really help when debugging pages with 100+ entities. >> >> Therefor I'm looking for something like RDFa Play but then something that accepts both RDFa and Microdata. Does anybody of you know of such a tool? > > I think Niklas’ RDFa Lab project [1] includes a Microdata to RDFa translator, which you could use to pre-process your HTML+microdata to get HTML+RDFa, which you could then visualize using the RDFa Playground. I think it can work as a bookmarklet, so you could do it all in-browser. Niklas can say more. > > Gregg > > [1] https://github.com/niklasl/rdfa-lab > > ---- Ivan Herman, W3C Digital Publishing Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 GPG: 0x343F1A3D FOAF: http://www.ivan-herman.net/foaf
Received on Sunday, 9 March 2014 08:57:20 UTC