Question: What is the number of film series whose production company is Lucasfilm or producer is Neal H. Moritz?
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> "film series" .  { ?e <production_company> ?e_1 . ?e_1 <pred:name> "Lucasfilm" .  } UNION { ?e <producer> ?e_1 . ?e_1 <pred:name> "Neal H. Moritz" .  } }
Program:
function: Find
inputs: Lucasfilm
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: film series
function: Find
inputs: Neal H. Moritz
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: film series
function: Or
dependencies: 2
5
function: Count
dependencies: 6