Question: What actor appeared in Night at the Museum: Battle of the Smithsonian and has also dated Taylor Swift?
Answer(s):
answer: Joe Jonas

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0dl567)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0dl567 ns:celebrities.celebrity.sexual_relationships ?y .
?y ns:celebrities.romantic_relationship.celebrity ?x .
?x ns:film.actor.film ?c .
?c ns:film.performance.film ns:m.04gv3db . 
}