Question: In the year 1984, Who is the spouse of Andrew Lloyd Webber?
Choices:
Richard Gere
Simon Cowell
Sarah Brightman
Rahul Dev Burman
William Henry Harrison
David Byrne
Max Fleischer
Sylvester Stallone
Christopher Guest
Andrew Lloyd Webber
Program:
function: Find
inputs: Andrew Lloyd Webber
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
1984
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Andrew Lloyd Webber" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1984 .  }
Answer: Sarah Brightman