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

Re: [FHIR JSON-LD] Possible to generate implied triples from @context?

From: Grahame Grieve <grahame@healthintersections.com.au>
Date: Wed, 18 Mar 2015 09:11:28 +1100
Message-ID: <CAG47hGaMoD8U=kdPnyDSYSU3Y86aKfvp7n6jHyP0CQU9g8=K1Q@mail.gmail.com>
To: David Booth <david@dbooth.org>
Cc: Linked JSON <public-linked-json@w3.org>, Jim McCusker <mccusj@rpi.edu>, Markus Lanthaler <markus.lanthaler@gmx.net>, msporny@digitalbazaar.com
but my point was, if you have  "@context" : "http://hl7.org/fhir/
StructureDefinition/Substance", you don't need "resourceType": "Substance"

Presumably the @context information makes it's way into the RDF somehow?

Grahame


On Wed, Mar 18, 2015 at 9:08 AM, David Booth <david@dbooth.org> wrote:

> This question came up here:
> https://lists.w3.org/Archives/Public/public-semweb-lifesci/
> 2015Mar/0065.html
>
> Is it possible to generate an RDF triple without an explicit property in
> the JSON-LD?  Instead of having to write:
>
> {
>   "@context" : "http://hl7.org/fhir/StructureDefinition/Substance",
>   "resourceType": "Substance",
>   ...
> }
>
> it would be nice if we could just write:
>
> {
>   "@context" : "http://hl7.org/fhir/StructureDefinition/Substance",
>   ...
> }
>
> but still generate an RDF triple like:
>
>   _:foo fhir:resourceType fhir:Substance .
>
> Is this possible?
>
> Thanks,
> David Booth
>
>


-- 
-----
http://www.healthintersections.com.au / grahame@healthintersections.com.au
/ +61 411 867 065
Received on Tuesday, 17 March 2015 22:12:05 UTC

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