Question: What city is located in Somalia and is a common property of the association football manager?
Choices:
Santo Domingo
Cork
Dundee
Kilkenny
Mogadishu
Chihuahua
Cairo
Trieste
Abidjan
Bergen
Program:
function: Find
inputs: Somalia
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: association football manager
function: Relate
dependencies: 3
inputs: properties for this type
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Somalia" .  ?e_2 <properties_for_this_type> ?e . ?e_2 <pred:name> "association football manager" .  }
Answer: Mogadishu