On Apr 8, 2011, at 1:45 AM, Scott Henninger wrote:
> Gerrit; By default the SPIN engine iterates until there are no new
> triples constructed. In your case, each time you call
> smf:buildUniqueURI(), a new uri is created by the {?mp a sc:MediaPath}
> triple pattern in the CONSTRUCT statement. There are two potential
> solutions to the problem:
> 1) Set the TopSPIN engine to single-pass in Configure Inferencing
> 2) use smf:buildURI with a known pattern, such as
> smf:buildURI("sc:mediapath{?x1}_to_{?x2}")
Just for the sake of completeness (in the archive), there also is
3) Create a sub-property of spin:rule and set its
spin:rulePropertyMaxIterationCount to 1.
Then move those rules that should not iterate under your new property.
The advantage of this solution over 1) is that it is independent of the TopSPIN
settings, which may only be local to your machine (and stored in the .tbc
files). The disadvantage is that setting this up is a bit of more work.
Holger
--
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