Question: How is James Monroe who died on 1898-07-06 related to the USA?
Choices:
broadcast by
collection
contributor(s) to the creative work
voice type
country of citizenship
chief executive officer
musical conductor
military rank
designed by
conferred by
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Monroe" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1898-07-06"^^xsd:date . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Monroe
function: FilterDate
dependencies: 0
inputs: date of death
1898-07-06
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2