You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Enrico Daga <en...@gmail.com> on 2011/03/01 09:27:25 UTC

Re: [IKS] Persistence Store, Apache Stanbol Migration

I am moving this discussion to stanbol-dev, since it is related to
technical things and do not make sense to have it in the private list.

I am guessing both Alessandro and Cihan did not read the advertisement
to move the conversation, do they read the stanbol-private list?

Enrico

On 28 February 2011 20:44, Bertrand Delacretaz <bd...@apache.org> wrote:
> On Mon, Feb 28, 2011 at 6:27 PM, Enrico Daga <en...@gmail.com> wrote:
>> Please check that both Suat and Alessandro are in the stanbol-private
>> list. I'm not sure about that...
>
> No - please DO NOT USE the stanbol private list to discuss technical things.
>
> Those discussions belong on the dev list, or if they must be
> restricted to IKS folks, on IKS internal lists.
>
> thanks,
> -Bertrand
>
>
>>
>> On 28 February 2011 18:19, Alessandro Adamou
>> <al...@istc.cnr.it> wrote:
>>> Hi Cihan,
>>>
>>> I've updated to r1283 and now the persistence store compiles fine with all
>>> tests successful on my settings.
>>>
>>> Thank you for fixing that so speedily.
>>>
>>> Alessandro
>>>
>>>
>>> On 2/28/11 4:27 PM, Alessandro Adamou wrote:
>>>>
>>>> Hi Cihan,
>>>>
>>>> Thanks, we are reviewing your code right now with KReS integration in
>>>> mind.
>>>>
>>>> Right now I am having a compilation issue, due to a missing icu4j version
>>>> apparently requested by jena. I'll investigate further and let you know.
>>>>
>>>> Alessandro
>>>>
>>>>
>>>> On 2/28/11 10:16 AM, Cihan Cimen wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>> We have refactored persistence store [1] at google code sandbox. Package
>>>>> names, group ids, artifact ids and dependencies are renamed from
>>>>> eu.iksproject to org.apache.stanbol. Jersey endpoint is separated as a
>>>>> module with artifact id org.apache.stanbol.persistencestore.web . How should
>>>>> we proceed with persistence store Apache Stanbol migration? It would be
>>>>> great if you review the changes. We are looking for your comments.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> SRDC Team
>>>>>
>>>>> [1]
>>>>> http://code.google.com/p/iks-project/source/browse/#svn%2Fsandbox%2Fpersistencestore
>>>>> _______________________________________________
>>>>> iks-wip mailing list
>>>>> iks-wip@interactive-knowledge.org
>>>>> http://lists.interactive-knowledge.org/cgi-bin/mailman/listinfo/iks-wip
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Alessandro Adamou
>>> Semantic Technology Laboratory (STLab)
>>> Institute for Cognitive Science and Technology (ISTC)
>>> National Research Council (CNR)
>>> Via Nomentana 56, Rome - Italy
>>>
>>>
>>
>>
>>
>> --
>> Enrico Daga
>>
>> --
>> http://www.enridaga.net
>> skype: enri-pan
>>
>



-- 
Enrico Daga

--
http://www.enridaga.net
skype: enri-pan

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Suat Gonul <su...@gmail.com>.
Hi Fabian,

Fabian Christ wrote:
> ...
>
> looking at the large interface of
> org.apache.stanbol.persistencestore.api.IPersistenceStore I get the
> impression that the persistence store is for storing ontologies only.
> On the other hand we have the
> org.apache.stanbol.enhancer.servicesapi.Store interface to store and
> retrieve ContentItems.
>
> Are these two things related or is the aim of the persistence store
> somehow different? Or is the persistencestore something that
> can/should be used in combination with KReS? Some words about the
> goals would help to review the components.
>
> ...
Currently we have a naive implementation for 
org.apache.stanbol.enhancer.servicesapi.Store. It basically stores 
metadata of the content items in separate ontologies in persistence store.

org.apache.stanbol.persistencestore.api.IPersistenceStore interface has 
no common aim with the previous one. In general, it consists methods for 
manipulating ontologies, classes, individuals, object and data type 
properties by applying OWL model as Enrico said in his mail.

Suat


[1] 
http://code.google.com/p/iks-project/source/browse/#svn%2Fsandbox%2Fpersistencestore%2Ftrunk%2Ffise-adapter

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Suat Gonul <su...@gmail.com>.
Hi Olivier,

