Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend the "pivot entity" selection with a free format sparql query #28

Open
marc-portier opened this issue Oct 9, 2023 · 0 comments
Open
Milestone

Comments

@marc-portier
Copy link
Contributor

Currently, when configuring the mapping we are narrowing the items indexed simply by indicating their rdf:type
image

This is applied in a sparql query that actually finds the entities to index. We hereby suggest that we could further tweak the where clause of that sparql statement so it can be better tuned to specific needs:

Concrete use-case at hand:

  • For the BODC skos terms, and the marineregions we would like to filter out the items that are deprecated
    FILTER NOT EXISTS {?entity owl:deprecated "true"^^xsd:bool .}

Open question:

  • Unsure (open to implementation?) if these kind of extra filters should be applied during mapping-config as suggested here, or during search (widget-config)

UI suggestions:

  • Considering the fact that free-format sparql can contain syntax issues, or result in undesired effects (i.e. too little selected entities) it would be nice if the UI can give some "dry-run-testing-feedback" --> e.g. returning the count(?entity) result
  • Considering the fact that all ends up being one sparql statement, we could question if the current support of type-only where clause still needs to be presented in its current form - or as a sparql generating 'wizard' ?
@marc-portier marc-portier added this to the Release 1.1 milestone Oct 9, 2023
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

No branches or pull requests

1 participant