I am trying to implement sparqlmotion script that exports taxonomy to RDF
format (see sparqlMOtionGraph.png file in attachment).
I added an optional parameter nodeURI.
In sml:BranchByAsk module (IsExportAllTaxonomy box on
sparqlMOtionGraph.png) I determine if this parameter is empty, the next
step should be sml:ApplyConstruct module and sml:PerformUpdate module in
vice versa case (the code of that see in BranchByAsk.png in attachemt).
The problem is that regardless of the value of the parameter nodeURI the
next step is always sml:PerformUpdate.
Moreover, I added
BIND (smf:trace("INFO: nodeURI {?1}", ?nodeURI) AS ?dummy) .
to the sml:askQuery of sml:BranchByAsk, but i see nothing in the tomcat
logs.
So, my questions are:
1. What i did wrong?
2. Inside of the sml:PerformUpdate module i need to execute update script
(add skos:hasTopConcept relation to exported taxonomy). As far as I
understand I should use sml:PerformUpdate (I added draft version of
sml:updateCode please see it in PerformUpdate.png file ).
so,
2.1. What is the best practice of building a temporal graph for update
inside sparqlmotion technology?
2.2. Must I use sml:applyQuery module for construct tempgraph from item 2.1
first. If, yes how can i pass built graph from sml:ApplyConstructmodule to
sml:PerformUpdate?
2.3. Is it possible to use ui namespace (ui:tempGraph, ui:transaction etc)
inside sparqlmotion or i need to use swp technology for my case?
<https://lh3.googleusercontent.com/-XHCDG_3cveo/WMJ02WrRFGI/AAAAAAAAAAY/YajbdR9zSiEcv1iQTpeVM0qxnfbQsQEyQCLcB/s1600/ApplyConstruct.png>
<https://lh3.googleusercontent.com/-rIuWmki8WvA/WMJ04IdyOCI/AAAAAAAAAAc/unhcYjizPOIAS_Wh4nr3BIbn4jvBHUQXQCLcB/s1600/BranchByAsk.png>
<https://lh3.googleusercontent.com/-rSHabdyXWz0/WMJ06oXSn2I/AAAAAAAAAAg/aaIQKu58qs8JVzdNoD8JvX61JqAH9MjfACLcB/s1600/PerformUpdate.png>
<https://lh3.googleusercontent.com/-EdsR1Gg5oqo/WMJ08kkzYeI/AAAAAAAAAAk/f2eoFEbVnIsDjdXbvtPeZixKAsQ0aHeQACLcB/s1600/SparqlMotionGraph.png>
--
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.