Hello,
I went through the UISPIN example using my own ontologies (I couldn't seem
to find the Agrovoc ontology anywhere, all the links I found no longer work).
In my ontology, I have the OWL RL inverse property rules attached to the
owl:Thing class (via spin:rule), and I have all the UISPIN stuff working
correctly for all my asserted triples using the example prototype/reference:
<ui:forEach ui:resultSet="{#
SELECT ?e
WHERE {
?element ?predicate ?e .
}
ORDER BY (ui:label(?e)) }">
<li>
<a href="{= xsd:string(?e) }">{= ui:label(?e) }</a>
</li>
Prototype reference (works for asserted triples, but doesn't work if predicate
is inferred by topspin):
<Neutral.ui:ElementList Neutral.ui:element="{= ?this }"
Neutral.ui:predicate="Neutral:failsAs"/>
However, I would also like it to work when I pass in a ?predicate that is
inferred for an ?element from the OWL RL inverse SPIN rules, but when I try the
query isn't picking them up. Is there a way to make the such queries aware of
the inferred triples when querying my model?
As a note, with inferencing for the model configured to use TopSPIN, the query
does work in the SPARQL tab with inferencing on.
Thanks,
Jeff
--
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