Question: WHat number of cities are in Australia (the one that is the release region of This Is England)?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "This Is England" .   }
Program:
function: Find
inputs: This Is England
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: city
function: Count
dependencies: 5