Question: Which person is married to the person in a partnership with Michael Keaton?
Choices: Heather Locklear
David Arquette
Mimi Rogers
Bobby
Tom Green
Hugh Dancy
Mark Williams
Jessica Tandy
Mia Farrow
Anthony Newley
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <spouse> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> "Michael Keaton" .   }
Program:
function: Find
inputs: Michael Keaton
function: Relate
dependencies: 0
inputs: partner
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: spouse
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
Answer: David Arquette