Question: What is the sovereign state that is the narrative location of Yentl and whose total fertility rate is not 3.9?
Choices:
Weimar Republic
Switzerland
Madagascar
Cambodia
Pakistan
Barbados
Laos
Chad
Poland
Russia
Program:
function: Find
inputs: Yentl
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: total fertility rate
3.9
!=
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Yentl" .  ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "3.9"^^xsd:double ) .  }
Answer: Poland