Question: How many film production companies are the production company of Lady in the Water or have a beginning date that is before 1917?
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> "film production company" .  { ?e_1 <production_company> ?e . ?e_1 <pred:name> "Lady in the Water" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1917 ) .  } }
Program:
function: Find
inputs: Lady in the Water
function: Relate
dependencies: 0
inputs: production company
forward
function: FilterConcept
dependencies: 1
inputs: film production company
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1917
<
function: FilterConcept
dependencies: 4
inputs: film production company
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4