Question: What does Tom Brady (who died in Geelong) have to do with Geelong Football Club?
Choices:
archives at
honorific prefix
spouse
diplomatic relation
instrument
country of origin
currency
license
foundational text
member of sports team
Program:
function: Find
inputs: Geelong
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Tom Brady
function: And
dependencies: 1
2
function: Find
inputs: Geelong Football Club
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Brady" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Geelong" . ?e_2 <pred:name> "Geelong Football Club" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team