Question: When was the political party that has includes James Madison (the one whose date of birth is 1751-03-16) dissolved?
Choices:
2014-05-21
1865
1795-01-19
2003-06-25
1806-08-06
2014-06-09
2013-04-01
1824-01-01
1996-08-06
1897-10-12
Program:
function: Find
inputs: James Madison
function: FilterDate
dependencies: 0
inputs: date of birth
1751-03-16
=
function: Relate
dependencies: 1
inputs: member of political party
forward
function: FilterConcept
dependencies: 2
inputs: political party
function: QueryAttr
dependencies: 3
inputs: dissolved, abolished or demolished
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "James Madison" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1751-03-16"^^xsd:date . ?e <dissolved,_abolished_or_demolished> ?pv .  }
Answer: 1824-01-01