Question: How many television series episodes have the title 'Hearts and Minds' or use the English language?
Choices: 14
15
16
17
18
19
20
21
22
23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" .  { ?e <title> ?pv . ?pv <pred:value> "Hearts and Minds" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Hearts and Minds
function: FilterConcept
dependencies: 1
inputs: television series episode
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 21