Question: What is the connection between Tom Brady (the one that was born in Geelong) to Australia (the one that has a diplomatic relation with Trinidad and Tobago)?
Choices: country of citizenship
main subject
musical conductor
official language
honorific suffix
original language of film or TV show
voice actor
operating system
student of
location of discovery
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Brady" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Geelong" . ?e_2 <pred:name> "Australia" . ?e_2 <diplomatic_relation> ?e_4 . ?e_4 <pred:name> "Trinidad and Tobago" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Geelong
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Tom Brady
function: And
dependencies: 1
2
function: Find
inputs: Trinidad and Tobago
function: Relate
dependencies: 4
inputs: diplomatic relation
backward
function: Find
inputs: Australia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: country of citizenship