Spaces:
Sleeping
Sleeping
traopia
commited on
Commit
·
92bc0bd
1
Parent(s):
00c29b3
no ollama
Browse files
src/sparql_query_wikibase.py
CHANGED
@@ -10,7 +10,7 @@ from wikibaseintegrator.wbi_helpers import get_user_agent
|
|
10 |
import pandas as pd
|
11 |
from string import Template
|
12 |
queries = False
|
13 |
-
from wikibase_helpers import wikibase_properties_id, classes_wikibase, config, wikibase_api_url
|
14 |
|
15 |
|
16 |
def execute_sparql_query(query: str, prefix: str | None = None, endpoint: str | None = None, user_agent: str | None = None, max_retries: int = 1000, retry_after: int = 60) -> dict:
|
|
|
10 |
import pandas as pd
|
11 |
from string import Template
|
12 |
queries = False
|
13 |
+
from src.wikibase_helpers import wikibase_properties_id, classes_wikibase, config, wikibase_api_url
|
14 |
|
15 |
|
16 |
def execute_sparql_query(query: str, prefix: str | None = None, endpoint: str | None = None, user_agent: str | None = None, max_retries: int = 1000, retry_after: int = 60) -> dict:
|