W3C home > Mailing lists > Public > public-linked-json@w3.org > April 2017

Automatic type IRI generation in Playground

From: Nate Otto <nate@ottonomy.net>
Date: Wed, 5 Apr 2017 09:03:10 -0700
Message-ID: <CAPk0ugmcS6JitvE9-saP38XKJEqY=1Ok=DFgJm13n7TvA=LfRA@mail.gmail.com>
To: Linked JSON <public-linked-json@w3.org>
I'm curious why with the below configuration, where I've specified a , the
Playground is generating the type "http://json-ld.org/playground/UNKNOWN"
in the expanded and compacted output even though the term "UNKNOWN" is not
defined in the context.

It's as if the playground is partially applying a @vocab for this case.

See:
http://json-ld.org/playground/#/gist/7b4d161af78a9308954918a231b3d76d

I couldn't find a relevant section in the JSON-LD spec on first glance that
said this should be done. Any tips?

Nate
Received on Wednesday, 5 April 2017 16:03:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:49 UTC