W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > May 2012

Re: SVG test case with embedded RDF/XML

From: Ivan Herman <ivan@w3.org>
Date: Fri, 18 May 2012 06:06:27 +0200
Message-Id: <0DF645F0-1E87-4941-971A-B8E445F88CEB@w3.org>
Cc: Toby Inkster <tai@g5n.co.uk>, W3C RDFWA WG <public-rdfa-wg@w3.org>
To: Gregg Kellogg <gregg@greggkellogg.net>

On 18 May 2012, at 04:50, Gregg Kellogg <gregg@greggkellogg.net> wrote:

> I updated my processor to handle embedded RDF/XML and to parse the content of script elements having an @type which matches a content-type of an available RDF parser (typically text/turtle, but why not application/ld+json?).

Out of curiosity: is it a default behaviour in your processor or optional? At the moment my processor does that for turtle only if a special flag is turned on.

> I also added support for putting extracted triples in a named graph based on using any @id value of the script element as a fragid on the document location.

There were some discussion about this usage of @id of  the script element on the RDF mailing list, but the results are inconclusive. There are issues in general reusing host language attributes in this way...


> Gregg
> On May 17, 2012, at 7:09 AM, Gregg Kellogg wrote:
>> Well, if we're open to having tests that span formats, was should consider parsing Turtle marked up using <script type="application/turtle"> within HTML, at least when the Turtle spec is more settled.
>> I hadn't considered the embedded RDF/XML before, but it should be easy enough to add to my parser.
>> Gregg Kellogg
>> Sent from my iPad
>> On May 17, 2012, at 3:33 AM, "Toby Inkster" <tai@g5n.co.uk> wrote:
>>> <test-cases/0310> dc:contributor "Toby Inkster";
>>> dc:title "Embedded chunks of RDF/XML";
>>> a test:TestCase;
>>> rdfatest:rdfaVersion "rdfa1.0", "rdfa1.1";
>>> test:classification test:required;  # ?!
>>> test:expectedResults "true"^^xsd:boolean;
>>> rdfatest:hostLanguage "svgtiny1.2", "svg";
>>> test:informationResourceInput <test-cases/0310.html>;
>>> test:informationResourceResults <test-cases/0310.sparql>;
>>> test:purpose "Tests that embedded RDF/XML is added to same graph.";
>>> test:specificationReference
>>>   "http://www.w3.org/TR/SVGTiny12/metadata.html#Introduction
>>>   says 'an RDF processor should combine them into the same graph'" .
>>> -- 
>>> Toby A Inkster
>>> <mailto:mail@tobyinkster.co.uk>
>>> <http://tobyinkster.co.uk>
>>> <0310.sparql>
>>> <0310.txt>
Received on Friday, 18 May 2012 04:06:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC