Catrina,

The issue is that your components (in the TBE app) are configured (by
default) to read only from the data graph, whereas you are putting your
inferred triples (and copy your asserted triples) into the aux graph.  To
change this for any given component, open the config popup, select the
component in the tree, and then expand the section 'General Attributes'.  In
that section, you will see the property 'Graph for Data' currently with
value 'data'.  Edit that value selecting 'aux' instead, and then save your
application.  When you restart the application, the component will then read
triples from the aux graph instead of the data graph.

If you want your components to read from both graphs (i.e., only inferred
triples are written into the aux graph), then you can create a simple
SPARQLMotion script which will add a imports triple to the aux graph such
that it imports the data graph.  Then, in your application add a
SPARQLMotion Relay, and configure it to execute that SPARQLMotion script at
application startup.  In doing this, any component that reads data from the
aux graph will also read it from the data graph.



On Mon, Aug 15, 2011 at 1:33 PM, Catrina <[email protected]
> wrote:

> Back in May, we met with Dean Allemang via a Webex to discuss some
> inferencing options.  He discussed the aux graph that was coming in
> TopBraid’s 3.5.0 release, and it sounded like it may fit some of our
> needs.  We are now working on trying to utilize this aux graph to
> determine whether or not it is a good fit.
>
> How is the auxiliary graph intended to be used with inferencing?
>
> I have some spin:rules defined in my vocabulary.
>
> Then, I have a SPARQLMotion script that contains the following steps:
> ->sml:ApplyTopSPIN where sml:predicate=spin:rule and sml:replace=true
> ->sml:PerformUpdate where sml:updateQuery contains
> INSERT  {
>    GRAPH <urn:x-tb:aux> {
>        ?s ?p ?o .
>    } .
> }
> WHERE {
>    ?s ?p ?o .
> }
>
> I opened a data graph from TBE, and ran this script.  However, I don’t
> seem to be able to see my added triples from TopBraid Ensemble.  I’m
> just using the default configuration from TBE as a sample starting
> point.  From the TopBraid Live Enterprise Server — Session
> Administration page, I see an open session to my data graph as well as
> to the aux graph.  However, there are no changes shown in the aux
> graph.  Should I see any changes here?
> I also ran this script locally (on my PC) from TopBraid Composer, but
> I see that the auxiliary.aux graph (contained in the TopBraid project
> under the TBC directory) gets modified and contains my desired
> inferred triples.
>
> Am I using this aux graph appropriately?  How do I get my inferred
> triples and what do I need to do in order to see these inferred
> triples with my asserted triples?
>
> Thanks,
> Catrina
>
> --
> 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
>



-- 

Willie Milnor

Sr. Semantic Solutions Developer



TopQuadrant, Inc.

330 John Carlyle Street

Suite 180

Alexandria, VA 22314

703.299.9330

www.topquadrant.com



Cell: 410.971.7788

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