Question: How many Academy Awards claim the discipline When in Rome (whose producer is Mary-Kate Olsen) or are conferred by the Academy of Motion Picture Arts and Sciences?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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> "When in Rome" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> "Mary-Kate Olsen" .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> "Academy of Motion Picture Arts and Sciences" .  } }
Program:
function: Find
inputs: Mary-Kate Olsen
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: When in Rome
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: Academy of Motion Picture Arts and Sciences
function: Relate
dependencies: 6
inputs: conferred by
backward
function: FilterConcept
dependencies: 7
inputs: Academy Awards
function: Or
dependencies: 5
8
function: Count
dependencies: 9