Question: How many Golden Raspberry Awards received The Postman (the one whose script is written by Brian Helgeland)?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Golden Raspberry Awards" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "The Postman" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> "Brian Helgeland" .   }
Program:
function: Find
inputs: Brian Helgeland
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Postman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Golden Raspberry Awards
function: Count
dependencies: 5