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

WQS: Add unit tests from Wikidata translator #55

Open
nichtich opened this issue Jun 13, 2017 · 2 comments
Open

WQS: Add unit tests from Wikidata translator #55

nichtich opened this issue Jun 13, 2017 · 2 comments

Comments

@nichtich
Copy link
Contributor

The Zotero Wikidata translator, as proposed here does the reverse of Wikidata QuickStatements exporter, so it should be possible to round-trip export and import. As far as I understand

  • the translator does RDF/XML => Zotero
  • the exporter does Zotero => QuickStatements

Given a QuickStatements to RDF/XML mapping we could use unit tests for both translator and exporter, right? Maybe @maxlath is interested in a QuickStatements parser/writer in JavaScript, but the format is easy to parse anyway.

Sure this issue has no top priority, I just wanted to note the idea.

@nichtich
Copy link
Contributor Author

This issue is not solved, the existing unit tests only cover the QuickStatements exporter one way. The Zotero-to-Wikiata exporter contains its own test cases. Both can be combined to ensure test round-tripping import and export.

@stweil stweil reopened this Aug 27, 2017
@nichtich
Copy link
Contributor Author

There is also CitationJS Wikidata parser to test against.

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

No branches or pull requests

3 participants