Question: Which film was titled Romeo y Julieta that is a derivative of Romeo and Juliet (the one that derives Romeo + Juliet)?
Choices:
Curse of the Golden Flower
Rope
The Towering Inferno
Romeo and Juliet
Training Day
The Fifth Element
Rebecca
Pleasantville
A Prairie Home Companion
Talk to Her
Answer: Romeo and Juliet
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "Romeo y Julieta" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Romeo and Juliet" . ?e_1 <derivative_work> ?e_2 . ?e_2 <pred:name> "Romeo + Juliet" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Romeo y Julieta
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Romeo + Juliet
function: Relate
dependencies: 3
inputs: derivative work
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
forward
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 2
8
function: What
dependencies: 9