Olivier Grisel wrote:
> ...
> +1 we should drop the name persistencestore as it is confusing
> (clerezza's TCManager and the underlying Jena triplestore are already
> in charge of persisting any kind of knowledge, both TBox and ABox on
> the disk).
>
> Let's create a new toplevel component, e.g. stanbol/ontologymanager
> that merges the work of both SRDC and CNR on this component.
>
> I let you guys discuss the public API of such a component.
>
> Also please drop the leading "I" in interface names for the sake of
> consistency: no other interface in related apache projects (clerezza,
> jena, opennlp...) use such a naming convention.
>
>   

Ok, for now we will make updates in naming conventions and will contact 
with CNR about merging KReS and persistence store.

Thanks,
Suat

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Olivier Grisel <ol...@ensta.org>.
2011/3/1 Enrico Daga <en...@gmail.com>:
> Hi,
> I have compiled and run the code from the lite launcher, but then I do
> not know what to do to check the functionalities :)
> Asked for /presistencestore and got a NOT_FOUND message.
>
> some comments
>
> On 1 March 2011 11:49, Fabian Christ <ch...@googlemail.com> wrote:
>> Hi,
>>
>> looking at the large interface of
>> org.apache.stanbol.persistencestore.api.IPersistenceStore I get the
>> impression that the persistence store is for storing ontologies only.
> I'm can't say which is the intent, but some ontology editing rest
> service is something missing at the moment in stanbol.
>
>> On the other hand we have the
>> org.apache.stanbol.enhancer.servicesapi.Store interface to store and
>> retrieve ContentItems.
> The difference, if I understood correctly, is that clerezza graphs are
> edited as ontologies, instead of generic RDF graphs, thus applying the
> OWL model.
>>
>> Are these two things related or is the aim of the persistence store
>> somehow different? Or is the persistencestore something that
>> can/should be used in combination with KReS?
> I think we could relate such feature with kres. The ontology network
> manager has the capability to group ontologies and to serve them as a
> single graph, for example, but has no direct editing facility. The two
> components can interoperate by sharing the clerezza store, so
> ontologies stored in clerezza can be edited by the persistencestore,
> combined by the ontology network manager and then served to the
> reasoners component.
>
> I see also an overlap between the reasoning capabilities of kres and
> the persistence store, which we must overcome in the future (by taking
> the best of the two implementation in one single component, :) ).

+1 we should drop the name persistencestore as it is confusing
(clerezza's TCManager and the underlying Jena triplestore are already
in charge of persisting any kind of knowledge, both TBox and ABox on
the disk).

Let's create a new toplevel component, e.g. stanbol/ontologymanager
that merges the work of both SRDC and CNR on this component.

I let you guys discuss the public API of such a component.

Also please drop the leading "I" in interface names for the sake of
consistency: no other interface in related apache projects (clerezza,
jena, opennlp...) use such a naming convention.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Suat Gonul <su...@gmail.com>.
Hi Enrico,

First of all thanks for your comments.

> Hi,
> I have compiled and run the code from the lite launcher, but then I do
> not know what to do to check the functionalities :)
> Asked for /presistencestore and got a NOT_FOUND message.
>
>   

You should ask for /persistencestore/ontologies, then you can test the 
functionalities.

> ...
> The difference, if I understood correctly, is that clerezza graphs are
> edited as ontologies, instead of generic RDF graphs, thus applying the
> OWL model.
>   
That's true.
>> Are these two things related or is the aim of the persistence store
>> somehow different? Or is the persistencestore something that
>> can/should be used in combination with KReS?
>>     
> I think we could relate such feature with kres. The ontology network
> manager has the capability to group ontologies and to serve them as a
> single graph, for example, but has no direct editing facility. The two
> components can interoperate by sharing the clerezza store, so
> ontologies stored in clerezza can be edited by the persistencestore,
> combined by the ontology network manager and then served to the
> reasoners component.
Yes, such an integration seems good.

Best,
Suat




Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Enrico Daga <en...@gmail.com>.
Hi,
I have compiled and run the code from the lite launcher, but then I do
not know what to do to check the functionalities :)
Asked for /presistencestore and got a NOT_FOUND message.

some comments

