Question: Which German state with ISO 3166-2 code DE-BB occupies other than 8000 square km?
Choices:
Mecklenburg-Vorpommern
Bremen
Lower Saxony
Saxony
Saxony-Anhalt
Brandenburg
Schleswig-Holstein
Thuringia
Rhineland-Palatinate
North Rhine-Westphalia
Answer: Brandenburg
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "DE-BB" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "8000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
DE-BB
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
8000 square kilometre
!=
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: And
dependencies: 2
5
function: What
dependencies: 6