Question: Which person married Aaliyah in 1994?
Choices:
Max Fleischer
Richard Gere
Edward James Olmos
R. Kelly
William Henry Harrison
Heather Locklear
David Byrne
Sylvester Stallone
Simon Cowell
Liam Neeson
Program:
function: Find
inputs: Aaliyah
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
1994
=
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> "Aaliyah" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1994 .  }
Answer: R. Kelly