Guilherme,

Currently, this is not possible, but the engineer who oversees this told me
that it would not be difficult to make it possible and that he will enter it
as a feature request for an upcoming release. 

Bob DuCharme
TopQuadrant


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Guilherme Scomparim
Sent: Wednesday, August 17, 2011 7:00 AM
To: TopBraid Suite Users
Subject: [topbraid-users] Is it possible to load the basket in Ensemble via
scripts?

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

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