Question: Who has the same science fiction genre as the Wild Wild West?
Choices:
Wild Wild West
John C. McGinley
The Three Musketeers
Pierce Brosnan
Michael Madsen
The League of Extraordinary Gentlemen
Quentin Tarantino
Bruce McGill
Stephen King
William Gibson
Answer: William Gibson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "science fiction" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> "Wild Wild West" .   }
Program:
function: Find
inputs: Wild Wild West
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: science fiction
function: Relate
dependencies: 2
inputs: genre
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4