You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed a small patch for the @graphy/content.ttl.write module, that adds customization of the indentation style of the produced Turtle code.
In the Turtle code generated by the original module, the first predicate-objects pair of every subject is on one line with this subject, and any predicate-objects pair is written in one line. When an RDF graph contains long object lists, the generated Turtle code is difficult to read.
For example, in the following Turtle code, the objects of the skos:hasTopConcept predicate either don't fit to the window or break the line thus breaking the code formatting:
I tried to integrate the patch into @graphy/content.ttl.write by sending a usual pull request, but I couldn't find the GitHub repository of this module. Could you please see the patch, and if you approve it, integrate it to the @graphy/content.ttl.write?
The text was updated successfully, but these errors were encountered:
I developed a small patch for the @graphy/content.ttl.write module, that adds customization of the indentation style of the produced Turtle code.
In the Turtle code generated by the original module, the first predicate-objects pair of every subject is on one line with this subject, and any predicate-objects pair is written in one line. When an RDF graph contains long object lists, the generated Turtle code is difficult to read.
For example, in the following Turtle code, the objects of the skos:hasTopConcept predicate either don't fit to the window or break the line thus breaking the code formatting:
The patch allows this code to be formatted e.g. in this, more readable, way:
The patch (with a detailed description and examples) can be found at: https://github.com/alik-kirillovich/graphy.content.ttl.write-patch.
I tried to integrate the patch into @graphy/content.ttl.write by sending a usual pull request, but I couldn't find the GitHub repository of this module. Could you please see the patch, and if you approve it, integrate it to the @graphy/content.ttl.write?
The text was updated successfully, but these errors were encountered: