Question: Which CANTIC-ID belongs to the James Madison who died on 1836-06-28?
Choices:
a1065950x
a11794707
a11955132
a11419908
a12357790
a11855897
a11827312
a11372680
a11048013
a11437509
Answer: a1065950x
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "James Madison" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1836-06-28"^^xsd:date . ?e <CANTIC-ID> ?pv .  }
Program:
function: Find
inputs: James Madison
function: FilterDate
dependencies: 0
inputs: date of death
1836-06-28
=
function: QueryAttr
dependencies: 1
inputs: CANTIC-ID