machine_question: when was abe lincoln president and is the event ended before 1865-03-04
question: What event ended before 3-4-1865 while Abe Lincoln was the President?
sparql: PREFIX ns: <http://rdf.freebase.com/ns/>
  SELECT DISTINCT ?x
  WHERE {
  FILTER (?x != ns:m.0gzh)
  FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
  ns:m.0gzh ns:base.inaugurations.inauguration_speaker.inauguration ?x .
  ?x ns:time.event.end_date ?num .
  FILTER (?num < "1865-03-04"^^xsd:dateTime) . 
  }
webqsp_question: when was abe lincoln president