Question: What is the relationship between Top Gun and Tom Skerritt?
Choices:
discoverer or inventor
had as last meal
position played on team / speciality
diplomatic relation
cast member
office contested
maintained by
fabrication method
developer
depicted by
Program:
function: Find
inputs: Top Gun
function: Find
inputs: Tom Skerritt
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Top Gun" . ?e_2 <pred:name> "Tom Skerritt" . ?e_1 ?p ?e_2 .  }
Answer: cast member