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

Query for specific ConceptScheme when SPARQL endpoints contains more than one. #488

Closed
wmelder opened this issue Feb 17, 2022 · 7 comments · Fixed by #531
Closed

Query for specific ConceptScheme when SPARQL endpoints contains more than one. #488

wmelder opened this issue Feb 17, 2022 · 7 comments · Fixed by #531
Assignees
Labels
catalog Issues about the catalog of terminology sources released

Comments

@wmelder
Copy link
Contributor

wmelder commented Feb 17, 2022

Some thesauri, like the GTAA, are partitioned using the skos ConceptScheme as categories. When the data for multiple ConceptSchemes is all in the same SPARQL endpoint, it is necessary to specify separate queries for every single ConceptScheme. The main difference in the queries is the object of the skos:inScheme property of the skos:Concepts, being the ConceptScheme itself. It would be beneficial if the skos:ConceptScheme somehow could be seen as a variable for a query, just like the search term is.

@ddeboer
Copy link
Member

ddeboer commented Feb 17, 2022

This is a good use case for #503 and is similar to netwerk-digitaal-erfgoed/requirements-datasets#46.

A more standard way to provide multiple datasets from a single SPARQL endpoint is to use named graphs, which is expressible in SPARQL Service Descriptions.

@wmelder Are you already using named graphs? If not, what is the reason to use skos:inScheme instead?

@ddeboer ddeboer added the catalog Issues about the catalog of terminology sources label Feb 22, 2022
@ddeboer
Copy link
Member

ddeboer commented Feb 28, 2022

We could generalise this by providing the dataset IRI as a SPARQL query parameter. As long as that matches the skos:inScheme (which indeed is the case in #515), you have what you need.

@ddeboer
Copy link
Member

ddeboer commented Mar 1, 2022

🎉 This issue has been resolved in version 1.0.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ddeboer
Copy link
Member

ddeboer commented Mar 1, 2022

🎉 This issue has been resolved in version 5.6.7 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@ddeboer
Copy link
Member

ddeboer commented Mar 1, 2022

🎉 This issue has been resolved in version 1.49.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ddeboer
Copy link
Member

ddeboer commented Mar 1, 2022

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@ddeboer
Copy link
Member

ddeboer commented Mar 1, 2022

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
catalog Issues about the catalog of terminology sources released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants