Question: What celebrity is known for playing Mason Capwell and also ended a relationship in 2005?
Answer(s):
answer: Leonardo DiCaprio

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.04f3bz1)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04f3bz1 ns:tv.tv_character.appeared_in_tv_program ?y .
?y ns:tv.regular_tv_appearance.actor ?x .
?x ns:celebrities.celebrity.sexual_relationships ?c .
?c ns:celebrities.romantic_relationship.end_date "2005"^^xsd:dateTime . 
}