Question: What is the number of medicines that have a specialty of smallpox who has a OSM tag or key of Tag:healthcare:speciality=paediatrics
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medicine" .  { ?e_1 <health_specialty> ?e . ?e_1 <pred:name> "smallpox" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:healthcare:speciality=paediatrics" .  } }
Program:
function: Find
inputs: smallpox
function: Relate
dependencies: 0
inputs: health specialty
forward
function: FilterConcept
dependencies: 1
inputs: medicine
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:healthcare:speciality=paediatrics
function: FilterConcept
dependencies: 4
inputs: medicine
function: Or
dependencies: 2
5
function: Count
dependencies: 6