Hi,

I am creating an SWP application which basically works fine but I do not 
know the correct way to enable inferencing in my results:

Having an SWP-file with contents like :

<ui:setContext xmlns:foo="http://www.example.com/foo#";
                   xmlns:fooui="http://www.example.com/foo.ui#";
ui:queryGraph="{= 
ui:graphWithImports(&lt;http://www.example.com/foo.ui&gt;) }">
<h1>Results:</h1>
<fooui:ResultView />
<ui:forEach
ui:resultSet="{#
                SELECT ?bar
                WHERE {
                    ?bar a foo:foo .
                }
                ORDER BY ui:label(?bar) }">
<ui:resourceView ui:resource="{= ?bar }" />
</ui:forEach>
</ui:setContext>

As you can see I have defined various ontologies - one for the domain model 
[1], one for the UI [2] and another one for the select queries [3] (like in 
the example at 
http://composing-the-semantic-web.blogspot.de/2012/02/swp-tip-organizing-queries-and-views.html)
 
with [2] importing [3] importing [1]. So I am setting the query graph to 
[2] because this one imports the rest.
The problem I am facing is that all the queries that are executed on this 
SWP are just returning the non-inferenced triples. I enabled inferencing in 
TBC for [1] (which works fine) but the additional results are not passed to 
the SWP. I think that I am missing something fundamental here and hope you 
can help me out.

Thanks!

Peter

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