[Mulgara-general] inserts and TQL

Paul Gearon gearon at ieee.org
Thu Sep 24 15:18:01 UTC 2009


On Thu, Sep 24, 2009 at 11:01 AM, Chuck Borromeo <cborromeo3 at yahoo.com> wrote:
> Hello,
>  Alex- I must have typed something wrong in my message.  http://sw.dbmi.pitt.edu/ctsa is the name of my graph.
>
> Here is an update.  I modified my code to do the following:
>
> 1.  drop the http://sw.dbmi.pitt.edu/ctsa graph using TQL
> 2.  create the graph using TQL
> 3.  load RDF graphs into http://sw.dbmi.pitt.edu/ctsa graph using TQL
> 4.  add some triples using TQL

How are you doing this?

> Using this process everything worked fine.  Based on what I saw, I think the "Error 500 Unable to create triple: Could not commit modify: sw.dbmi.pitt.edu" might be tied to the fact that I originally created the graph using the webui load process.  Is it possible that by creating the graph using the webui page that it cannot be updated using TQL?

No.

>  I noticed a concept of a graphType in the source code.  Perhaps the graphType is different if a graph is created using a TQL command versus using the webui?

No, the graph type is only different from the default if you
explicitly ask it to be.

>  Maybe this difference prevents the TQL insert command from working?

No, not at all. Even if the graph type were different, it would be
fine to insert into.

I have noticed in a few emails now that when we pick up on specific
issues (such as the graph URI being different) then you explain that
this is a mistake in your email. I gather that you're trying to
simplify what you're doing for the sake of the email. However, it
seems to be getting in the way. Maybe you could just copy/paste what
you're doing?

Paul



More information about the Mulgara-general mailing list