Question: What is the connection between Charles Boyer (the one whose date of birth is 1976-11-30) to Canada?
Choices:
coextensive with
architect
spouse
Wikidata property
country of citizenship
founded by
contains settlement
follows
librettist
destination point
Program:
function: Find
inputs: Charles Boyer
function: FilterDate
dependencies: 0
inputs: date of birth
1976-11-30
=
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charles Boyer" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1976-11-30"^^xsd:date . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship