Question: What big city is the twineed twinned administrative body of the capital where the Spanish Alaska was born?
Choices:
Doha
Guadalajara
Buenos Aires
Lyon
Cairo
Beirut
Hamburg
Cologne
Manila
Stuttgart
Answer: Stuttgart
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "capital" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Alaska" . ?e_2 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "Spanish" .   }
Program:
function: Find
inputs: Spanish
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: Relate
dependencies: 5
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 6
inputs: big city
function: What
dependencies: 7