On 1 March 2011 11:49, Fabian Christ <ch...@googlemail.com> wrote:
> Hi,
>
> looking at the large interface of
> org.apache.stanbol.persistencestore.api.IPersistenceStore I get the
> impression that the persistence store is for storing ontologies only.
I'm can't say which is the intent, but some ontology editing rest
service is something missing at the moment in stanbol.

> On the other hand we have the
> org.apache.stanbol.enhancer.servicesapi.Store interface to store and
> retrieve ContentItems.
The difference, if I understood correctly, is that clerezza graphs are
edited as ontologies, instead of generic RDF graphs, thus applying the
OWL model.
>
> Are these two things related or is the aim of the persistence store
> somehow different? Or is the persistencestore something that
> can/should be used in combination with KReS?
I think we could relate such feature with kres. The ontology network
manager has the capability to group ontologies and to serve them as a
single graph, for example, but has no direct editing facility. The two
components can interoperate by sharing the clerezza store, so
ontologies stored in clerezza can be edited by the persistencestore,
combined by the ontology network manager and then served to the
reasoners component.

I see also an overlap between the reasoning capabilities of kres and
the persistence store, which we must overcome in the future (by taking
the best of the two implementation in one single component, :) ).

Enrico

> Some words about the
> goals would help to review the components.
>
> Best,
>  - Fabian
>
> 2011/3/1 Alessandro Adamou <ad...@cs.unibo.it>:
>> Sorry, I can't read stanbol-private indeed. I was just replying-all.
>>
>> Ok then, switching to stanbol-dev.
>>
>> Sorry again,
>> Alessandro
>>
>>
>> On 3/1/11 9:27 AM, Enrico Daga wrote:
>>>
>>> I am moving this discussion to stanbol-dev, since it is related to
>>> technical things and do not make sense to have it in the private list.
>>>
>>> I am guessing both Alessandro and Cihan did not read the advertisement
>>> to move the conversation, do they read the stanbol-private list?
>>>
>>> Enrico
>>>
>>> On 28 February 2011 20:44, Bertrand Delacretaz<bd...@apache.org>
>>>  wrote:
>>>>
>>>> On Mon, Feb 28, 2011 at 6:27 PM, Enrico Daga<en...@gmail.com>
>>>>  wrote:
>>>>>
>>>>> Please check that both Suat and Alessandro are in the stanbol-private
>>>>> list. I'm not sure about that...
>>>>
>>>> No - please DO NOT USE the stanbol private list to discuss technical
>>>> things.
>>>>
>>>> Those discussions belong on the dev list, or if they must be
>>>> restricted to IKS folks, on IKS internal lists.
>>>>
>>>> thanks,
>>>> -Bertrand
>>>>
>>>>
>>>>> On 28 February 2011 18:19, Alessandro Adamou
>>>>> <al...@istc.cnr.it>  wrote:
>>>>>>
>>>>>> Hi Cihan,
>>>>>>
>>>>>> I've updated to r1283 and now the persistence store compiles fine with
>>>>>> all
>>>>>> tests successful on my settings.
>>>>>>
>>>>>> Thank you for fixing that so speedily.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>>
>>>>>> On 2/28/11 4:27 PM, Alessandro Adamou wrote:
>>>>>>>
>>>>>>> Hi Cihan,
>>>>>>>
>>>>>>> Thanks, we are reviewing your code right now with KReS integration in
>>>>>>> mind.
>>>>>>>
>>>>>>> Right now I am having a compilation issue, due to a missing icu4j
>>>>>>> version
>>>>>>> apparently requested by jena. I'll investigate further and let you
>>>>>>> know.
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>>
>>>>>>> On 2/28/11 10:16 AM, Cihan Cimen wrote:
>>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> We have refactored persistence store [1] at google code sandbox.
>>>>>>>> Package
>>>>>>>> names, group ids, artifact ids and dependencies are renamed from
>>>>>>>> eu.iksproject to org.apache.stanbol. Jersey endpoint is separated as
>>>>>>>> a
>>>>>>>> module with artifact id org.apache.stanbol.persistencestore.web . How
>>>>>>>> should
>>>>>>>> we proceed with persistence store Apache Stanbol migration? It would
>>>>>>>> be
>>>>>>>> great if you review the changes. We are looking for your comments.
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>>
>>>>>>>> SRDC Team
>>>>>>>>
>>>>>>>> [1]
>>>>>>>>
>>>>>>>> http://code.google.com/p/iks-project/source/browse/#svn%2Fsandbox%2Fpersistencestore
>>>>>>>> _______________________________________________
>>>>>>>> iks-wip mailing list
>>>>>>>> iks-wip@interactive-knowledge.org
>>>>>>>>
>>>>>>>> http://lists.interactive-knowledge.org/cgi-bin/mailman/listinfo/iks-wip
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alessandro Adamou
>>>>>> Semantic Technology Laboratory (STLab)
>>>>>> Institute for Cognitive Science and Technology (ISTC)
>>>>>> National Research Council (CNR)
>>>>>> Via Nomentana 56, Rome - Italy
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Enrico Daga
>>>>>
>>>>> --
>>>>> http://www.enridaga.net
>>>>> skype: enri-pan
>>>>>
>>>
>>>
>>
>>
>
>
>
> --
> Fabian
>



