Question: How many types of sport are there whose OSM tag or key is Tag:sport=australian_football or whose IAB code is 537 ?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:sport=australian_football" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> "537" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Tag:sport=australian_football
function: FilterConcept
dependencies: 1
inputs: type of sport
function: FindAll
function: FilterStr
dependencies: 3
inputs: IAB code
537
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2