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