Question: How many cities in New Jersey with postal code 07501 were filming location of The Hurricane which received 57th Golden Globe Awards?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Hurricane" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "57th Golden Globe Awards" .  ?e <postal_code> ?pv . ?pv <pred:value> "07501" .  }
Program:
function: Find
inputs: 57th Golden Globe Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Hurricane
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: FindAll
function: FilterStr
dependencies: 6
inputs: postal code
07501
function: FilterConcept
dependencies: 7
inputs: city in New Jersey
function: And
dependencies: 5
8
function: Count
dependencies: 9