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

Re: [FHIR JSON-LD] Possible to specify namespace of object node in @context?

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Fri, 13 Mar 2015 18:02:06 -0400
Message-ID: <55035E5E.1020309@openlinksw.com>
To: public-linked-json@w3.org
On 3/13/15 5:18 PM, Dave Longley wrote:
> Try changing your context to:
>
> {
>    "@context": {
>       "@base": "http://example/base/",
>       "@vocab": "http://example/vocab#",
>       "fhir": "http://example/fhir#",
>       "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
>       "resourceType": {
>          "@id": "rdf:type",
>          "@type": "@vocab"
>       },
>       "Observation": {"@id": "fhir:Observation"}
>    }

Dave,

Nice example ( re., from your exchange with David Booth).

It would beneficial for this kind of example to makes its way into the  
JSON-LD spec examples collection. Even if its just an example that 
covers conversion of RDF-TURTLE to JSON-LD.

The nature of JSON-LD's @context and TURTLE's @prefix directives are 
important to efforts that convert, in either direction.

-- 
Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this



Received on Friday, 13 March 2015 22:02:28 UTC

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