Question: WWII is the main subject of how many TV movies?
Choices:
6
7
8
9
10
11
12
13
14
15
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: Count
dependencies: 2
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" .   }
Answer: 6