W3C home > Mailing lists > Public > public-rdfa@w3.org > January 2017

Re: RDFa + JSON-LD

From: Ivan Herman <ivan@w3.org>
Date: Fri, 20 Jan 2017 16:55:07 +0100
Cc: W3C RDFa Community <public-rdfa@w3.org>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
Message-Id: <CA98C463-EF29-483A-9947-5C74498B81C7@w3.org>
To: Adam Sobieski <adamsobieski@hotmail.com>
Adam,

afaik, there is no such specification. Put it another way, the RDFa and the embedded JSON-LD contents (or embedded Turtle content, which is also possible) are considered as separate, and independent RDF graphs. Particular tools MAY merge them and treat them as one, but there is no specification for it as far as I know.

Which also means that your example below would become very much tool specific.

Cheers

Ivan

> On 20 Jan 2017, at 01:03, Adam Sobieski <adamsobieski@hotmail.com <mailto:adamsobieski@hotmail.com>> wrote:
> 
> RDFa Community Group,
> RDF Working Group,
> 
> Does anybody know whether or where RDFa + JSON-LD scenarios are specified?
> 
> See: RDFa + JSON-LD Examples at https://www.w3.org/community/argumentation/schemas/ <https://www.w3.org/community/argumentation/schemas/> .
> 
> 
> <html>
>   <head>
>     <script type="application/ld+json">
> [{"@id": "2", "http://schema.org/supports <http://schema.org/supports>": { "@id": "1" }},
>  {"@id": "3", "http://schema.org/supports <http://schema.org/supports>": { "@id": "1" }},
>  {"@id": "4", "http://schema.org/supports <http://schema.org/supports>": { "@id": "1" }}]
>    </script>
>   </head>
>   <body vocab="http://schema.org/ <http://schema.org/>">
>     <span about="1" typeof="Statement" property="text">Statement 1.</span>
>     <span about="2" typeof="Statement" property="text">Statement 2.</span>
>     <span about="3" typeof="Statement" property="text">Statement 3.</span>
>     <span about="4" typeof="Statement" property="text">Statement 4.</span>
>   </body>
> </html>
> 
> 
> 
> Thank you,
> Adam Sobieski


----
Ivan Herman, W3C
Digital Publishing Technical Lead
Home: http://www.w3.org/People/Ivan/ <http://www.w3.org/People/Ivan/>
mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704 <http://orcid.org/0000-0003-0782-2704>





Received on Friday, 20 January 2017 15:55:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:57 UTC