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; | |
| |
}} |