Hi All,

  Is it possible to insert resources inside the Ensemble Basket via
Scripts?

  I have tried many things. The following query is in a perform update
Module. I can see the triples are created, however when I open the
popup screen that contains the basket, the basket is empty and I get
the following error: An internal error occurred in TopBraid Ensemble :
No items to search.

MODIFY GRAPH <http://tb-dag>
DELETE  {
}
INSERT  {
    ?basket <http://topquadrant.com/basket/2009/contains> ?importURI .
    ?importURI a LCDo:SecuredDomainLC .
}
WHERE {
    GRAPH <http://tb-dag> {
        ?basket a <http://www.topbraidlive.org/2009/07/
tblBasket#BasketComponent> .
        ?basket rdfs:label ?basketLabel .
        FILTER (?basketLabel = "Imported Domains and Components") .
    } .
    ?baseURI tops:definesStatements ( ?subject ?predicate ?object ) .
    ?model LCDo:lifecycleBaseURI ?baseURI .
    ?model LCDo:importsDomainLifecycleComponent ?importURI .
}

Any tips?

Thank you in advance,

Guil


-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion 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

Reply via email to