Question: Which Harry Potter book was published on 1998-07-02?
Answer(s):
answer: Harry Potter and the Chamber of Secrets

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 "1998-07-02"^^xsd:dateTime . 
}