Question: I would like to know the film that comes from Iceland (which has a total fertility rate of 1.95) and that has a cast member Udo Kier.
Choices:
Dancer in the Dark
Rebecca
Pleasantville
Talk to Her
The Fifth Element
End of Days
Armageddon
The Towering Inferno
A Prairie Home Companion
Training Day
Answer: Dancer in the Dark
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Iceland" . ?e_1 <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.95"^^xsd:double .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Udo Kier" .  }
Program:
function: Find
inputs: Iceland
function: FilterNum
dependencies: 0
inputs: total fertility rate
1.95
=
function: Relate
dependencies: 1
inputs: country of origin
backward
function: FilterConcept
dependencies: 2
inputs: film
function: Find
inputs: Udo Kier
function: Relate
dependencies: 4
inputs: cast member
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7