Question: Which big city has a population that is not equal to 35000 and has the German district key 08111?
Choices:
Eindhoven
Dnipro
Halle (Saale)
Utrecht
Stuttgart
Magdeburg
Heidelberg
Erlangen
Lille
Lyon
Answer: Stuttgart
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "35000"^^xsd:double ) . ?e <German_district_key> ?pv_1 . ?pv_1 <pred:value> "08111" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
35000
!=
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterStr
dependencies: 3
inputs: German district key
08111
function: FilterConcept
dependencies: 4
inputs: big city
function: And
dependencies: 2
5
function: What
dependencies: 6