Question: How many Academy Awards match the discipline of The Proposition (the one that has Blythe Danner as a cast member) or were given someone for The Godfather Part III ?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards" .  { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "The Proposition" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Blythe Danner" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The Godfather Part III" .  } }
Program:
function: Find
inputs: Blythe Danner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Find
inputs: The Godfather Part III
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: Academy Awards
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 6