Question: How many constitutional monarchies are a release region of Silent Hill published on 2006-05-11 and whose Human Development Index is greater than 0.9?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "Silent Hill" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2006-05-11"^^xsd:date .  ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "0.9"^^xsd:double ) .  }
Program:
function: Find
inputs: Silent Hill
function: FilterDate
dependencies: 0
inputs: publication date
2006-05-11
=
function: Relate
dependencies: 1
inputs: film release region
forward
function: FilterConcept
dependencies: 2
inputs: constitutional monarchy
function: FindAll
function: FilterNum
dependencies: 4
inputs: Human Development Index
0.9
>
function: FilterConcept
dependencies: 5
inputs: constitutional monarchy
function: And
dependencies: 3
6
function: Count
dependencies: 7