Question: What is the number of big cities that has a zip code of 70186 or a WOEID of 667931
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" .  { ?e <postal_code> ?pv . ?pv <pred:value> "70186" .  } UNION { ?e <WOEID> ?pv . ?pv <pred:value> "667931" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
70186
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
667931
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6