Question: How many people were either born before 1967 or won the Academy Award for Best Original Song?
Choices:
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1967
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 3
inputs: winner
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" .  { ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } UNION { ?e_1 <winner> ?e . ?e_1 <pred:name> "Academy Award for Best Original Song" .  } }
Answer: 4057