Question: What is the number of landforms that is from the country with the sovereign state that is the release region of National Treasure: Book of Secrets
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "National Treasure: Book of Secrets" .   }
Program:
function: Find
inputs: National Treasure: Book of Secrets
function: Relate
dependencies: 0
inputs: film release region
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: country
backward
function: FilterConcept
dependencies: 3
inputs: landform
function: Count
dependencies: 4