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

Read/write the HDT header #17

Closed
LaurensRietveld opened this issue Dec 22, 2017 · 3 comments
Closed

Read/write the HDT header #17

LaurensRietveld opened this issue Dec 22, 2017 · 3 comments

Comments

@LaurensRietveld
Copy link
Collaborator

hdt-cpp allows for both writing and reading the header. Let's add that to the HDT-Node api as well

@LaurensRietveld
Copy link
Collaborator Author

An implementation detail to discuss: what triple representation do we use for the header js API.
The nicest solution would be using N3 as dep (you may have heard about that lib).
Alternatively, we could simply support reading/writing the whole header as string, delegating the parsing/serializing to the user.

@RubenVerborgh
Copy link
Member

I'd suggest just having text in and out, but documenting in the README how you can do things with N3.js.

@RubenVerborgh
Copy link
Member

Implemented in #24.

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

2 participants