Question: What number of written works primarily depict World War II?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "World War II" .   }
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: Count
dependencies: 2