Question: How many Golden Raspberry Awards was the film Mommy Dearest or the actor Bo Derek been nominated for?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Golden Raspberry Awards" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Mommie Dearest" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Bo Derek" .  } }
Program:
function: Find
inputs: Mommie Dearest
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Golden Raspberry Awards
function: Find
inputs: Bo Derek
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Golden Raspberry Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 7