Question: What celebrity dated Brody Jenner and had the relations ended at some point before 2006-08-09?
Answer(s):
answer: Paris Hilton

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.026_dq6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.026_dq6 ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date ?num .
FILTER (?num < "2006-08-09"^^xsd:dateTime) . 
}