Question: What is the WOEID of the Netherlands municipality that is the capital of Limburg (which shares a border with Gelderland)?
Choices:
15127
380213
1968902
2467064
23424857
731497
2474465
2412788
2413165
608105
Program:
function: Find
inputs: Gelderland
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: QueryAttr
dependencies: 5
inputs: WOEID
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Limburg" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Gelderland" .  ?e <WOEID> ?pv .  }
Answer: 731497