[Mulgara-general] Duplicated triples in mulgara store

Alex Cozzi alexcozzi at gmail.com
Thu Feb 15 23:10:15 UTC 2007


Same thing. Lots of duplicated triples. If this should not happen I will try
to write a small test case to reproduce the problem.


On 2/15/07, Paul Gearon <gearon at ieee.org> wrote:
>
> If anything, I would suspect this to be a bug in the webUI.
> What do you get from the iTQL console?
>
> Paul
>
> On Feb 15, 2007, at 4:56 PM, Alex Cozzi wrote:
>
> I am using a session (obtained as in session = new
> RmiSessionFactory(databaseURI).newSession();) to insert triples into a
> mulgara model (the model type is the default systemtype. XA store, I
> suppose.
> the call I am using is " session.insert(modelURI, statements);"
>
> What I do not expect is that I get a lot of duplicated triples in the
> model. I expected somehow that I do not need to pay attention to whether the
> triple are already existing in the model, but it seems not to be the case:
>
> example from the web ui:
>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
> _node164 http://www.w3.org/1999/02/22-rdf-syntax-ns#type<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type>
> http://www.ibm.com/schema/ownership#Ownership<http://localhost:8080/webui/ExecuteQuery.event?ModelURI=rmi%3A%2F%2Flocalhost%2Fserver1%23sampledata&QueryResource=http%3A%2F%2Fwww.ibm.com%2Fschema%2Fownership%23Ownership>
>
> is there a simple way to avoid duplicated triples in the store or is this
> a bug? I am using the mulgara server currently in SVN HEAD.
>
> Thanks
> Alex
> _______________________________________________
> Mulgara-general mailing list
> Mulgara-general at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-general
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20070215/251d2463/attachment.htm>


More information about the Mulgara-general mailing list