Question: How many county towns are identified by WOEID 30599 or are where Lewis Carroll died?
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 <WOEID> ?pv . ?pv <pred:value> "30599" .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Lewis Carroll" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
30599
function: FilterConcept
dependencies: 1
inputs: county town
function: Find
inputs: Lewis Carroll
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: county town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2