Question: Tell me the big city that is Burgundy's capital and that has a population under 8200000
Choices:
Vancouver
Dijon
Honolulu
Halle (Saale)
Lyon
Koblenz
Wollongong
Graz
Utrecht
Stuttgart
Program:
function: Find
inputs: Burgundy
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
8200000
<
function: FilterConcept
dependencies: 4
inputs: big city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Burgundy" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "8200000"^^xsd:double ) .  }
Answer: Dijon