This project contains an example (database dump, mapping files, wiki documentation) that shows how one can use the geospatial extension of ontop (ontop-spatial).
It also comes with a precompiled distribution of the most current version of ontop-spatial.