Question: How many Golden Raspberry Awards were received by Kristen Stewart or were nominated to The Flintstones (the one that was nominated for Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
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> "Kristen Stewart" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The Flintstones" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel" .  } }
Program:
function: Find
inputs: Kristen Stewart
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Golden Raspberry Awards
function: Find
inputs: Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel
function: Relate
dependencies: 3
inputs: nominated for
backward
function: Find
inputs: The Flintstones
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: Golden Raspberry Awards
function: Or
dependencies: 2
8
function: Count
dependencies: 9