[Mulgara-general] Blank nodes in CONSTRUCT query?
Paul Gearon
gearon at ieee.org
Sun Aug 8 02:57:07 UTC 2010
Hi,
I've got this done, and it's passing all the tests I've thrown at it.
It's in SVN, so for anyone prepared to build from source, please give
it a go and let me know if it works for you too.
Fortunately, things weren't as bad as I thought the other day. I was
looking in the wrong class, and had decided that my memory was faulty
because issues I thought I'd dealt with weren't being handled. Once I
got into it today I discovered that it was mostly correct, and the
problem wasn't too hard to solve.
This fix will be in the next release. Hopefully, this will be in the next week.
Regards,
Paul
On Fri, Aug 6, 2010 at 10:31 AM, Paul Gearon <gearon at ieee.org> wrote:
> OK, I've found the problem. I can't fix it today, but it should be
> done over the weekend.
>
> There are actually a couple of bugs with CONSTRUCT. A CONSTRUCT query
> is basically a SELECT query that must have a multiple of 3 columns.
> However, there are a couple of other restrictions (all around blank
> nodes) that have to be treated separately, and they weren't.
>
> Paul
>
> On Tue, Aug 3, 2010 at 3:23 PM, Paul Gearon <gearon at ieee.org> wrote:
>> This one slipped past me since I got it at about the same time I lost
>> my job and was madly trying to find a new one.
>>
>> I'll check it out today. Ping me tomorrow morning if you haven't heard from me.
>>
>> Paul
>>
>> On Tue, Aug 3, 2010 at 1:12 PM, Ford, Kevin <kefo at loc.gov> wrote:
>>> Harking back to this thread [1], I can confirm that using blank nodes in CONSTRUCT queries results in an error. I don't know when the problem was introduced, but I've tried every Mulgara release back to and including 2.1.4. All report the same error:
>>>
>>>
>>> Error executing command. Reason: java.lang.IllegalArgumentException: Failed to constrain all variables: $*0 not constrained in WHERE or GIVEN clauses
>>> at org.mulgara.query.Query.<init>(Query.java:186)
>>> at org.mulgara.query.ConstructQuery.<init>(ConstructQuery.java:45)
>>> at org.mulgara.sparql.SparqlInterpreter.buildConstructQuery(SparqlInterpreter.java:296)
>>> ...
>>>
>>> RequestURI=/webui/ExecuteQuery.html
>>>
>>>
>>> Cordially,
>>> Kevin
>>>
>>> [1] http://lists.mulgara.org/pipermail/mulgara-general/2010-May/001108.html
>>> _______________________________________________
>>> Mulgara-general mailing list
>>> Mulgara-general at mulgara.org
>>> http://lists.mulgara.org/mailman/listinfo/mulgara-general
>>>
>>
>
More information about the Mulgara-general
mailing list