Question: Which of the Harry Potter books was published latest?
Answer(s):
answer: Harry Potter and the Deathly Hallows

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.03647x)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.03647x ns:book.book_character.appears_in_book ?x .
?x ns:book.written_work.date_of_first_publication ?num .
}
ORDER BY DESC(?num) LIMIT 1