You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/06/26 19:15:25 UTC

[GitHub] [jena-site] afs commented on a diff in pull request #161: GH-1924: Document "long" Turtle/TriG format variant

afs commented on code in PR #161:
URL: https://github.com/apache/jena-site/pull/161#discussion_r1242649614


##########
source/documentation/io/rdf-output.md:
##########
@@ -275,6 +281,19 @@ and in code:
      .lang(Lang.TTL)
      .output(System.out);
 ```
+
+##### _Setting indent style_
+```
+    riot --set ttl:indentStyle=long --formatted=ttl file1.rdf file2.nt ...
+```
+and in code:
+```
+  RDFWriter.source(model)
+     .set(RIOT.symTurtleIndentStyle, "long")
+     .lang(Lang.TTL)

Review Comment:
   Its also possible to write
   ```
     RDFWriter.source(model)
       .format(RDFFormat.TURTLE_LONG)
       .output(System.out);
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org