Question: What is the connection between P.S. I Love You (the one whose lyrics is written by John Lennon) to English?
Choices:
film regional debut venue
diplomatic relation
language of work or name
convicted of
position played on team / speciality
licensed to broadcast to
official religion
film crew member
architectural style
parent organization
Program:
function: Find
inputs: John Lennon
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: P.S. I Love You
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "P.S. I Love You" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> "John Lennon" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: language of work or name