Skip to content

Commit

Permalink
fix: Dataset preview when every observation contains undefined values
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Feb 19, 2024
1 parent 8191bc1 commit 39a3c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/rdf/query-cube-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ CONSTRUCT {
{ SELECT * WHERE {
?cube cube:observationSet ?observationSet .
?observationSet cube:observation ?observation .
FILTER(NOT EXISTS { ?cube cube:observationConstraint/sh:property/sh:datatype cube:Undefined . } && NOT EXISTS { ?observation ?p ""^^cube:Undefined . })
FILTER(EXISTS { ?cube cube:observationConstraint/sh:property/sh:datatype cube:Undefined . } || NOT EXISTS { ?observation ?p ""^^cube:Undefined . })
} LIMIT 10 }
?observation ?observationPredicate ?observationValue .
${buildLocalizedSubQuery(
Expand Down

0 comments on commit 39a3c5a

Please sign in to comment.