SPARQL on FHIR

About the tool

The FHIR specification defines RDF (specifically Turtle) as one of the possible serialization formats for FHIR resources. This means that every FHIR resource or a bundle of FHIR resources can be interpreted as an RDF dataset and queried using SPARQL.

I've created this tool to experiment with the RDF representation of FHIR resources and to demonstrate how FHIR data can be queried using SPARQL.

To use the tool, you need to provide the FHIR data in the FSH format and the SPARQL query.

Demo

The FHIR resources (FSH instances) to be used for evaluating the SPARQL query.
The SPARQL query to be executed against the FHIR resources.
Press the Run query button to execute the query.

See also

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.