Skip to content

Add SPARQL filtering - #174

Open
kvistgaard wants to merge 1 commit into
reactodia:masterfrom
kvistgaard:feat/sparql-query-filter
Open

kvistgaard wants to merge 1 commit into
reactodia:masterfrom
kvistgaard:feat/sparql-query-filter

Conversation

@kvistgaard

Copy link
Copy Markdown

This change adds elementIris support to lookup params and SearchCriteria, allowing entity searches to be restricted to a specific set of candidate elements. SparqlDataProvider applies this as a VALUES restriction and RdfDataProvider supports the same filtering semantics. The UI renders this as a removable “Among N given entities” criterion.

It also adds renderCriteriaActions to InstancesSearch and SearchSectionEntities so custom actions can be displayed next to the search criteria. The SPARQL example now includes a dialog that runs a SELECT query against the connected endpoint and uses the first projected variable as the candidate set. Translation keys, schema entries, and a provider test were updated to cover the new behavior.

This change adds `elementIris` support to lookup params and `SearchCriteria`, allowing entity searches to be restricted to a specific set of candidate elements. `SparqlDataProvider` applies this as a `VALUES` restriction and `RdfDataProvider` supports the same filtering semantics. The UI renders this as a removable “Among N given entities” criterion.

It also adds `renderCriteriaActions` to `InstancesSearch` and `SearchSectionEntities` so custom actions can be displayed next to the search criteria. The SPARQL example now includes a dialog that runs a `SELECT` query against the connected endpoint and uses the first projected variable as the candidate set. Translation keys, schema entries, and a provider test were updated to cover the new behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant