Skip to main content
. 2013 Apr 21;4:11. doi: 10.1186/2041-1480-4-11

Table 4.

A SPARQL query example to extract the definition and its metadata for a specific ICD category, A19 – Miliary tuberculosis

SPARQL Query Note
SELECT DISTINCT ?label ?definitionContent ?ontologyId ?termId
To extract the definition and its metadata for a specific ICD category, A19 – Miliary tuberculosis
 { GRAPH <http://who.int/icd>
  { <http://who.int/icd#A19> <http://who.int/icd#definitionPrefilled> ?prefilledDefinition .
   <http://who.int/icd#A19> rdfs:label ?label .
   ?prefilledDefinition <http://who.int/icd#label> ?definitionContent;
          <http://who.int/icd#ontologyId> ?ontologyId;
          <http://who.int/icd#termId> ?termId;
 
  }}