Question: What capital is the twinned administrative body of the city whose demonym is soteropolitano?
Choices:
Los Angeles
Santiago
Fukuoka
New Delhi
Lisbon
Kiev
Philadelphia
Kuala Lumpur
Florence
Paris
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
soteropolitano
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 3
inputs: capital
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <demonym> ?pv . ?pv <pred:value> "soteropolitano" .   }
Answer: Lisbon