Question: What person is a participant in the First Continental Congress and is president of the United States of America until the ending date in 1801?
Choices: Paul Simon
Richard Gere
Max Fleischer
James E. Reilly
Simon Cowell
William Henry Harrison
Rahul Dev Burman
George Washington
John Adams
Sylvester Stallone
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <participant> ?e . ?e_1 <pred:name> "First Continental Congress" .  ?e_2 <head_of_government> ?e . ?e_2 <pred:name> "United States of America" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <head_of_government> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1801 .  }
Program:
function: Find
inputs: First Continental Congress
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: head of government
forward
function: QFilterYear
dependencies: 4
inputs: end time
1801
=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: John Adams