From: Using Semantic Web technology to support icd-11 textual definitions authoring
SPARQL Query | Note |
---|---|
SELECT DISTINCT ?label ?code | To get all chapter labels and codes of ICD-11 |
  { GRAPH <http://who.int/icd> | |
    { <http://who.int/icd#ICDCategory> | |
       <http://who.int/icd/vocab/resource/DIRECT-SUBCLASSES> ?child. | |
    ?child <http://who.int/icd/vocab/resource/DIRECT-SUPERCLASSES> ?parent. | |
    ?child rdfs:label ?label . | |
    ?child <http://who.int/icd#icdCode> ?code. | |
 } } ORDER BY ?label |