Not really, but it's not unheard of. See: https://github.com/apache/jena/blob/master/jena-core/src/main/java/org/apache/jena/vocabulary/DC_11.java
The Model isn't public, but it is available from most of the public fields via RDFNode::getModel. What can be done instead is not have a Model involved and instead use ResourceFactory. ajs6f > On Jan 7, 2018, at 8:09 PM, Adam Jacobs <[email protected]> wrote: > > Is it a good idea to have a public mutable model? > > > > ________________________________________ > From: Cotton Franck <[email protected]> > Sent: Sunday, January 7, 2018 11:47 AM > To: [email protected] > Subject: RE:PROV vocabulary class > > Hi Adam. Here: > https://gist.github.com/FranckCo/889d1f137dc412ceab214159a49375e2 > > Franck > ________________________________________ > De : ajs6f [[email protected]] > Envoyé : dimanche 7 janvier 2018 18:07 > À : [email protected] > Objet : Re: PROV vocabulary class > > This list doesn't permit attachments. Can you please send your work as a PR > on Github, or failing that, as a gist or pastebin or the like? > > Adam Soroka > >> On Jan 7, 2018, at 12:00 PM, Cotton Franck <[email protected]> wrote: >> >> Hello >> >> For my own needs, I created this class corresponding to the W3C PROV >> vocabulary. It could fit in the org.apache.jena.vocabulary package. Please >> fill free to add the relevant license text, I don't claim any IP on the >> class. >> >> Cheers >> Franck >
