Question: What is the name of the city with a WOEID 1586614 and founded in 1820?
Choices:
Bergen
Chihuahua
Abidjan
Kilkenny
Dundee
Cairo
Cork
Port Elizabeth
Trieste
Santo Domingo
Answer: Port Elizabeth
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <WOEID> ?pv . ?pv <pred:value> "1586614" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1820 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
1586614
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1820
=
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6