benjaminaaron opened a new issue, #1768: URL: https://github.com/apache/jena/issues/1768
### Version 4.7.0 ### Question I have one statement and one statement about a statement ([RDF-star](https://w3c.github.io/rdf-star/cg-spec/editors_draft.html)) in my model: ```java Statement statement1 = ResourceFactory.createStatement( mainModel.createResource(ensureUri("Ben")), mainModel.createProperty(ensureUri("joined")), mainModel.createResource(ensureUri("ProjectX")) ); mainModel.add(statement1); Statement statement2 = ResourceFactory.createStatement( mainModel.createResource(statement1), mainModel.createProperty(ensureUri("atLocation")), mainModel.createResource(ensureUri("Berlin")) ); mainModel.add(statement2); ``` I write my model to Turtle using `model.write(fos, "TURTLE")`. This seems to create incorrect syntax. I get this: ``` dev:Ben dev:joined dev:ProjectX . [ dev:atLocation dev:Berlin ] . ``` I would expect something like this though: ``` <http://onto.de/default#Ben> <http://dev.de/default#joined> <http://dev.de/default#ProjectX> . <<<http://onto.de/default#Ben> <http://dev.de/default#joined> <http://dev.de/default#ProjectX>>> <http://onto.de/default#atLocation> <http://onto.de/default#Berlin> . ``` Am I doing something wrong or is RDF-star not supported yet in the Turtle writer? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
