Github user afs commented on the issue: https://github.com/apache/jena/pull/139 I'm not opposed to adding "Context" variants on principle, just a concern about warping the API in the application writers view by many operations (not that there are a few at the moment!). There are 22 write(...) operations currently. Or maybe only for the 11 `RDFFormat` forms (the Lang/RDFFormat being one of the causes of so many options) Adding the PrefixMap variants (4 new operations : 2 each for graph and datasetgraph writers). This should work and it's a bit shorter: the machinery for DatasetGarph/Graph is built-in: ``` private void writeExample(OutputStream out, Model m, RDFFormat f, Context jenaContext) { WriterGraphRIOT w = RDFDataMgr.createGraphWriter(f) ; Graph g = m.getGraph() ; w.write(out, g, RiotLib.prefixMap(g), null, jenaContext); } ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---