Question: If we know there is a big city, a capital of former French Region, and this former region contains administrative division Aude Aude (the one whose official website is http://www.aude.pref.gouv.fr/), can we tell the name of this city?
Choices:
Utrecht
Halle (Saale)
Lyon
Dnipro
Stuttgart
Montpellier
Aachen
Dijon
Eindhoven
Uppsala
Answer: Montpellier
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "former French region" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Aude" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.aude.pref.gouv.fr/" .   }
Program:
function: Find
inputs: Aude
function: FilterStr
dependencies: 0
inputs: official website
http://www.aude.pref.gouv.fr/
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: former French region
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: big city
function: What
dependencies: 5