Just as an FYI: W3C's JSON-LD Working Group is now working on JSON-lD 1.1, and it will include framing [1], so I think it's fair to expect increased support for framing from many tools, Jena included. But the timescale is a very open question this early.
ajs6f [1] https://www.w3.org/2018/03/jsonld-wg-charter.html#framing > On Aug 16, 2018, at 9:31 AM, Damian Steer <d.st...@bristol.ac.uk> wrote: > > > >> On 16 Aug 2018, at 14:07, Mikael Pesonen <mikael.peso...@lingsoft.fi> wrote: >> >> >> I'm exporting JSON-LD from Fuseki into web page, but Google's validation >> (https://search.google.com/structured-data/testing-tool) doesn't accept it. > >> Google's validation says >> >> name is not a known valid target type for the name property > > "@context" : { "name": "http://schema.org/name” } works, as does “@context”: > “http://schema.org/“. > > Google’s structured data support has always been idiosyncratic, > unfortunately. It much better that it used to be, though. > > It’s worth reporting to them, and perhaps asking on stack overflow? (IIRC > they monitor stack overflow for issues) > > Regarding fuseki I think you’ll have to put something in to transform the > json-ld, unfortunately. I’ve found I have to control json-ld serialisation > fairly carefully in practice, since tools are not always fully compliant > json-ld processors. > > In principle framing [1] ought to do the trick, but last time I tried it > wasn’t fully working (although it may well be time to revisit that). > > Damian > > [1] <https://json-ld.org/spec/latest/json-ld-framing/> > > -- > Damian Steer > Data Research Software Engineer > University of Bristol > https://www.bris.ac.uk/contact/person/getDetails?personKey=W1K8jX7rokwl8OKZUeQMmPO1FXAvt0 > > > > >