Question: How many landforms have a population of 42000000 and are the narrative location of Bismarck (that originates in Germany)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "42000000"^^xsd:double . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Bismarck" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "Germany" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
42000000
=
function: FilterConcept
dependencies: 1
inputs: landform
function: Find
inputs: Germany
function: Relate
dependencies: 3
inputs: country of origin
backward
function: Find
inputs: Bismarck
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
forward
function: FilterConcept
dependencies: 7
inputs: landform
function: And
dependencies: 2
8
function: Count
dependencies: 9