From: Kal A. <ka...@te...> - 2004-07-22 11:57:00
|
Hi Armin, There was a bug in the way that id references were handled by the tolog processor. I thought I had checked in a fix for that, but it is possible I forgot a file... Cheers, Kal On Thu, 2004-07-22 at 11:08, Armin Wagenknecht web.de wrote: > Hello Kal, > > thanks a lot for the super-fast bug-fixing. Now,the reifies-predicate > works perfectly. > But I still have another question which determines, if I can use the > tologx-package for my topicmap-application. > > Using the predicate "instance-of($INSTANCE, $TYPE)" for example, I can > query > > ----- > select $INSTANCE from instance-of($INSTANCE, <topic-id of a certain > topictype>)? > ----- > > -> I receive all topics which are typed by "topic-id of a certain > topictype" > > or > > ---- > select $TYPE from instance-of(<topic-id of a certain topic>, $TYPE)? > ----- > > -> I receive the topictypes of " topic-id of a certain topic" > > So far so good, but with other predicates I can not put in an ID in > both arguments of the predicate, for example: > > select $REIFIED from reifies(<topic-id of reifier-topic>, $REIFIED)? > > -> works > > but > > select $REIFER from reifies ($REIFER, <association-id of association > which is reified>)? > or > > select $REIFER from reifies ($REIFER, <occurrence-id of association > which is reified>)? > > --> does not work!!! I get the error-message, that a topic with such > an id does not exist in the Map. That is not surprising, because the > ids I used in the queries > are occurrence-ids or association-ids and no topic-ids. > > > The same for > > select $ROLE from association-role(<association-id>, $ROLE)? > > select $THEME from scope(<occurrence-id of occurrence which is > scoped>, $THEME)? > > > > and so on.... > > > > Is there a bug in the predicate-classes or did I use the > tolog-predicates in a wrong way? > > > > Thank you in advance for your support! > > > > Cheers > > > > Armin -- Kal Ahmed <ka...@te...> techquila |