Question: How is George Hamilton (the one that is a member of Queen of the South F.C.) related to Irvine in the UK?
Choices:
conflict
part of the series
place of birth
developer
film crew member
film regional debut venue
inspired by
film release region
religion
takes place in fictional universe
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Hamilton" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Queen of the South F.C." . ?e_2 <pred:name> "Irvine" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Queen of the South F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: George Hamilton
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: Irvine
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7