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

Ensure BlankNodes are handled for HDT files created with hdt-java #9

Open
donpellegrino opened this issue Apr 25, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@donpellegrino
Copy link

Describe the bug
hdt-cpp and hdt-java use different naming patterns for blank node IDs. The initial support for blank nodes works for hdt-cpp but not for hdt-java. This issue is to ensure support for blank node IDs as generated by hdt-java when using its CLI tools to make an HDT file (e.g., rdf2hdt.sh instead of rdf2hdt.)

To Reproduce
Steps to reproduce the behavior:

  1. Run the oxhdt test suite.
  2. Observe failures for the cases where HDT Java was used to create the HDT files. Note that this was done to work around the cases where HDT C++ did not support the input RDF syntax for those cases from the W3C test suite.
@GregHanson
Copy link

Opened issue in in hdt-java repo:
rdfhdt/hdt-java#210

@GregHanson
Copy link

alternative to the above, can also add | '\u{0040}' (UTF8 rep for @) to the oxigraph code here and all tests pass:

https://github.com/oxigraph/oxigraph/blob/main/lib/oxrdf/src/blank_node.rs#L275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants