Question: How many silent films won the Legion of Merit or were set in Paris, where Inglourious Basterds is set?
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> "silent film" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Legion of Merit" .  } UNION { ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Inglourious Basterds" .  } }
Program:
function: Find
inputs: Legion of Merit
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: silent film
function: Find
inputs: Inglourious Basterds
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: Paris
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: silent film
function: Or
dependencies: 2
8
function: Count
dependencies: 9