Question: What number of movie scripts were written by Roman Polanski?
Choices:
5
6
7
8
9
10
11
12
13
14
Program:
function: Find
inputs: Roman Polanski
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Roman Polanski" .   }
Answer: 5