Question: Who is married to Sharon Osbourne?
Choices:
Ben Harper
Toby Jones
William Henry Harrison
Richard Brooks
John Hughes
Imelda Staunton
Richard Gere
Max Fleischer
Ozzy Osbourne
Sylvester Stallone
Program:
function: Find
inputs: Sharon Osbourne
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: human
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Sharon Osbourne" .   }
Answer: Ozzy Osbourne