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

Fix list formatting problem #42

Merged

Conversation

fkleedorfer
Copy link
Contributor

Situation before this commit: If an rdf list node has additional triples, those triples are lost when it gets formatted.

With this commit, TurtleFormatter.isListNode(node) returns false if the node has other properties than rdf:first and rdf:rest.

Fixes #41

Situation before this commit: If an rdf list node has additional triples, those triples are lost when it gets formatted.

With this commit, TurtleFormatter.isListNode(node) returns false if the node has other properties than rdf:first and rdf:rest.
Copy link
Owner

@atextor atextor left a comment

Choose a reason for hiding this comment

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

LGTM!

@atextor atextor merged commit c45393d into atextor:main Nov 8, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

list nodes that have additional triples lose these triples through formatting
2 participants