Question: How many written works are part of the English work James Bond?
Choices: 10
11
12
13
14
15
16
17
18
19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "James Bond" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .   }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: James Bond
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: Count
dependencies: 5
Answer: 10