diff --git a/.changeset/tender-hotels-suffer.md b/.changeset/tender-hotels-suffer.md new file mode 100644 index 000000000..e1127cf99 --- /dev/null +++ b/.changeset/tender-hotels-suffer.md @@ -0,0 +1,5 @@ +--- +"@cube-creator/shared-dimensions-api": patch +--- + +Fixes a problem with shared dimension terms not appearing when they did not have the type `schema:DefinedTerm` as was the case with municipalities diff --git a/apis/shared-dimensions/lib/shapes/terms-query-shape.ttl b/apis/shared-dimensions/lib/shapes/terms-query-shape.ttl index e1815c75d..b31c13e42 100644 --- a/apis/shared-dimensions/lib/shapes/terms-query-shape.ttl +++ b/apis/shared-dimensions/lib/shapes/terms-query-shape.ttl @@ -45,6 +45,11 @@ [ sh:path schema:name ; ] ; + sh:property + [ + sh:path rdf:type ; + sh:hasValue schema:DefinedTerm ; + ] ; sh:expression [ sh:deactivated true ;