Question: How many county towns have TOID 4000000074570043 or WOEID 34757?
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> "county town" .  { ?e <TOID> ?pv . ?pv <pred:value> "4000000074570043" .  } UNION { ?e <WOEID> ?pv . ?pv <pred:value> "34757" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074570043
function: FilterConcept
dependencies: 1
inputs: county town
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
34757
function: FilterConcept
dependencies: 4
inputs: county town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2