Question: How many miniseries have the production company DreamWorks or have the author Rory Cochrane?
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> "miniseries" .  { ?e <production_company> ?e_1 . ?e_1 <pred:name> "DreamWorks" .  } UNION { ?e <author> ?e_1 . ?e_1 <pred:name> "Rory Cochrane" .  } }
Program:
function: Find
inputs: DreamWorks
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: Find
inputs: Rory Cochrane
function: Relate
dependencies: 3
inputs: author
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2