machine_question: what jobs did john adams have before he was president and is the office position was held from 1775-05-10
question: What office did John Adams hold from May 10, 1775 before he was President?
sparql: #MANUAL SPARQL
  PREFIX ns: <http://rdf.freebase.com/ns/>
  SELECT DISTINCT ?x
  WHERE {
  ns:m.03_js ns:government.politician.government_positions_held ?p .
  ?p ns:government.government_position_held.office_position_or_title ns:m.060d2 .
  ?p ns:government.government_position_held.from ?from .
  ns:m.03_js ns:government.politician.government_positions_held ?y .
  ?y ns:government.government_position_held.office_position_or_title ?x .
  ?y ns:government.government_position_held.from ?z .
  filter(xsd:datetime(?z) - xsd:datetime(?from) < 0)
  ?x ns:government.government_office_or_title.office_holders ?c .
  ?c ns:government.government_position_held.from "1775-05-10"^^xsd:dateTime . 
  }
webqsp_question: what jobs did john adams have before he was president