Question: What is the number of German states that follow Brandenberg, the administrative department of German Democratic Republic, and that is the location of the production of Babel?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: German Democratic Republic
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Brandenburg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Find
inputs: Babel
function: Relate
dependencies: 6
inputs: filming location
forward
function: FilterConcept
dependencies: 7
inputs: state of Germany
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Brandenburg" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "German Democratic Republic" .  ?e_3 <filming_location> ?e . ?e_3 <pred:name> "Babel" .  }
Answer: 0