Skip to content

Commit 189e601

Browse files
committed
fix(nakar-server): fixes sparql endpoint type evaluation
1 parent 2f5a71f commit 189e601

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

nakar-server/src/lib/external-database/adapters/sparql/SparqlExternalDatabase.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ export class SparqlExternalDatabase implements ExternalGraphDatabase {
6868
const bindingsStream: AsyncIterator<Quad> = await myEngine.queryQuads(
6969
queryWithArguments,
7070
{
71-
sources: [url.toString()],
71+
sources: [
72+
{
73+
type: 'sparql',
74+
value: url.toString(),
75+
},
76+
],
7277
},
7378
);
7479

0 commit comments

Comments
 (0)