Question: What is the relationship between Shrek Forever After (the one that uses the language English) to English?
Choices:
place of birth
conferred by
affiliation
has part
occupant
language of work or name
dedicated to
copyright holder
soundtrack album
industry
Answer: language of work or name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shrek Forever After" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Shrek Forever After
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4