Question: What is the native language name of the person who is the spouse of Candice Bergen (who lives in Beverly Hills) until the ending year 1995?
Choices:
Stevie Nicks
Roald Dahl
Glenn Close
Lana Turner
Ludwig van Beethoven
Alan Anthony Silvestri
Louis Malle
Brad Jones
Arthur Schopenhauer
Edgar Meyer
Program:
function: Find
inputs: Beverly Hills
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Candice Bergen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: spouse
forward
function: QFilterYear
dependencies: 4
inputs: end time
1995
=
function: FilterConcept
dependencies: 5
inputs: human
function: QueryAttr
dependencies: 6
inputs: name in native language
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Candice Bergen" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> "Beverly Hills" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1995 . ?e <name_in_native_language> ?pv .  }
Answer: Louis Malle