Question: Donald Trump, whose pseudonym is David Dennison, belonged to the Democratic Party until which date?
Choices:
1969-01-01
1581-07-25
2016-01-03
1896-01-28
2009
2015-11-01
1957
1957-01-01
2004-04-30
1866-10-12
Program:
function: Find
inputs: Donald Trump
function: FilterStr
dependencies: 0
inputs: pseudonym
David Dennison
function: Find
inputs: Democratic Party
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of political party
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Donald Trump" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "David Dennison" . ?e_2 <pred:name> "Democratic Party" . ?e_1 <member_of_political_party> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_political_party> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 2009