Question: what is date of death  of diophantus is latest date is 299-0-0?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q178217 p:P570 ?s . ?s ps:P570 ?obj . ?s pq:P1326 ?x filter(contains(?x,'299-0-0')) }