Question: What is the relationship between Queens and Jamaica, where Lamar Odom was born?
Choices: basin country
set in period
currency
contributor(s) to the creative work
filmography
month of the year
diplomatic relation
producer
contains administrative territorial entity
affiliation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Queens" . ?e_2 <pred:name> "Jamaica" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Lamar Odom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Queens
function: Find
inputs: Lamar Odom
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Jamaica
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: contains administrative territorial entity