Question: How many towns have a WOEID of 35398 or a TOID of 4000000074570326?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" .  { ?e <WOEID> ?pv . ?pv <pred:value> "35398" .  } UNION { ?e <TOID> ?pv . ?pv <pred:value> "4000000074570326" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
35398
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
4000000074570326
function: FilterConcept
dependencies: 4
inputs: town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2