Question: How is Richard III in English related to Richard III with Claire Bloom as a cast member?
Choices:
author
spouse
country
educated at
exported to
location of formation
month of the year
employer
depicted by
studies
Answer: depicted by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard III" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Richard III" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Claire Bloom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Richard III
function: And
dependencies: 1
2
function: Find
inputs: Claire Bloom
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Richard III
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7