Question: What university was founded before 1817 and was attended by Barack Obama?
Answer(s):
answer: Columbia University

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02mjmr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02mjmr ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:common.topic.notable_types ns:m.01y2hnl .
?x ns:organization.organization.date_founded ?num .
FILTER (?num < "1817"^^xsd:dateTime) . 
}