Hi there,

I'm working on an EditRule that should insert triples into the current 
graph when I see certain properties in the ui:addedGraph graph.  My plan 
was to pass in a couple of variables to a construct query and let it do the 
work. 

EditRule
....
<ui:call arg:concept="{= ?concept }" arg:cui="{= ?cui }" 
ui:template="hw-int-spin:AttachCuiDataToConceptTemplate"/>
...

(I don't know if I need to declare these arguments since they are already 
in scope at the time of this tag)

AttachCuiDataToConceptTemplate is an UpdateTemplate (I've also tried 
ConstructTemplate).

CONSTRUCT {
 ...
} WHERE {
...
}


When this ui:call is executed I get an error: 

Exception during evaluation of teamwork rules: 
java.lang.IllegalArgumentException: Unsupported query template type


I know this pattern must see a lot of use, and I see mentions of see in the 
definition of ui:call that it should handle an UPDATE command as it body.  
But is an UPDATE body equivalent to a CONSTRUCT query? 

Thanks for any help,
Adam

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include the TopBraid Suite family 
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
and SPIN.
To post to this group, send email to [email protected]
--- 
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/d/optout.

Reply via email to