Question: What is the WOEID of the capital of Lincolnshire?
Choices:
24554868
26279
14696
2419175
2295412
1586549
2510744
1105353
18382
2456621
Answer: 26279
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Lincolnshire" .  ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Lincolnshire
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: WOEID