Question: What is the connection between Mobile (the one that uses the language English) to Keith Allen (the one that has the occupation of actor)?
Choices:
broadcast by
has contributing factor
territory claimed by
medical treatment
conflict
highest judicial authority
film release region
permanent resident of
cast member
author
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mobile" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Keith Allen" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Mobile
function: And
dependencies: 1
2
function: Find
inputs: actor
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Keith Allen
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7