Some SPARQL implementations d have specific functions, e.g. GraphDB. Ontop follows the GraphDB conventions:
https://graphdb.ontotext.com/documentation/10.1/time-functions.html
https://ontop-vkg.org/guide/compliance.html#time-functions