Question: Who was Demi Moore's marriage partner until the year 2000?
Choices:
Richard Gere
Ashton Kutcher
David Byrne
Demi Moore
Bruce Willis
Elie Samaha
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Hank Azaria
Program:
function: Find
inputs: Demi Moore
function: Relate
dependencies: 0
inputs: spouse
backward
function: QFilterYear
dependencies: 1
inputs: end time
2000
=
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 <spouse> ?e_1 . ?e_1 <pred:name> "Demi Moore" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2000 .  }
Answer: Bruce Willis