Question: What is the connection between Dynasty (the one that is originally aired on American Broadcasting Company) to George Hamilton (the one that is a cast member of The Godfather Part III)?
Choices: appears in the form of
cast member
work location
symptom of
update method
manufacturer
permanent resident of
country of origin
political ideology
located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dynasty" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "American Broadcasting Company" . ?e_2 <pred:name> "George Hamilton" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "The Godfather Part III" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Dynasty
function: And
dependencies: 1
2
function: Find
inputs: The Godfather Part III
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: George Hamilton
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member