You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Cotton Franck <fr...@insee.fr> on 2018/01/07 17:00:43 UTC
PROV vocabulary class
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
Re: PROV vocabulary class
Posted by ajs6f <aj...@apache.org>.
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 <ja...@hotmail.com> wrote:
>
> Is it a good idea to have a public mutable model?
>
>
>
> ________________________________________
> From: Cotton Franck <fr...@insee.fr>
> Sent: Sunday, January 7, 2018 11:47 AM
> To: dev@jena.apache.org
> Subject: RE:PROV vocabulary class
>
> Hi Adam. Here: https://gist.github.com/FranckCo/889d1f137dc412ceab214159a49375e2
>
> Franck
> ________________________________________
> De : ajs6f [ajs6f@apache.org]
> Envoyé : dimanche 7 janvier 2018 18:07
> À : dev@jena.apache.org
> 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 <fr...@insee.fr> 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
>
Re: PROV vocabulary class
Posted by Adam Jacobs <ja...@hotmail.com>.
Is it a good idea to have a public mutable model?
________________________________________
From: Cotton Franck <fr...@insee.fr>
Sent: Sunday, January 7, 2018 11:47 AM
To: dev@jena.apache.org
Subject: RE:PROV vocabulary class
Hi Adam. Here: https://gist.github.com/FranckCo/889d1f137dc412ceab214159a49375e2
Franck
________________________________________
De : ajs6f [ajs6f@apache.org]
Envoyé : dimanche 7 janvier 2018 18:07
À : dev@jena.apache.org
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 <fr...@insee.fr> 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
RE:PROV vocabulary class
Posted by Cotton Franck <fr...@insee.fr>.
Hi Adam. Here: https://gist.github.com/FranckCo/889d1f137dc412ceab214159a49375e2
Franck
________________________________________
De : ajs6f [ajs6f@apache.org]
Envoyé : dimanche 7 janvier 2018 18:07
À : dev@jena.apache.org
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 <fr...@insee.fr> 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
Re: PROV vocabulary class
Posted by ajs6f <aj...@apache.org>.
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 <fr...@insee.fr> 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