Question: In the series with native label of James Bond, how many total written works are there?
Choices: 5
6
7
8
9
10
11
12
13
14
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 <native_label> ?pv . ?pv <pred:value> "James Bond" .   }
Program:
function: Find
inputs: James Bond
function: FilterStr
dependencies: 0
inputs: native label
James Bond
function: Relate
dependencies: 1
inputs: part of the series
backward
function: FilterConcept
dependencies: 2
inputs: written work
function: Count
dependencies: 3
Answer: 10