Question: What commune in France is headed by a mayor?
Choices:
Versailles
Christchurch
San Bernardino
Tucson
Neuilly-sur-Seine
Louisville
Athens
Portland
Fist of the North Star
South America
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: commune of France
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "commune of France" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .   }
Answer: Neuilly-sur-Seine