Question: What is the title of P.S. I Love You (the one that is a part of How I Met Your Mother)?
Choices:
The Shawshank Redemption
Quadrophenia
Pleasantville
Tin Man
The Beatles
P.S. I Love You
The Others
Jack London
Me and Orson Welles
A Midsummer Night's Dream
Program:
function: Find
inputs: How I Met Your Mother
function: Relate
dependencies: 0
inputs: part of the series
backward
function: Find
inputs: P.S. I Love You
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "P.S. I Love You" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "How I Met Your Mother" .  ?e <title> ?pv .  }
Answer: P.S. I Love You