I am working on GEOSPARQL queries. And I want to store Polygon Coordinates as wktLiteral values using RDF Graph (RDFLIB python). Currently I am doing that using the below code.
GEO = Namespace("http://www.opengis.net/ont/geosparql#")
if name == "wkt":
self._graph.add((image, GEO["asWKT"], rl.Literal(value, datatype=GEO.wktGeneral)))
But when I see results in my Apache Fuseki server. I am not able to see proper datatype for "POLYGON(()) coordinates". Please let me know if anything is missing. Thank you.