Question: How many silent films were written by Victor Hugo or have RKO Pictures as their production company?
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> "silent film" .  { ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Victor Hugo" .  } UNION { ?e <production_company> ?e_1 . ?e_1 <pred:name> "RKO Pictures" .  } }
Program:
function: Find
inputs: Victor Hugo
function: Relate
dependencies: 0
inputs: after a work by
backward
function: FilterConcept
dependencies: 1
inputs: silent film
function: Find
inputs: RKO Pictures
function: Relate
dependencies: 3
inputs: production company
backward
function: FilterConcept
dependencies: 4
inputs: silent film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1