SPARQL on FHIR

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.

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