Question: How many miniseries are in English or are directed by Denzel Washington?
Choices: 37
38
39
40
41
42
43
44
45
46
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <director> ?e_1 . ?e_1 <pred:name> "Denzel Washington" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } }
Program:
function: Find
inputs: Denzel Washington
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 40