Question: Which book published before 1999 was authored by Niccolo Machiavelli?
Answer(s):
answer: The Prince

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.05cvs)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05cvs ns:book.author.book_editions_published ?x .
?x ns:book.book_edition.publication_date ?num .
FILTER (?num < "1999"^^xsd:dateTime) . 
}