Skip to main content

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

From: Using Semantic Web technology to support icd-11 textual definitions authoring

SPARQL Query

Note

SELECT DISTINCT Tlabel IdefinitionContent TontologyId ?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> IdefinitionContent;

          <http://who.int/icd#ontologyId> TontologyId;

          <http://who.int/icd#termId> TtermId;

  }}