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

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

From: David Booth <david@dbooth.org>
Date: Tue, 17 Mar 2015 18:08:58 -0400
Message-ID: <5508A5FA.9060106@dbooth.org>
To: Linked JSON <public-linked-json@w3.org>, Jim McCusker <mccusj@rpi.edu>, Markus Lanthaler <markus.lanthaler@gmx.net>, msporny@digitalbazaar.com
CC: Grahame Grieve <grahame@healthintersections.com.au>
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
Received on Tuesday, 17 March 2015 22:09:27 UTC

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