Question: What is the title of Logan (the one that is inspired by Little Miss Sunshine)?
Choices:
127 Hours
The Brothers Bloom
Pożegnanie z Afryką
Superman II: The Richard Donner Cut
The Polar Express
Peter Pan
Elizabeth I
The Real World
The Gay Divorcee
Logan
Answer: Logan
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Logan" . ?e <inspired_by> ?e_1 . ?e_1 <pred:name> "Little Miss Sunshine" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Little Miss Sunshine
function: Relate
dependencies: 0
inputs: inspired by
backward
function: Find
inputs: Logan
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title