Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 13, 2024
1 parent 5c4556f commit d0a901c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/doc/literalutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def resolveGeoLiterals(pred, object, graph, geojsonrep, nonns, subject=None):
geojsonrep = {"type": "Point", "coordinates": [float(str(object)), float(str(othervalue))]}
elif isinstance(object, Literal) and (
str(pred) in DocConfig.geoproperties or str(object.datatype) in DocConfig.geoliteraltypes):
geojsonrep = DocUtils.processLiteral(str(object), str(object.datatype), "")
geojsonrep = LiteralUtils.processLiteral(str(object), str(object.datatype), "")
elif isinstance(object, URIRef) and nonns:
for pobj in graph.predicate_objects(object):
if isinstance(pobj[1], Literal) and (
Expand Down

0 comments on commit d0a901c

Please sign in to comment.