Question: How many feature films were shot in the Bahamas (the one whose Human Development Index is 0.79)?
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> "feature film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Bahamas" . ?e_1 <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "0.79"^^xsd:double .   }
Program:
function: Find
inputs: Bahamas
function: FilterNum
dependencies: 0
inputs: Human Development Index
0.79
=
function: Relate
dependencies: 1
inputs: filming location
backward
function: FilterConcept
dependencies: 2
inputs: feature film
function: Count
dependencies: 3