Skip to content

Commit

Permalink
[pylib] Simplify SPARQL query, getting rid of 'filter exists' inside …
Browse files Browse the repository at this point in the history
…'optional'
  • Loading branch information
mirzov committed Oct 16, 2024
1 parent cf1de81 commit 4c7f4aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/python/icoscp_core/src/icoscp_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
core services, such as authentication, metadata access, and data access.
"""

__version__ = "0.3.6"
__version__ = "0.3.7"
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_dataset_cols(dataset_spec: URI, meta: MetadataClient) -> list[DatasetCol
optional{{?col cpmeta:isRegexColumn ?isRegex}}
optional{{
?flagCol cpmeta:isQualityFlagFor ?col ; cpmeta:hasColumnTitle ?flagColTitle .
filter exists {{ <{dataset_spec}> cpmeta:hasColumn ?flagCol }}
<{dataset_spec}> cpmeta:hasColumn ?flagCol .
}}
}}"""
return [
Expand Down

0 comments on commit 4c7f4aa

Please sign in to comment.