Question: How many silent movies hail from the Solomon Islands or are literature-based films?
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 <country_of_origin> ?e_1 . ?e_1 <pred:name> "Solomon Islands" .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .  } }
Program:
function: Find
inputs: Solomon Islands
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: silent film
function: Find
inputs: film based on literature
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: silent film
function: Or
dependencies: 2
5
function: Count
dependencies: 6