W3C home > Mailing lists > Public > public-linked-json@w3.org > March 2013

Re: [json-ld.org] JSON-LD in HTML (#231)

From: Ivan Herman <ivan@w3.org>
Date: Fri, 22 Mar 2013 15:49:20 +0100
Cc: W3C RDF WG <public-rdf-wg@w3.org>, JSON-LD JSON <public-linked-json@w3.org>
Message-Id: <102FDC1D-55FE-4559-A75E-59B81FC8068A@w3.org>
To: Gregg Kellogg <gregg@greggkellogg.net>
I am in favour keeping that remark in.

B.t.w., will we also have a TriG in HTML? :-)

Ivan

On Mar 22, 2013, at 15:30 , Gregg Kellogg <gregg@greggkellogg.net> wrote:

> Looking for comments on the JSON-LD in HTML section. Please chime in if you have an opinion on the behavior of multiple script tags containing JSON-LD, or possibly JSON-LD and Turtle, possibly included in an RDFa document.
> 
> Gregg Kellogg
> 
> Sent from my iPad
> 
> Begin forwarded message:
> 
>> From: Markus Lanthaler <notifications@github.com>
>> Date: March 22, 2013, 2:06:56 AM PDT
>> To: "json-ld/json-ld.org" <json-ld.org@noreply.github.com>
>> Cc: Gregg Kellogg <gregg@greggkellogg.net>
>> Subject: Re: [json-ld.org] JSON-LD in HTML (#231)
>> Reply-To: "json-ld/json-ld.org" <reply+i-12110895-52c09e5d3a34f703c6719b4aa90283f79295ff6a-46296@reply.github.co>
>> 
>> I did ask this already in c728c6b but would like to record it also here as commit discussions are somewhat difficult to find and I don't wanna forget this.
>> 
>> The section currently says:
>> 
>> If a processor extracts the JSON-LD content into RDF, it should expand the JSON-LD fragment into an RDF dataset using the algorithm defined in JSON-LD-API Convert to RDF Algorithm [JSON-LD-API]. If the HTML file contains multiple JSON-LD script tags, or other RDF statements are extracted, the result is the RDF merge of the datasets.
>> 
>> Other processors implementing this mechanism may choose to return the expanded JSON-LD output.
>> 
>> Markus: Can we drop this part? I think it doesn't add much value but sounds overly complicated for people just wanting to use it as JSON-LD.
>> 
>> Gregg: It's important to give guidance when there are multiple script tags, so that the result is clear. We could say that the result is the merge of all such documents.
>> 
>> When extracting RDF, JSON-LD could be combined with other formats (microdata, RDFa, Turtle in HTML). In this case, it's also necessary to say what the expected result it. Without this statement, it won't be clear what to do.
>> 
>> Markus: I understand where you are coming from, but thatís an orthogonal aspect that is application dependent. In our spec we should define how JSON-LD can be embedded in HTML. How such data is used is beyond the scope of this spec. I would strongly prefer to remove this part.
>> 
>> ó
>> Reply to this email directly or view it on GitHub.
>> 


----
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 Friday, 22 March 2013 14:55:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:53:21 UTC