Question: How many writers, the occupation of Jules Verne, do we know that work as film directors?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Jules Verne
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: writer
function: Find
inputs: film director
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: writer
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "writer" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Jules Verne" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> "film director" .  }
Answer: 0