Question: Which port city with the demonym Llanitos has the motto Montis Insignia Calpe?
Choices: Lauryn Hill
Barcelona
Alexandria
Basra
İzmir
Fremantle
Busan
Gibraltar
Odessa
Tianjin
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e <demonym> ?pv . ?pv <pred:value> "Llanitos" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Montis Insignia Calpe" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Llanitos
function: FilterConcept
dependencies: 1
inputs: port city
function: FindAll
function: FilterStr
dependencies: 3
inputs: motto text
Montis Insignia Calpe
function: FilterConcept
dependencies: 4
inputs: port city
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Gibraltar