Question: How many states are the release region of the film titled Bel Ami?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <film_release_region> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <title> ?pv . ?pv <pred:value> "Bel Ami" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Bel Ami
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: film release region
forward
function: FilterConcept
dependencies: 3
inputs: state
function: Count
dependencies: 4