Question: What is the WOEID of the capital city of North Holland?
Choices:
2487784
2411304
12683921
18114
640831
28757
729636
23424923
23424901
13383
Answer: 729636
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "North Holland" .  ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: North Holland
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: WOEID