# HG changeset patch
# User ogiorgis <olivier.giorgis@logilab.fr>
# Date 1710420642 -3600
#      Thu Mar 14 13:50:42 2024 +0100
# Node ID 38a77f4b8ad24b16ff8bc413f0a96dfd610c7f40
# Parent  10b47e5c55721c056a3238819d3f55b7ad0ec525
fix: rename misnamed function

diff --git a/cubicweb_rodolf/process_helpers.py b/cubicweb_rodolf/process_helpers.py
--- a/cubicweb_rodolf/process_helpers.py
+++ b/cubicweb_rodolf/process_helpers.py
@@ -39,7 +39,7 @@
     return graph
 
 
-def upload_graph_to_sparql_endpoint(
+def upload_graph_to_virtuoso_endpoint(
     import_procedure: ImportProcedure,
     graph: Graph,
     named_graph: str,
diff --git a/cubicweb_rodolf/sobjects/process_type_registry.py b/cubicweb_rodolf/sobjects/process_type_registry.py
--- a/cubicweb_rodolf/sobjects/process_type_registry.py
+++ b/cubicweb_rodolf/sobjects/process_type_registry.py
@@ -5,7 +5,7 @@
 
 from cubicweb_rodolf.process_helpers import (
     get_graph_from_url,
-    upload_graph_to_sparql_endpoint,
+    upload_graph_to_virtuoso_endpoint,
 )
 from cubicweb_rodolf.schema import ImportProcess
 
@@ -20,7 +20,7 @@
         dataservice = import_recipe.dataservice[0]
         graph = get_graph_from_url(dataservice.data_url, log)
         dataset_file = import_process.update_dataset(graph)
-        upload_graph_to_sparql_endpoint(
+        upload_graph_to_virtuoso_endpoint(
             import_procedure,
             graph,
             import_recipe.graph_uri,