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

Write test to export sample mappings #92

Open
nichtich opened this issue Feb 18, 2025 · 0 comments
Open

Write test to export sample mappings #92

nichtich opened this issue Feb 18, 2025 · 0 comments
Milestone

Comments

@nichtich
Copy link
Member

nichtich commented Feb 18, 2025

After #90, when the list of concept schemes includes notationExamples for each, a script should run test queries against web service and cli with these examples.

For instance P5748 of Q29938469 (Basisklassifikation) has example notation 42.13, at https://www.wikidata.org/wiki/Q7202 so these should return same mapping:

1. Query mappings

wdjskos m http://uri.gbv.de/terminology/bk/42.13
wdjskos -s http://bartoc.org/en/node/18785 m http://www.wikidata.org/entity/Q7202 - 

2. Convert mapping to JSKOS and back

The mapping should also be convertible to Wikidata claim with wdjskos i - this should be tested by getting raw Wikidata JSON and comparing the claim round-tripped from Wikidata to JSKOS and back.

@nichtich nichtich added this to the 0.6.0 milestone Feb 18, 2025
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