Question: What are the number of animated films whose release region is Israel (the one whose trunk prefix is 0) ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Israel" . ?e_1 <trunk_prefix> ?pv . ?pv <pred:value> "0" .   }
Program:
function: Find
inputs: Israel
function: FilterStr
dependencies: 0
inputs: trunk prefix
0
function: Relate
dependencies: 1
inputs: film release region
backward
function: FilterConcept
dependencies: 2
inputs: animated film
function: Count
dependencies: 3