Skip to content

GH-5852 Added support for directive serialization style in turtle wri…#5854

Open
ivairali wants to merge 2 commits into
eclipse-rdf4j:developfrom
Ontotext-AD:GH-5852-support-directives-serialization-style-in-turtle-writer
Open

GH-5852 Added support for directive serialization style in turtle wri…#5854
ivairali wants to merge 2 commits into
eclipse-rdf4j:developfrom
Ontotext-AD:GH-5852-support-directives-serialization-style-in-turtle-writer

Conversation

@ivairali

@ivairali ivairali commented Jun 4, 2026

Copy link
Copy Markdown

…ters

GitHub issue resolved: #5852

Briefly describe the changes proposed in this PR:

Added a Turtle writer setting to configure the directive style.

Setting the USE_SPARQL_STYLE_DIRECTIVES corresponds to using: VERSION, PREFIX, BASE and no terminating dot '.'. By default the property is set to False and the corresponding style is: @version, @prefix, @base where the statement is terminated by a dot.

The affected writers are Turtle, Trig and N3.


PR Author Checklist (see the contributor guidelines for more details):

  • [ v] my pull request is self-contained
  • [v ] I've added tests for the changes I made
  • [v ] I've applied code formatting (you can use mvn process-resources to format from the command line)
  • [ v] I've squashed my commits where necessary
  • [v ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@ivairali ivairali force-pushed the GH-5852-support-directives-serialization-style-in-turtle-writer branch from af4a028 to 5222315 Compare June 18, 2026 10:03
@hmottestad

Copy link
Copy Markdown
Contributor

@ivairali is this complete and ready to merge?

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.

3 participants