<https://lh4.googleusercontent.com/-E3wFMHXuhnU/USvbGSrP0oI/AAAAAAAAACQ/DPABYOdpmFk/s1600/Capture.PNG>
Hi again,

I am struggling to get the sml:BranchByAsk to work . Here is the scenario...

I wish to update a graph using from an external ui using scripts called 
from an external source, which I can do using a standard 
importfromworkspace----construct/update rdfprocessingmodule--- export rdf, 
but before I do this I wanted to make sure that the property that I am 
trying to update is valid, ie exists in the model, so intially i thought 
(please forgive my naievity once again) that I could just create another 
subclass of sm:Functions assign it an export to remote return module and 
use an ask query to determine whether the property variable passed into the 
script existed. Unfortunatley ther is no "ask module" only a construct 
module under rdf processing. So then I thought ok  follow the example in 
the tutorial by using a branch by select , but whatever i do I cannot get 
it return anything, although the query works fine using the spaql tab of 
tbc. Here is as much info as i can give, the construct statements are just 
trying to test a sucessufl outcome but as stated i dont get any results 
back 
Testing this from tbc, when i run the script and user input is required 
from the popup for the arg1 i have tried the following but nothing works, I 
think I am missing a binding or having to build an uri

format_TabStop
coreModel:format_TabStop
http://example.com/library/coreModel#format_TabStop1
<http://example.com/library/coreModel#format_TabStop1>

.hope you can help 


Regards 
John

*sml:AskQuery*
ASK WHERE {
    ?arg1 a owl:DatatypeProperty .
}



*construct true module*

CONSTRUCT {
    publishedBook:IEE_Code_of_Practice_3rd_Edition ?arg1 40 .
}
WHERE {
    publishedBook:IEE_Code_of_Practice_3rd_Edition ?arg1 40 .
}

*construct false module*

CONSTRUCT {
    publishedBook:IEE_Code_of_Practice_3rd_Edition ?arg1 50 .
}
WHERE {
    publishedBook:IEE_Code_of_Practice_3rd_Edition ?arg1 50 .
}

-- 
-- 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.


Reply via email to