Hi Martynas,
I have not been able to reproduce this with the latest code base, so my
belief is that this is a legacy bug from the online spinconverter. I can
only speculate that it was using an old version of Jena that had this
bug, because the code is calling Jena's default string rendering of the
query to create the sp:text.
Until we get a chance to upgrade it, is there any reason why you are
still using the online SPIN converter? With the liberal open source
license of the SPIN API, this service may have become redundant (and
inefficient).
Thanks
Holger
On 5/8/2013 8:43, [email protected] wrote:
Hey Holger,
this is an old bug, finally got around to report it. If both prefix
declaration(s) and a subquery are present, the PREFIX block is also
outputted before the subquery, which should not be the case.
If I take this example query:
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
DESCRIBE *
{
{
SELECT *
{
?resource foaf:isPrimaryTopicOf ?page .
}
}
}
and run it through http://spinservices.org/spinrdfconverter.html, the
sp:text value in the output looks like this:
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
DESCRIBE * WHERE {
{
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT *
WHERE {
?resource foaf:isPrimaryTopicOf ?page .
}
} .
}
Note the second misplaced PREFIX foaf: declaration.
Martynas
graphity.org
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise
Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.