From 7a16c5457704c1c15fac6e4a4702d4f20de6774a Mon Sep 17 00:00:00 2001 From: "Hofstetter Benjamin (extern)" Date: Fri, 21 Jul 2023 13:32:23 +0200 Subject: [PATCH] missing prefix declaration Fixes #100 --- src/endpoint.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/endpoint.ts b/src/endpoint.ts index 1f9165b..535cd0f 100644 --- a/src/endpoint.ts +++ b/src/endpoint.ts @@ -217,6 +217,8 @@ export class Endpoint { async _fetchStructure() { const fromClause = this._settings.namedGraph ? `FROM <${this._settings.namedGraph}>` : '' const query = ` + PREFIX rdf: + SELECT DISTINCT ?cls ?property ?linktype ?datatype ${fromClause} WHERE {