Question: What is the connection between The Talented Mr. Ripley (the one whose OCLC control number is 2529516) to Venice (the one that is the twinned administrative body of Yerevan)?
Choices:
founded by
award disciplines or subjects
model item
subject has role
narrative location
winner
drug used for treatment
derivative work
has cause
permanent resident of
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Talented Mr. Ripley" . ?e_1 <OCLC_control_number> ?pv . ?pv <pred:value> "2529516" . ?e_2 <pred:name> "Venice" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Yerevan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Talented Mr. Ripley
function: FilterStr
dependencies: 0
inputs: OCLC control number
2529516
function: Find
inputs: Yerevan
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Venice
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5