Question: What is the connection between Peter Weir (the one that was nominated for Academy Award for Best Picture) to Australia (the one whose total fertility rate is 1.755)?
Choices:
works in collection
editor
production designer
copyright holder
film distribute region
military casualty classification
country of citizenship
characters
designated as terrorist by
designed to carry
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Weir" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Picture" . ?e_2 <pred:name> "Australia" . ?e_2 <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.755"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Peter Weir
function: And
dependencies: 1
2
function: Find
inputs: Australia
function: FilterNum
dependencies: 4
inputs: total fertility rate
1.755
=
function: QueryRelation
dependencies: 3
5