Question: How many television films mainly feature World War II or have title The Lorax?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" .  { ?e <main_subject> ?e_1 . ?e_1 <pred:name> "World War II" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Lorax" .  } }
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Lorax
function: FilterConcept
dependencies: 4
inputs: television film
function: Or
dependencies: 2
5
function: Count
dependencies: 6