From: Thomas M. <th...@sn...> - 2006-02-06 11:17:04
|
Hi Lars, >> select $T from source-locator($T,s"mybase#myid") ? > Just a guess (did not tried it): is the 's' prefix necessary? Yes - if I omit it, I'll get a TologParserException. I tried another example from Ontopia's predicate reference, which should do exactly what I want: select $T from topic($T),source-locator($T,s"mybase#myid")? or simpler select $T from topic($T),source-locator($T,myid)? But again I get 0 results with TM4J-Tolog... Is there any other way of finding a topic by a given id or source locator? (It works if I use the Java API, but I need to use Tolog in this case.) bye, Thomas |