Question: How is Pan Am, with Christina Ricci as a cast member, linked to Christina Ricci?
Choices:
position played on team / speciality
cast member
office held by head of government
captain
creator
located in or next to body of water
place of death
after a work by
professorship
present in work
Program:
function: Find
inputs: Christina Ricci
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pan Am
function: And
dependencies: 1
2
function: Find
inputs: Christina Ricci
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pan Am" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Christina Ricci" . ?e_2 <pred:name> "Christina Ricci" . ?e_1 ?p ?e_2 .  }
Answer: cast member