Question: What is the relationship between Christopher Lloyd (the one whose date of birth is 1960-06-18) and the United States of America?
Choices:
works in collection
programming paradigm
narrative role
has part
medical condition
chairperson
replaces
place of birth
professional or sports partner
country of citizenship
Program:
function: Find
inputs: Christopher Lloyd
function: FilterDate
dependencies: 0
inputs: date of birth
1960-06-18
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Lloyd" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1960-06-18"^^xsd:date . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship