Question: How many plays are shot in Nurmberg (the one whose postal code is 90402–90491)?
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> "play" . ?e_1 <cites> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "Nuremberg" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "90402–90491" .   }
Program:
function: Find
inputs: Nuremberg
function: FilterStr
dependencies: 0
inputs: postal code
90402–90491
function: Relate
dependencies: 1
inputs: filming location
backward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: Relate
dependencies: 3
inputs: cites
forward
function: FilterConcept
dependencies: 4
inputs: play
function: Count
dependencies: 5