Question: How many Academy Awards began before 1936 or have the discipline Get Carter (whose publication date is 2000-01-01)?
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> "Academy Awards" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1936 ) .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "Get Carter" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2000-01-01"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1936
<
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Find
inputs: Get Carter
function: FilterDate
dependencies: 3
inputs: publication date
2000-01-01
=
function: Relate
dependencies: 4
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 5
inputs: Academy Awards
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 4