From d0f70afe4f73605a97ddc65b097a04bd26caa5cf Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 27 Oct 2023 16:25:53 +0300 Subject: Fix pylint error. Signed-off-by: Munyoki Kilyungi --- gn3/db/rdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn3/db') diff --git a/gn3/db/rdf.py b/gn3/db/rdf.py index ae6b0f2..eb4014a 100644 --- a/gn3/db/rdf.py +++ b/gn3/db/rdf.py @@ -40,7 +40,8 @@ RDF_PREFIXES = "\n".join([f"PREFIX {key}: <{value}>" def sparql_construct_query(query: str, endpoint: str) -> dict: - """Query virtuoso using a CONSTRUCT query and return a json-ld dictionary""" + """Query virtuoso using a CONSTRUCT query and return a json-ld + dictionary""" sparql = SPARQLWrapper(endpoint) sparql.setQuery(query) results = sparql.queryAndConvert() -- cgit v1.2.3