aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/db/rdf.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/gn3/db/rdf.py b/gn3/db/rdf.py
index c8a5017..857e7c2 100644
--- a/gn3/db/rdf.py
+++ b/gn3/db/rdf.py
@@ -77,11 +77,3 @@ def sparql_query(
parsed_response
)
return (MonadicDict(parsed_response),)
-
-
-def get_url_local_name(string: str) -> str:
- """Get the last item after a '/" from a URL"""
- if string.startswith("http"):
- url = urlparse(string)
- return unquote(url.path).rpartition("/")[-1]
- return string