Question: What is the relationship between Richard Thompson (the one whose date of birth is 1985-06-07) and Trinidad and Tobago?
Choices:
allegiance
notable people with this condition
child astronomical body
set in period
substitute/deputy/replacement of office/officeholder
field of work
material used
drafted by
country of citizenship
geography of topic
Program:
function: Find
inputs: Richard Thompson
function: FilterDate
dependencies: 0
inputs: date of birth
1985-06-07
=
function: Find
inputs: Trinidad and Tobago
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Thompson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1985-06-07"^^xsd:date . ?e_2 <pred:name> "Trinidad and Tobago" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship