Question: Name all the people Kim Kardashian dated before 8/06/2013 when ending regular tv appearance.?
Answer(s):
answer: Nick Cannon

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0261x8t)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0261x8t ns:base.popstra.celebrity.dated ?y .
?y ns:base.popstra.dated.participant ?x .
?x ns:tv.tv_personality.tv_regular_appearances ?c .
?c ns:tv.tv_regular_personal_appearance.to ?num .
FILTER (?num < "2013-08-06"^^xsd:dateTime) . 
}