-- 
Enrico Daga

--
http://www.enridaga.net
skype: enri-pan

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Fabian Christ <ch...@googlemail.com>.
Hi,

looking at the large interface of
org.apache.stanbol.persistencestore.api.IPersistenceStore I get the
impression that the persistence store is for storing ontologies only.
On the other hand we have the
org.apache.stanbol.enhancer.servicesapi.Store interface to store and
retrieve ContentItems.

Are these two things related or is the aim of the persistence store
somehow different? Or is the persistencestore something that
can/should be used in combination with KReS? Some words about the
goals would help to review the components.

Best,
 - Fabian

2011/3/1 Alessandro Adamou <ad...@cs.unibo.it>:
> Sorry, I can't read stanbol-private indeed. I was just replying-all.
>
> Ok then, switching to stanbol-dev.
>
> Sorry again,
> Alessandro
>
>
> On 3/1/11 9:27 AM, Enrico Daga wrote:
>>
>> I am moving this discussion to stanbol-dev, since it is related to
>> technical things and do not make sense to have it in the private list.
>>
>> I am guessing both Alessandro and Cihan did not read the advertisement
>> to move the conversation, do they read the stanbol-private list?
>>
>> Enrico
>>
>> On 28 February 2011 20:44, Bertrand Delacretaz<bd...@apache.org>
>>  wrote:
>>>
>>> On Mon, Feb 28, 2011 at 6:27 PM, Enrico Daga<en...@gmail.com>
>>>  wrote:
>>>>
>>>> Please check that both Suat and Alessandro are in the stanbol-private
>>>> list. I'm not sure about that...
>>>
>>> No - please DO NOT USE the stanbol private list to discuss technical
>>> things.
>>>
>>> Those discussions belong on the dev list, or if they must be
>>> restricted to IKS folks, on IKS internal lists.
>>>
>>> thanks,
>>> -Bertrand
>>>
>>>
>>>> On 28 February 2011 18:19, Alessandro Adamou
>>>> <al...@istc.cnr.it>  wrote:
>>>>>
>>>>> Hi Cihan,
>>>>>
>>>>> I've updated to r1283 and now the persistence store compiles fine with
>>>>> all
>>>>> tests successful on my settings.
>>>>>
>>>>> Thank you for fixing that so speedily.
>>>>>
>>>>> Alessandro
>>>>>
>>>>>
>>>>> On 2/28/11 4:27 PM, Alessandro Adamou wrote:
>>>>>>
>>>>>> Hi Cihan,
>>>>>>
>>>>>> Thanks, we are reviewing your code right now with KReS integration in
>>>>>> mind.
>>>>>>
>>>>>> Right now I am having a compilation issue, due to a missing icu4j
>>>>>> version
>>>>>> apparently requested by jena. I'll investigate further and let you
>>>>>> know.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>>
>>>>>> On 2/28/11 10:16 AM, Cihan Cimen wrote:
>>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> We have refactored persistence store [1] at google code sandbox.
>>>>>>> Package
>>>>>>> names, group ids, artifact ids and dependencies are renamed from
>>>>>>> eu.iksproject to org.apache.stanbol. Jersey endpoint is separated as
>>>>>>> a
>>>>>>> module with artifact id org.apache.stanbol.persistencestore.web . How
>>>>>>> should
>>>>>>> we proceed with persistence store Apache Stanbol migration? It would
>>>>>>> be
>>>>>>> great if you review the changes. We are looking for your comments.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> SRDC Team
>>>>>>>
>>>>>>> [1]
>>>>>>>
>>>>>>> http://code.google.com/p/iks-project/source/browse/#svn%2Fsandbox%2Fpersistencestore
>>>>>>> _______________________________________________
>>>>>>> iks-wip mailing list
>>>>>>> iks-wip@interactive-knowledge.org
>>>>>>>
>>>>>>> http://lists.interactive-knowledge.org/cgi-bin/mailman/listinfo/iks-wip
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Alessandro Adamou
>>>>> Semantic Technology Laboratory (STLab)
>>>>> Institute for Cognitive Science and Technology (ISTC)
>>>>> National Research Council (CNR)
>>>>> Via Nomentana 56, Rome - Italy
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Enrico Daga
>>>>
>>>> --
>>>> http://www.enridaga.net
>>>> skype: enri-pan
>>>>
>>
>>
>
>



