Fig. 4

Excerpt of a flattening SPARQL query for the 'Billed Diagnosis' concept. The numbers assigned to specific parts of the SPARQL query in this figure correspond to those previously highlighted in the RDF schema shown in Fig. 1B. For the 'Subject Age' element, the query illustrates how the path is expanded to retrieve nested information about the quantity and the determination datetime