Question: How many branches of the military were established later than 1918 or were that of an Academy Award recipient for Best Supporting Actor?
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> "military branch" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1918 ) .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1918
>
function: FilterConcept
dependencies: 1
inputs: military branch
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: military branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6