diff --git a/app/rdf/query-termsets.ts b/app/rdf/query-termsets.ts index 86a207d1b..1798c5478 100644 --- a/app/rdf/query-termsets.ts +++ b/app/rdf/query-termsets.ts @@ -52,8 +52,7 @@ export const getCubeTermsets = async ( PREFIX schema: SELECT DISTINCT ?termsetIri ?termsetLabel WHERE { - VALUES (?cubeIri) {(<${iri}>)} - ?termsetIri meta:isUsedIn ?cubeIri . + ?termsetIri meta:isUsedIn <${iri}> . ${buildLocalizedSubQuery("termsetIri", "schema:name", "termsetLabel", { locale })} }`, { operation: "postUrlencoded" }