Question: Which movies has J.J. Abrams both directed and produced?
Answer(s):
answer: Star Trek
answer: Super 8
answer: Star Trek Into Darkness
answer: Star Wars: The Force Awakens

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01xndd)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xndd ns:film.director.film ?x .
?x ns:film.film.produced_by ns:m.01xndd . 
}