Question: How many Critics' Choice Movie Awards have been nominated to The Simpsons Movie or that were won by Mira Sorvino?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Critics' Choice Movie Award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The Simpsons Movie" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Mira Sorvino" .  } }
Program:
function: Find
inputs: The Simpsons Movie
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Critics' Choice Movie Award
function: Find
inputs: Mira Sorvino
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: Critics' Choice Movie Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6