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

feat: Move to RKD endpoint #1409

Merged
merged 8 commits into from
Aug 21, 2024
Merged

feat: Move to RKD endpoint #1409

merged 8 commits into from
Aug 21, 2024

Conversation

ddeboer
Copy link
Member

@ddeboer ddeboer commented Aug 16, 2024

Fix #1128
Fix #720

RubenSchalk and others added 2 commits August 16, 2024 12:48
Move rkdartist to new endpoint and sdo dataset
OPTIONAL { ?uri schema:description ?schema_description . }
OPTIONAL { ?uri schema:description ?schema_description . }
OPTIONAL { ?uri schema:birthPlace ?birthPlace .
FILTER(langMatches(lang(?birthPlace),"en")) }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RubenSchalk Is the en intentional? Shouldn’t we prefer Dutch information by default?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddeboer sdo:Description zit er enkel als @en in zie ik, dus dat zal de overweging zijn geweest om alle tags in @en te doen (vermoed ik). Laten we het maandag meenemen in ons overleg over meertaligheid en hoe daarom mee om te gaan.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

schema:Description is indeed only available in English, but that one is isn’t filtered in the query.

The other fields, schema:description, :birthplace, and :deathPlace are filtered but available in Dutch too, so I switched to "nl".

VALUES ?type { schema:Person schema:Organization }
?uri ?name ?label .
VALUES ?name { schema:name schema:alternateName }

?uri ?predicate ?label .
?label <bif:contains> ?virtuosoQuery .
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure that we should search all fields. If you search for ‘Vincent Van Gogh’ you’ll find many not so relevant results that mention Van Gogh in their scopeNote. Should we only include schema:name and schema:alternateName?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also wondering if we should keep this in. I will check with RKD

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I limited this for now to schema:name and schema:alternateName for parity with the old endpoint. If needed, we can revert that later.

@ddeboer ddeboer changed the title feat: Switch to RKD endpoint feat: Move to RKD endpoint Aug 21, 2024
@ddeboer ddeboer merged commit 1272c61 into master Aug 21, 2024
1 of 2 checks passed
@ddeboer ddeboer deleted the rkdartists-update branch August 21, 2024 10:39
@ddeboer
Copy link
Member Author

ddeboer commented Aug 21, 2024

🎉 This PR is included in version 9.11.0 🎉

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

Your semantic-release bot 📦🚀

@ddeboer
Copy link
Member Author

ddeboer commented Sep 23, 2024

🎉 This PR is included in version 5.4.0 🎉

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

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add RKD birth and death date to skos:scopeNote Improve RKDArtists results
3 participants