Question: How many Critics' Choice Movie Awards were nominated to Changeling (the one that was nominated for BAFTA Award for Best Direction) or have an inception time on 1871-12-31?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
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> "Changeling" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Direction" .  } UNION { ?e <inception> ?pv . ?pv <pred:date> "1871-12-31"^^xsd:date .  } }
Program:
function: Find
inputs: BAFTA Award for Best Direction
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Changeling
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Critics' Choice Movie Award
function: FindAll
function: FilterDate
dependencies: 6
inputs: inception
1871-12-31
=
function: FilterConcept
dependencies: 7
inputs: Critics' Choice Movie Award
function: Or
dependencies: 5
8
function: Count
dependencies: 9