Question: What office did Abraham Lincoln and Patrick McDonald held?
Answer(s):
answer: United States Representative

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
  {
    SELECT ?pFrom 
    WHERE {
      ns:m.0gzh ns:government.politician.government_positions_held ?y . # Abraham Lincoln 
      ?y ns:government.government_position_held.office_position_or_title ?x ; 
         ns:government.government_position_held.basic_title ns:m.060c4 ; # President
         ns:government.government_position_held.from ?pFrom .
    }
  }
  ns:m.0gzh ns:government.politician.government_positions_held ?y . # Abraham Lincoln 
  ?y ns:government.government_position_held.office_position_or_title ?x ; 
     ns:government.government_position_held.from ?from .
  
  FILTER(xsd:dateTime(?pFrom) - xsd:dateTime(?from) > 0)?x ns:government.government_office_category.officeholders ?c .
?c ns:government.government_position_held.office_holder ns:m.0_86hpn . 
}