-- 
Fabian

Re: [IKS] Persistence Store, Apache Stanbol Migration

Posted by Alessandro Adamou <ad...@cs.unibo.it>.
Sorry, I can't read stanbol-private indeed. I was just replying-all.

Ok then, switching to stanbol-dev.

Sorry again,
Alessandro


On 3/1/11 9:27 AM, Enrico Daga wrote:
> I am moving this discussion to stanbol-dev, since it is related to
> technical things and do not make sense to have it in the private list.
>
> I am guessing both Alessandro and Cihan did not read the advertisement
> to move the conversation, do they read the stanbol-private list?
>
> Enrico
>
> On 28 February 2011 20:44, Bertrand Delacretaz<bd...@apache.org>  wrote:
>> On Mon, Feb 28, 2011 at 6:27 PM, Enrico Daga<en...@gmail.com>  wrote:
>>> Please check that both Suat and Alessandro are in the stanbol-private
>>> list. I'm not sure about that...
>> No - please DO NOT USE the stanbol private list to discuss technical things.
>>
>> Those discussions belong on the dev list, or if they must be
>> restricted to IKS folks, on IKS internal lists.
>>
>> thanks,
>> -Bertrand
>>
>>
>>> On 28 February 2011 18:19, Alessandro Adamou
>>> <al...@istc.cnr.it>  wrote:
>>>> Hi Cihan,
>>>>
>>>> I've updated to r1283 and now the persistence store compiles fine with all
>>>> tests successful on my settings.
>>>>
>>>> Thank you for fixing that so speedily.
>>>>
>>>> Alessandro
>>>>
>>>>
>>>> On 2/28/11 4:27 PM, Alessandro Adamou wrote:
>>>>> Hi Cihan,
>>>>>
>>>>> Thanks, we are reviewing your code right now with KReS integration in
>>>>> mind.
>>>>>
>>>>> Right now I am having a compilation issue, due to a missing icu4j version
>>>>> apparently requested by jena. I'll investigate further and let you know.
>>>>>
>>>>> Alessandro
>>>>>
>>>>>
>>>>> On 2/28/11 10:16 AM, Cihan Cimen wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> We have refactored persistence store [1] at google code sandbox. Package
>>>>>> names, group ids, artifact ids and dependencies are renamed from
>>>>>> eu.iksproject to org.apache.stanbol. Jersey endpoint is separated as a
>>>>>> module with artifact id org.apache.stanbol.persistencestore.web . How should
>>>>>> we proceed with persistence store Apache Stanbol migration? It would be
>>>>>> great if you review the changes. We are looking for your comments.
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> SRDC Team
>>>>>>
>>>>>> [1]
>>>>>> http://code.google.com/p/iks-project/source/browse/#svn%2Fsandbox%2Fpersistencestore
>>>>>> _______________________________________________
>>>>>> iks-wip mailing list
>>>>>> iks-wip@interactive-knowledge.org
>>>>>> http://lists.interactive-knowledge.org/cgi-bin/mailman/listinfo/iks-wip
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Alessandro Adamou
>>>> Semantic Technology Laboratory (STLab)
>>>> Institute for Cognitive Science and Technology (ISTC)
>>>> National Research Council (CNR)
>>>> Via Nomentana 56, Rome - Italy
>>>>
>>>>
>>>
>>>
>>> --
>>> Enrico Daga
>>>
>>> --
>>> http://www.enridaga.net
>>> skype: enri-pan
>>>
>
>