Hi John,
judging from the source code this happens if the variable ?result
(encoded as urn:x-var:result) points to a base URI that is not
represented by a file in the workspace. <example.com#example> does look
very suspicious to me: it lacks the http:// and also shouldn't have the
part after the # in it.
BTW I believe you can also use GRAPH ?result instead of the urn:x-var:
syntax (which was a legacy work-around from the time when Jena didn't
handle variables as GRAPH correctly).
HTH
Holger
On 9/3/2013 8:30, John Perdoni wrote:
Hi,
I have a script that was working fine until today, As far as i can
remember I have not made any changes to any rdf model tonight , but
only changes to the web service that calls the script in question.
DELETE {
GRAPH <urn:x-var:result> {
?incInstanceUri ?propertyToUpdateUri ?oldPageItemIndex .
} .
}
INSERT {
GRAPH <urn:x-var:result> {
?incInstanceUri ?propertyToUpdateUri ?newPageItemIndex .
} .
}
WHERE {
GRAPH <urn:x-var:result> {
BIND (spif:buildURI("<{?instanceUri}>") AS ?incInstanceUri) .
BIND (spif:buildURI("{?rdfPropertyToUpdate}") AS
?propertyToUpdateUri) .
} .
}
I have checked the inc var and all seems ok but I am getting the
following error
Reason:
org.topbraid.spin.sparqlmotion.modules.SMBadArgumentException:
{?result} <example.com#example> is not in the workspace.
Can anyone shed any light on this error.
Reading between the lines it seems as if the graph is not recognised
but as i said above this was working fine yesterday and as far as I am
concerned I have not made any changes to any model, apart from the
statement updated in the script
Regards
John
--
-- 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
Insight, 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 Insight, 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.