Question: What is the WOEID of the big city that is the capital of Saxony-Anhalt (which began 1990-10-03)?
Choices:
1100661
2487870
15127
857105
1099805
1442746
1047378
731208
673361
2354447
Answer: 673361
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Saxony-Anhalt" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1990-10-03"^^xsd:date . ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Saxony-Anhalt
function: FilterDate
dependencies: 0
inputs: inception
1990-10-03
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: big city
function: QueryAttr
dependencies: 3
inputs: WOEID