Question: What is the title of Massachusetts (the one whose lyrics is written by Maurice Gibb)?
Choices: The Adventures of Priscilla, Queen of the Desert
Massachusetts
Analyze This
Александр. Невская битва
Hable con ella
Arizona
Battlefield Earth
Stand by Me
Κράμερ εναντίον Κράμερ
X-Men: The Last Stand
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Massachusetts" . ?e <lyrics_by> ?e_1 . ?e_1 <pred:name> "Maurice Gibb" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Maurice Gibb
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: Massachusetts
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: Massachusetts