From: Kal A. <ka...@te...> - 2004-08-17 10:27:27
|
Hi Bret, For the query: select $ASSOC, $ROLE1, $ROLE2 from association-role($ASSOC, $ROLE1), role-player($ROLE1, AT1), association-role($ASSOC, $ROLE2), role-player($ROLE2, AT2)? I tried this with a simple topic map and it parsed correctly. Perhaps there is something in the topic map. Can you make a minimal case topic map that fails on this query - if you can let me have such a topic map for my testing, that would be a great help. For the query: select $ASSOC, $ROLE1, $ROLE2 from association-role($ASSOC, $ROLE1), role-player($ROLE1, AT1), association-role($ASSOC, $ROLE2), role-player($ROLE2, AT2), type($ASSOC, activity_dependency) | type($ASSOC, activity_responsibility)? The OR part needs to be wrapped in curly braces, so rewrite it as: select $ASSOC, $ROLE1, $ROLE2 from association-role($ASSOC, $ROLE1), role-player($ROLE1, AT1), association-role($ASSOC, $ROLE2), role-player($ROLE2, AT2), { type($ASSOC, activity_dependency) | type($ASSOC, activity_responsibility) } ? and it should parse correctly. Cheers, Kal On Mon, 2004-08-16 at 21:35, Bret Cohen wrote: > Kal, > > While you were on vacation, I did some testing of > Tolog queries in TMNav & TM4J & sent the results to > tm4j-users. For some of my results Christoph suggested > Tolog may have a bug which I should report, so I'm > resending the part of my results that relate to this. > > Bret -- Kal Ahmed <ka...@te...> techquila |