- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Fri, 20 Mar 2020 19:18:31 +0100
- To: Jim McCusker <mccusker@gmail.com>
- Cc: David Booth <david@dbooth.org>, "its@lists.hl7.org" <its@lists.hl7.org>, w3c semweb HCLS <public-semweb-lifesci@w3.org>
On Tue, Nov 19, 2019 at 11:04:29PM -0500, Jim McCusker wrote: > I remember that an issue the last time around was that a lot of property > names were different depending on the type they were hanging off of. > Originally contexts weren't going to be able to help that. Has anything > changed? I'm not positive I'm answering your question but just in case... JSON-LD 1.0 is context-free, meaning there is but one declaration for any property. In JSON-LD 1.1, you can nest @contexts: # Example @context: { "@context": { "@version": 1.1, "book": "http://book.example/", "person": "http://person.example/", "id": { "@id": "book:id", "@type": "@id" } , "title": "book:title", "author": { "@id": "book:author", "@context": { "name": "person:name" , "title": "person:title" } } } } # Data { "id": "book1", "title": "how to write compelling examples", "author": { "name": "X", "title": "Dr" } } note that there are two uses of "title" which correspond to two different predicates below: # Result (Turtle) [] book:id <book1> ; book:title "how to write compelling examples" ; book:author [ person:title "Dr" ; person:name "X" ] . > Thanks, > Jim > > On Tue, Nov 19, 2019 at 4:13 PM David Booth <david@dbooth.org> wrote: > > > Last week we began discussing what would need to be done, to apply > > JSON-LD 1.1 to FHIR for RDF. Harold Solbrig provided some slides giving > > background material on FHIR and FHIR/RDF, and explained how the FHIR > > specification and examples are generated by a build process. His slides > > are at > > > > https://lists.w3.org/Archives/Public/www-archive/2019Nov/att-0001/FHIRandRDF2019.pdf > > (They arrived too late to be included in last week's minutes.) > > > > This week EricP will show and discuss experiments that he has created, > > for using JSON-LD 1.1 @contexts to interpret plain FHIR/JSON as RDF. > > > > Teleconference information is below. > > > > -------- Forwarded Message -------- > > > > I am pleased to announce that we are re-launching the joint W3C/HL7 > > FHIR/RDF standardization effort, with three main goals: > > > > - Revise FHIR/RDF to be based on JSON-LD 1.1 (instead of Turtle), so > > that FHIR/JSON can be used directly as RDF merely by referencing a > > standard @context (to be defined by this work). > > > > - Improve ease-of-use, based on experience gained to date. > > > > - Improve documentation and guidance. > > > > Anyone interested in this work is encouraged to join the teleconference: > > > > 11am (Boston) Thursday Nov 7 > > We will use Google Hangout: http://tinyurl.com/fhirrdf > > > > More info: > > URL: http://wiki.hl7.org/index.php?title=ITS_RDF_ConCall_Agenda > > > > Thanks, > > David Booth > > > > > > -- > Jim McCusker > > Director, Data Operations > Tetherless World Constellation > Rensselaer Polytechnic Institute > mccusj2@rpi.edu <mccusj@cs.rpi.edu> > http://tw.rpi.edu
Received on Friday, 20 March 2020 18:18:39 UTC