Question: Which series of films shares the genre of the Frank Capra film?
Choices:
Spy Kids
Why We Fight
Titanic
The Smurfs
Mrs. Miniver
Frank Capra
The Vow
The Town
Kick-Ass
American Pie
Answer: Why We Fight
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> "Frank Capra" .   }
Program:
function: Find
inputs: Frank Capra
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: genre
backward
function: FilterConcept
dependencies: 3
inputs: film series
function: What
dependencies: 4