You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(22) |
Jul
(4) |
Aug
(9) |
Sep
(6) |
Oct
(5) |
Nov
(15) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(4) |
Feb
(10) |
Mar
(12) |
Apr
(16) |
May
(2) |
Jun
(7) |
Jul
(10) |
Aug
(9) |
Sep
(3) |
Oct
(17) |
Nov
(17) |
Dec
(6) |
2003 |
Jan
(12) |
Feb
(15) |
Mar
(25) |
Apr
(20) |
May
(8) |
Jun
(3) |
Jul
(21) |
Aug
(10) |
Sep
(7) |
Oct
(1) |
Nov
(3) |
Dec
(6) |
2004 |
Jan
(5) |
Feb
(16) |
Mar
(34) |
Apr
(26) |
May
(20) |
Jun
(58) |
Jul
(76) |
Aug
(51) |
Sep
(40) |
Oct
(16) |
Nov
(7) |
Dec
(6) |
2005 |
Jan
(10) |
Feb
(1) |
Mar
(17) |
Apr
(8) |
May
(11) |
Jun
(15) |
Jul
(1) |
Aug
(7) |
Sep
(6) |
Oct
(10) |
Nov
(14) |
Dec
(9) |
2006 |
Jan
(11) |
Feb
(22) |
Mar
(17) |
Apr
(1) |
May
(15) |
Jun
(9) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2008 |
Jan
(2) |
Feb
(1) |
Mar
(8) |
Apr
(8) |
May
(12) |
Jun
(9) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bret C. <bre...@ya...> - 2004-08-11 17:58:36
|
Yesterday, I sent Christoph & tm4j-users some messages, but went over the list's space limitation. I'm resending the messages as attachments. I think they should stay within the space limitation this time. Bret __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Christoph F. <cf...@fo...> - 2004-08-10 21:11:19
|
Hi Michael Am Di, den 10.08.2004 schrieb Michael Rohleder um 22:02: > Hello, > > i have a problem with queries on topicmaps: > > I still read the Topic on the list but it did not help: > http://sourceforge.net/mailarchive/forum.php?thread_id=5232804&forum_id=1704 > > I add a topic to a topicmap, after then i want to use it in a query > but i get the error: "source locator doesn`t exist" > > ----------------- > > Code: > > topicmap.createTopic("element1"); > > QueryEvaluator queryEvaluator = > QueryEvaluatorFactory.newQueryEvaluator(tm); > > TologResultsSet results = queryEvaluator.execute("select $A from > instance-of($A, element1) ?"); > > ----------------- Your TologQuery looks for a sourceLocator ("element1"), but createTopic(String) just assigns an id. replace the line topicmap.createTopic("element1"); with the following Topic t = topicmap.createTopic("element1"); Locator base = topicmap.getBaseLocator(); Locator loc_e1 = base.resolveRelative("#element1"); t.addSourceLocator(loc_e1); this works at least for me. bye c > > When i export the Topicmap to XTM, the Topic (Id: element1) still > exists!? > > If i read a XTM-File in which the topic "element1" exists the query is > succesful. > > I use the hibernate-backend so it makes no sense to save the ! changes > in a file and then parse it another time!? > > Thanks for help. > > Michael Rohleder > > FH-Rosenheim, Germany > > > > > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 > ------------------------------------------------------- SF.Net email > is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic > DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off > Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ Tm4j-users mailing > list Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-08-10 21:01:09
|
Hi Michael Am Di, den 10.08.2004 schrieb Michael Rohleder um 22:02: > Hello, > > i have a problem with queries on topicmaps: > > I still read the Topic on the list but it did not help: > http://sourceforge.net/mailarchive/forum.php?thread_id=5232804&forum_id=1704 > > I add a topic to a topicmap, after then i want to use it in a query > but i get the error: "source locator doesn`t exist" > > ----------------- > > Code: > > topicmap.createTopic("element1"); > > QueryEvaluator queryEvaluator = > QueryEvaluatorFactory.newQueryEvaluator(tm); > > TologResultsSet results = queryEvaluator.execute("select $A from > instance-of($A, element1) ?"); > > ----------------- Your TologQuery looks for a sourceLocator ("element1"), but createTopic(String) just assigns an id. replace the line topicmap.createTopic("element1"); with the following Topic t = topicmap.createTopic("element1"); Locator base = topicmap.getBaseLocator(); Locator loc_e1 = base.resolveRelative("#element1"); t.addSourceLocator(loc_e1); this works at least for me. bye c > > When i export the Topicmap to XTM, the Topic (Id: element1) still > exists!? > > If i read a XTM-File in which the topic "element1" exists the query is > succesful. > > I use the hibernate-backend so it makes no sense to save the ! changes > in a file and then parse it another time!? > > Thanks for help. > > Michael Rohleder > > FH-Rosenheim, Germany > > > > > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 > ------------------------------------------------------- SF.Net email > is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic > DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off > Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ Tm4j-users mailing > list Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Michael R. <mic...@we...> - 2004-08-10 20:02:11
|
<html><style>p {margin: 0px}</style><body bgcolor='#ffffff' style='font-size:9pt; font-family:Verdana; font-family: Verdana' ><FONT size=2><P>Hello,</P><P>i have a problem with queries on topicmaps:</P><P>I still read the Topic on the list but it did not help: http://sourceforge.net/mailarchive/forum.php?thread_id=5232804&forum_id=1704</P><P>I add a topic to a topicmap, after then i want to use it in a query but i get the error: "source locator doesn`t exist"</P><P>-----------------</P><P>Code:</P><P>topicmap.createTopic("element1");</P><P>QueryEvaluator queryEvaluator = QueryEvaluatorFactory.newQueryEvaluator(tm);</P><P>TologResultsSet results = queryEvaluator.execute("select $A from instance-of($A, element1) ?");</P><P>-----------------</P><P>When i export the Topicmap to XTM, the Topic (Id: element1) still exists!?</P><P>If i read a XTM-File in which the topic "element1" exists the query is succesful.</P><P>I use the hibernate-backend so it makes no sense to save the ! changes in a file and then parse it another time!?</P><P>Thanks for help.</P><P>Michael Rohleder</P><P>FH-Rosenheim, Germany</P></FONT><br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="http://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">Verschicken Sie romantische, coole und witzige Bilder per SMS! <br>Jetzt neu bei WEB.DE FreeMail: <A HREF="http://freemail.web.de/?mc=021193"><B>http://freemail.web.de/?mc=021193</B></A> </td></tr></table></body></html> |
From: Christoph F. <cf...@fo...> - 2004-08-10 13:26:58
|
Hi Bret Am Mo, den 09.08.2004 schrieb Bret Cohen um 23:17: > Hi Christoph > > Thanks for your taking the time to think this through. > > Some points: > > 1. What's the procedure for filing a Bug Report with > Kal about the issue I raise? > Ohhh. You got me. I've never filed one. But I guess you should point your browser to http://sourceforge.net/tracker/?group_id=27895&atid=391879 and follow the link "Submit new" > 2.My reasoning about the possibility of writing a > Tolog Abstractor for a Hypergraph is as follows: > > True Tolog returns results as rows & columns, but that > doesn't mean they can't be used for other purposes. > agree > We know that the following two sequences are possible: > > Tolog query => Topic Map Fragment (really just another > topic map - right?) > > Topic Map => Compact Abstractor => Hypergraph Renderer > > So, if worse comes to worse, I could simply write an > abstractor that takes as input the Topic Map Fragment, > rather than the raw Tolog results - Or is there some > intermediate state from which to draw? > In the last time I came to the conclusion that all abstractors essentially work in two steps. 1. They get the data, typically by using Extractors or in our particular case by executing a tolog query. 2. They build the Model from that data. I started to call this step the 'molding'. I've found that word in german-english dicitionary and I liked it, but meanwhile it sounds a bit strange to me. Is it a common word? Nevertheless. What we need to do is to make the 'molding' step of the TologAbstractor customizable. Then we can create models of any shape we can think of. > Anyway, isn't a row just a way of referring to a set > of values for the attributes of an object, with each > column containing the values for a particular type of > attribute? I agree totally that there are plenty of ways to present a particular resultset in a meaningful way. My concern was about finding another _generic_ form of presentation. For generic purposes a table is pretty good I think. But maybe we can start with a simple use case. For example with resultsets that have only one column and that store TopicMapObjects and not Integers in that column. We could then say, that we use the CompactAbstractor to transform the TopicMapObject of each row into a model and that we add all the centernodes of all the models to a sort of supermodel that will be returned. The centernode of that supermodel will be of a new Gestalt, GESTALT_INVISIBLE and the abstractors could be updated to recognize that Gestalt and to not to draw it. Does this sound like what you was thinking of? bye c > Well, I have to go, but I'll continue to think, and > I'll be sending a better specification for what I need > shortly. > > Bret > --- Christoph Froehlich <cf...@fo...> wrote: > > > Hi Bret > > > > thanks a lot for the input and sorry for responding > > late. It took me > > some time to sort out my mind. > > > > > > Am Mi, den 04.08.2004 schrieb Bret Cohen um 0:48: > > > Christoph, > > > > > > I did some testing of tologx in TM4J 0.9.6 & TMNav > > > 0.2.8. I've attached the results > > > (TologTestResults.txt). > > > > > > For TMNav, I tested variations of a Tolog query > > passed > > > to the Tolog Abstractor and then represented by > > > various renderers. > > > > > > One problem for both applications is that queries > > > don't seem to work when they are forced to iterate > > > over more than one type of association. > > > > > I think it would be good to file a bug report. This > > is something Kal > > should have a look onto. > > > > > Another problem, specific to TMNav, is that the > > > Hypergraph & Touchgraph Renders don't seem to bind > > the > > > variables (such as $ASSOCIATION & $ROLE) to their > > > values - Each are displayed separately. And the > > Table > > > Renderer even fails to show the values. > > > > > > Even if you succeed in fixing these problems, I > > think > > > I will have to write my own abstractor, because I > > need > > > to display results in a Hypergraph or Touchgraph, > > > and I don't find the way the Tolog Abstractor's > > > table-oriented model are displayed by those > > renderers > > > to be intuitive. FYI, I've enclosed a discussion > > of > > > this issue, together with some ideas of mine about > > > what to do about it (AbstractorReqs.txt). If you > > can > > > either make use of these ideas for your own work > > or > > > comment on them for me, they will have served > > their > > > purpose -- though, of course, don't feel obligated > > to > > > do either. > > > > > > > I agree totally with you, that the model that the > > TologAbstractor > > currently generates is not suitable to be presented > > by any of the > > generic renderers (Touchgraph-, Hypergraph or > > TreeRenderer). > > > > I've remarked that the TologFrame allows you to > > choose a renderer and, > > at this time, I would consider this as a bug, since > > using any other > > renderer than the TableRenderer does not produce > > useable results. > > > > Nevertheless, introducing switches in > > TologAbstractor that specify the > > shape of the generated model is easy from a > > technical point of view. And > > it would be great to implement it. But unfortunatley > > I fail to imagine > > how this models should look like. > > > > Basically, a TologQuery returns a result set. Which > > means: tabular data. > > Rows and columns and > > each cell of a row is related to all other cells of > > that row and > > each cell of a row is not related to any cell of all > > other rows. > > > > How this could be transformed into an intuitive > > graph view is currently > > not comprehensible to me (which should not mean, > > that it is impossible, > > but I fail to see it). > > > > >From the reading of your notes, I think you have > > some more concrete and > > more specific intentions. Maybe you can tell us more > > about the goals of > > your project and what you would like to see as the > > result of specific > > queries. > > > > I'm really interested to learn what users of tmnav > > would like to see. I > > guess, beyond a certain point it will always be > > necessary to define > > custom abstractors. > > > > It would be great to define a construction kit, that > > allows the > > generation of custom abstractors for non-coders > > (endusers!). > > If you could provide us with a more concrete > > description of how you > > expect the result of a distinct query being > > presented, we will > > eventually get ahead towards a toolbox for > > generating custom > > abstractors. > > > > > > Thanks again for your input > > > > bye > > c > > > > > > > > > Bret > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail - Helps protect you from nasty > > viruses. > > > http://promotions.yahoo.com/new_mail > > > > > > > > > ______________________________________________________________________ > > > TMNav Tolog Testing - TM4J 0.9.6-src & TMNav > > 0.2.8-src (by Bret Cohen) > > > > > > Summary: Most important results: > > > 1. Queries that work in TM4J 0.9.6 also work in > > TMNav 0.2.8 (with the Table Renderer) > > > 2. Some queries don't seem to work correctly in > > either > > > TM4J 0.9.6 or TMNav 0.2.8 > > > 3. Within TMNav 0.2.8 only the Table Renderer > > successfully > > > shows the binding of the tolog variables with > > their values. > > > The other renderers either fail to show the > > bindings > > > (Hypergraph Renderer & Touchgraph Renderer) > > > or fail to even show the values of the variables > > > (Tree Renderer) (The Section Renderer just gives a > > blue screen.) > > > 4. Switching between values in the The General tab > > > (Tree-View, Graph-View, Tolog results) > > > doesn't have any effect (at least when using the > > > Tolog Abstractor) > > > 5. Sometimes updating a query and pressing the > > Query button fails to update results. > > > Other times the updating seems to work well (so I > > can't reproduce the problem) > > > > > > > > > Here is a more extended discussion of my test > > results (for points 1-3 above): > > > > > > 1. & 2.) QUERIES THAT WORK AND DON'T WORK ON TM4J > > 0.9.6 & TMNAV 0.2.8 > > > > > > ---------------------------------------------------------------------- > > > I ran a particular tolog query on my own topic > > map. What I wanted to do was to take two topics (AT1 > > and AT2) > > > and determine which role each played in any > > associations in which they both played roles. > > > > > > I got the following query to work for both TM4J > > 0.9.6 and TMNav 0.2.8 > > > > > > 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)? > > > > > > That is, the query worked when I specifically told > > it to look for roles the two topics > > > play in the activity_dependency typed association > > (which happens to be the only type > > > association in which they both play a role). > > > > > > The query also worked when I substituted another > > type of association (one in which the > > > two topics don't play a role), though (as > > expected) it didn't return any results > > > === message truncated === > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail -- Christoph Froehlich <cf...@fo...> |
From: Bret C. <bre...@ya...> - 2004-08-09 21:17:45
|
Hi Christoph Thanks for your taking the time to think this through. Some points: 1. What's the procedure for filing a Bug Report with Kal about the issue I raise? 2.My reasoning about the possibility of writing a Tolog Abstractor for a Hypergraph is as follows: True Tolog returns results as rows & columns, but that doesn't mean they can't be used for other purposes. We know that the following two sequences are possible: Tolog query => Topic Map Fragment (really just another topic map - right?) Topic Map => Compact Abstractor => Hypergraph Renderer So, if worse comes to worse, I could simply write an abstractor that takes as input the Topic Map Fragment, rather than the raw Tolog results - Or is there some intermediate state from which to draw? Anyway, isn't a row just a way of referring to a set of values for the attributes of an object, with each column containing the values for a particular type of attribute? Well, I have to go, but I'll continue to think, and I'll be sending a better specification for what I need shortly. Bret --- Christoph Froehlich <cf...@fo...> wrote: > Hi Bret > > thanks a lot for the input and sorry for responding > late. It took me > some time to sort out my mind. > > > Am Mi, den 04.08.2004 schrieb Bret Cohen um 0:48: > > Christoph, > > > > I did some testing of tologx in TM4J 0.9.6 & TMNav > > 0.2.8. I've attached the results > > (TologTestResults.txt). > > > > For TMNav, I tested variations of a Tolog query > passed > > to the Tolog Abstractor and then represented by > > various renderers. > > > > One problem for both applications is that queries > > don't seem to work when they are forced to iterate > > over more than one type of association. > > > I think it would be good to file a bug report. This > is something Kal > should have a look onto. > > > Another problem, specific to TMNav, is that the > > Hypergraph & Touchgraph Renders don't seem to bind > the > > variables (such as $ASSOCIATION & $ROLE) to their > > values - Each are displayed separately. And the > Table > > Renderer even fails to show the values. > > > > Even if you succeed in fixing these problems, I > think > > I will have to write my own abstractor, because I > need > > to display results in a Hypergraph or Touchgraph, > > and I don't find the way the Tolog Abstractor's > > table-oriented model are displayed by those > renderers > > to be intuitive. FYI, I've enclosed a discussion > of > > this issue, together with some ideas of mine about > > what to do about it (AbstractorReqs.txt). If you > can > > either make use of these ideas for your own work > or > > comment on them for me, they will have served > their > > purpose -- though, of course, don't feel obligated > to > > do either. > > > > I agree totally with you, that the model that the > TologAbstractor > currently generates is not suitable to be presented > by any of the > generic renderers (Touchgraph-, Hypergraph or > TreeRenderer). > > I've remarked that the TologFrame allows you to > choose a renderer and, > at this time, I would consider this as a bug, since > using any other > renderer than the TableRenderer does not produce > useable results. > > Nevertheless, introducing switches in > TologAbstractor that specify the > shape of the generated model is easy from a > technical point of view. And > it would be great to implement it. But unfortunatley > I fail to imagine > how this models should look like. > > Basically, a TologQuery returns a result set. Which > means: tabular data. > Rows and columns and > each cell of a row is related to all other cells of > that row and > each cell of a row is not related to any cell of all > other rows. > > How this could be transformed into an intuitive > graph view is currently > not comprehensible to me (which should not mean, > that it is impossible, > but I fail to see it). > > >From the reading of your notes, I think you have > some more concrete and > more specific intentions. Maybe you can tell us more > about the goals of > your project and what you would like to see as the > result of specific > queries. > > I'm really interested to learn what users of tmnav > would like to see. I > guess, beyond a certain point it will always be > necessary to define > custom abstractors. > > It would be great to define a construction kit, that > allows the > generation of custom abstractors for non-coders > (endusers!). > If you could provide us with a more concrete > description of how you > expect the result of a distinct query being > presented, we will > eventually get ahead towards a toolbox for > generating custom > abstractors. > > > Thanks again for your input > > bye > c > > > > > Bret > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty > viruses. > > http://promotions.yahoo.com/new_mail > > > > > ______________________________________________________________________ > > TMNav Tolog Testing - TM4J 0.9.6-src & TMNav > 0.2.8-src (by Bret Cohen) > > > > Summary: Most important results: > > 1. Queries that work in TM4J 0.9.6 also work in > TMNav 0.2.8 (with the Table Renderer) > > 2. Some queries don't seem to work correctly in > either > > TM4J 0.9.6 or TMNav 0.2.8 > > 3. Within TMNav 0.2.8 only the Table Renderer > successfully > > shows the binding of the tolog variables with > their values. > > The other renderers either fail to show the > bindings > > (Hypergraph Renderer & Touchgraph Renderer) > > or fail to even show the values of the variables > > (Tree Renderer) (The Section Renderer just gives a > blue screen.) > > 4. Switching between values in the The General tab > > (Tree-View, Graph-View, Tolog results) > > doesn't have any effect (at least when using the > > Tolog Abstractor) > > 5. Sometimes updating a query and pressing the > Query button fails to update results. > > Other times the updating seems to work well (so I > can't reproduce the problem) > > > > > > Here is a more extended discussion of my test > results (for points 1-3 above): > > > > 1. & 2.) QUERIES THAT WORK AND DON'T WORK ON TM4J > 0.9.6 & TMNAV 0.2.8 > > > ---------------------------------------------------------------------- > > I ran a particular tolog query on my own topic > map. What I wanted to do was to take two topics (AT1 > and AT2) > > and determine which role each played in any > associations in which they both played roles. > > > > I got the following query to work for both TM4J > 0.9.6 and TMNav 0.2.8 > > > > 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)? > > > > That is, the query worked when I specifically told > it to look for roles the two topics > > play in the activity_dependency typed association > (which happens to be the only type > > association in which they both play a role). > > > > The query also worked when I substituted another > type of association (one in which the > > two topics don't play a role), though (as > expected) it didn't return any results > === message truncated === __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Christoph F. <cf...@fo...> - 2004-08-07 20:18:39
|
Hi Bret thanks a lot for the input and sorry for responding late. It took me some time to sort out my mind. Am Mi, den 04.08.2004 schrieb Bret Cohen um 0:48: > Christoph, > > I did some testing of tologx in TM4J 0.9.6 & TMNav > 0.2.8. I've attached the results > (TologTestResults.txt). > > For TMNav, I tested variations of a Tolog query passed > to the Tolog Abstractor and then represented by > various renderers. > > One problem for both applications is that queries > don't seem to work when they are forced to iterate > over more than one type of association. > I think it would be good to file a bug report. This is something Kal should have a look onto. > Another problem, specific to TMNav, is that the > Hypergraph & Touchgraph Renders don't seem to bind the > variables (such as $ASSOCIATION & $ROLE) to their > values - Each are displayed separately. And the Table > Renderer even fails to show the values. > > Even if you succeed in fixing these problems, I think > I will have to write my own abstractor, because I need > to display results in a Hypergraph or Touchgraph, > and I don't find the way the Tolog Abstractor's > table-oriented model are displayed by those renderers > to be intuitive. FYI, I've enclosed a discussion of > this issue, together with some ideas of mine about > what to do about it (AbstractorReqs.txt). If you can > either make use of these ideas for your own work or > comment on them for me, they will have served their > purpose -- though, of course, don't feel obligated to > do either. > I agree totally with you, that the model that the TologAbstractor currently generates is not suitable to be presented by any of the generic renderers (Touchgraph-, Hypergraph or TreeRenderer). I've remarked that the TologFrame allows you to choose a renderer and, at this time, I would consider this as a bug, since using any other renderer than the TableRenderer does not produce useable results. Nevertheless, introducing switches in TologAbstractor that specify the shape of the generated model is easy from a technical point of view. And it would be great to implement it. But unfortunatley I fail to imagine how this models should look like. Basically, a TologQuery returns a result set. Which means: tabular data. Rows and columns and each cell of a row is related to all other cells of that row and each cell of a row is not related to any cell of all other rows. How this could be transformed into an intuitive graph view is currently not comprehensible to me (which should not mean, that it is impossible, but I fail to see it). >From the reading of your notes, I think you have some more concrete and more specific intentions. Maybe you can tell us more about the goals of your project and what you would like to see as the result of specific queries. I'm really interested to learn what users of tmnav would like to see. I guess, beyond a certain point it will always be necessary to define custom abstractors. It would be great to define a construction kit, that allows the generation of custom abstractors for non-coders (endusers!). If you could provide us with a more concrete description of how you expect the result of a distinct query being presented, we will eventually get ahead towards a toolbox for generating custom abstractors. Thanks again for your input bye c > Bret > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > ______________________________________________________________________ > TMNav Tolog Testing - TM4J 0.9.6-src & TMNav 0.2.8-src (by Bret Cohen) > > Summary: Most important results: > 1. Queries that work in TM4J 0.9.6 also work in TMNav 0.2.8 (with the Table Renderer) > 2. Some queries don't seem to work correctly in either > TM4J 0.9.6 or TMNav 0.2.8 > 3. Within TMNav 0.2.8 only the Table Renderer successfully > shows the binding of the tolog variables with their values. > The other renderers either fail to show the bindings > (Hypergraph Renderer & Touchgraph Renderer) > or fail to even show the values of the variables > (Tree Renderer) (The Section Renderer just gives a blue screen.) > 4. Switching between values in the The General tab > (Tree-View, Graph-View, Tolog results) > doesn't have any effect (at least when using the > Tolog Abstractor) > 5. Sometimes updating a query and pressing the Query button fails to update results. > Other times the updating seems to work well (so I can't reproduce the problem) > > > Here is a more extended discussion of my test results (for points 1-3 above): > > 1. & 2.) QUERIES THAT WORK AND DON'T WORK ON TM4J 0.9.6 & TMNAV 0.2.8 > ---------------------------------------------------------------------- > I ran a particular tolog query on my own topic map. What I wanted to do was to take two topics (AT1 and AT2) > and determine which role each played in any associations in which they both played roles. > > I got the following query to work for both TM4J 0.9.6 and TMNav 0.2.8 > > 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)? > > That is, the query worked when I specifically told it to look for roles the two topics > play in the activity_dependency typed association (which happens to be the only type > association in which they both play a role). > > The query also worked when I substituted another type of association (one in which the > two topics don't play a role), though (as expected) it didn't return any results > > select $ASSOC, $ROLE1, $ROLE2 from > association-role($ASSOC, $ROLE1), > role-player($ROLE1, AT1), > association-role($ASSOC, $ROLE2), > role-player($ROLE2, AT2), > type($ASSOC, activity_responsibility)? > > > The query failed to work in both TM4J and TMNav when I did either of the following: > a. remove the type() line - which should force tolog to search through all associations > select $ASSOC, $ROLE1, $ROLE2 from > association-role($ASSOC, $ROLE1), > role-player($ROLE1, AT1), > association-role($ASSOC, $ROLE2), > role-player($ROLE2, AT2)? > > (TM4J gives a parsing error - TMNav's Table Renderer gives results, but with > incorrect bindings.) > > b. create an OR clause - which should force tolog to search through two types of association > 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)? > > (TM4J gives a parsing error - TMNav's Table Renderer gives no results.) > > > 3.)MORE ON RENDERINGS OF (TOLOG ABSTRACTOR) RESULTS WITH DIFFERENT RENDERERS > ---------------------------------------------------------------------------- > When I ran the query in both TM4J & TMNav (using the table renderer), > I got results that, allowed me to determine - indirectly - > what I wanted to know: the roles each topic (AT1 & AT2) > play in the associations in which they play a role. > > The results didn't specifically mention AT1 & AT2, but since I (the user) associated AT1 with $ROLE1 > and AT2 with $ROLE2 in the query, it's possible for me (the user) to interpret the results. > That's because the results bind $ROLE1 with the the role type "Prerequisite For" and > $ROLE2 with the role type "Dependent On". Since AT1 is "bound" (in the user's mind at least :)) > with $ROLE1 (because that's the way it was entered in the query: role-player($ROLE1, AT1)) > and AT2 is "bound" (in the user's mind) to $ROLE2, the user can, therefore, determine > from the tolog results that AT1 plays the "Prerequisite For" role, and > AT2 plays the "Dependent On" role -- both of which are true, given what I know about > information I entered in the topic map. > > The problem with the other renderers is that they don't make clear to me the bindings of the variables > ($ROLE1 & $ROLE2) with the values of these variables ("Prerequisite For" & "Dependent On") > > The renderers that don't make clear the bindings are: > > Hypergraph Renderer > Touchgraph Renderer > Tree Renderer > > The Hypergraph Renderer shows the variables & values, but doesn't make clear which values are bound > to which variables > > The Touchgraph Render acts similary to the Hypergraph Renderer. > The fact that the variables (on one side of the graph) are not > bound to their values (on the other side) is clearly illustrated > by the fact that if you manipulate the order of the variables > the order of the values of these variables are not automatically > manipulated to keep the order intact. In other words, the values are > literally (visually) not bound to their variables > > The Tree Renderer lists the variables as columns, but doesn't list the values at all. > Instead it lists the following under rows: org.tm4j.tmnav.app.ix.NodeWithChildren@14ea256 > The node under that node is blank. > > (The Section Renderer just gives a blank, blue screen) > > > > ______________________________________________________________________ > My own personal opinion about the Tolog Abstractor is that it creates a model unsuitable for > representation by the Touchgraph Renderer or by the Hypergraph Renderer. Table, columns, and rows are just > not the types of things that those renderers display well. > > What I need: a tolog abstractor (that is, one that uses tolog queries to filter topic map data), > but one that creates a more hypergraph-friendly model, rather than a table model (which is more suitable for display > by a table renderer than by a hypergraph renderer). The model would look more like the model created by the > Compact Abstractor, except that there wouldn't be just one center node. Instead it would show the associations > between all top-level topic map topic objects. > > Here are two of my journal entries in which I examine the issues involved. I started by thinking > that what I need is to create my own renderer - and the first entry discusses how to do it. > > I think I was on the right track, except that what I wrote might be applied to writing an abstractor > instead, and that the model the abstractor creates can then be consumed by the Hypergraph Renderer > or the Touchgraph Renderer. > > 29/06/2004 > Need to create a renderer that inherits the methods of TouchgraphRenderer, because it's going to work the same > once an activity is clicked on. (The TologAbstractor is going to change what is abstracted from the topic map, > so that only activities, products, and resources can be selected as nodes connected to the center node - an > activity). > > The inherited class needs a method like displayTopLevelActivities(). This method needs to work very differently than > the TouchgraphRender.buildTouchGraph(AMNode center) method. It doesn't depend on a center node around which it builds > the other nodes. Somehow it must take a list of top-level activity nodes, and starting with the first node, add any > nodes directly related to it, then recursively pass through the related nodes searching for related nodes that have > not yet been drawn. Then go back up to the first level and look within the list of top-level activity nodes for the > next one that has not yet been drawn and draw it and its related nodes, ect. > For each node in list: > if it has not yet been drawn -- a flag can be set for this > draw arcs & directly related nodes -- the standard buildTouchGraph() can be called > For each related node: > draw arcs & directly related nodes -- the standard buildTouchGraph() can be called > > Do we need a different model to pass to the displayTopLevelActivities() method than to the one being used by > (but NOTE: NOT passed to) the buildTouchGraph() method? We need to explore more how a model works. > > "In TMNav, a renderer is responsible for displaying a TopicMapObject and parts of its 'neighbourhood'." > > We need either a renderer that works differently or different renderers cooperating to display all of the > TopicMapObjects in the list. We could call buildTouchGraph() for each activity in the list, though some of the arcs > and nodes might be drawn more than once. Or we could call buildTouchGraph() only for nodes that the flag says have > not been drawn & modify the buildTouchGraph() method by passing a list of nodes & a list of arcs that have already > been drawn. > > As a first approximation we don't have to worry about repeatedly drawing the same node & arc -- as long as it's not > done at different places within the same graph. > > 29/06/2004 -- After researching model produced by Tolog Query > The center node returned by the query is neither a topic, nor any other type of topic map object > > The center node has one outgoing arc of no special gestalt. This arc contains endnodes for every row that the query returned. > Every row node has one outgoing arc of no special gestalt. The endnodes of this arc contain the results for the particular columns. > The represented object of these endnodes is either a Topic or an Integer. > So the problems associated with a one-topic-centered buildTouchGraph() function go away. > We simply need to use the getCenterNode() method of the AModel class to get the node to pass to the > buildTouchGraph() method. The method should, then, automatically build the graph. The only problem is that > topics that appear in more than one association will be shown more than one time -- at least if the renderer > slavishly copies all of the nodes into the graphical representation. We should check to see what the tmnav > default implementation of the renderer do about this.. Perhaps it would be good to develop a renderer that can > elimininate the duplication, if the default implementation does not already do this. - LET'S EXPERIMENT! > > So we should use a Tolog query to filter out everything but the top-level activities, but then we need to do something > different to get subactivities, resources, & product for each activity. Perhaps we could do another query, but > perhaps another type of filtering mechanism would be better so we can continue to represent all the relations > that currently are shown by the renderer... -- Christoph Froehlich <cf...@fo...> |
From: Tobias H. <tob...@me...> - 2004-08-04 14:03:51
|
rehi bent, On 04.08.2004 15:48, Bent Andre Solheim wrote: > Hi, Tobias, > > when you download the source distribution, hm. source. i knew that one day i,g get bitten by only d/loading bins instead of compiling stuff on my own... :) or check out the project > from cvs, you should find the build.xml file in question in the root > folder of the project. it is there - i guess all will be good now... :) Invoking Ant from this folder with the > ozone-install parameter should do the trick; > > c:\projects\tm4j>ant ozone-install > > Hope this helps you along. it has, thanks a bunch! :) greets, tobi... :) > Regards > Bent > > > > On Wed, 04 Aug 2004 15:32:31 +0200, Tobias Hofmann > <tob...@me...> wrote: > >> ladies, gentlemen, >> >> I am trying to setup the ozone backend for tm4j, and try to follow the >> instructions by kal, found in Appendix B. Installing The Ozone Back-End. >> >> I am no programmer, and maybe it is because of that that i completely >> fail to make sense from the following: >> >>> [...]To create a new database simply invoke ant with the target >>> 'ozone-install'. This target accepts three parameters as described >>> below.[...] >> >> >> I have ant installed, paths and home set, and typing "ant" gives me >> (on a win2k system with a rather current jsdk) >> >> Buildfile: build.xml does not exist! >> Build failed >> >> ok so far. but how would i invoke ant with the target >> 'ozone-install'? do i have to create my own build.xml, or is there a >> commandline-version to do that? >> http://www.iseran.com/Java/ant/tutorial/ant_tutorial.html and >> http://www.cs.huji.ac.il/~dbi/ant-manual/ did not do the trick for me... >> >> I guess it is obvious, for those who know it - any hints, please? :) >> >> tia, greets, tobi... :) >> > > > -- ---------------------------------------------------------------------- Dipl.-Ing. Tobias Hofmann, Bauhaus-Universitaet Weimar, Fak. Medien Wiss. Mitarbeiter an der Professur fuer Graphische Datenverarbeitung SnailMail: Bauhaus-Universitaet Weimar, Fak. Medien, D99421 Weimar Location: D99423 Weimar Bauhausstr. 11 Zimmer 006 Fon: ++49-(0)3643-58-3780 Fax : -3701 e-mail: mailto:tob...@me... ---------------------------------------------------------------------- |
From: Bent A. S. <be...@us...> - 2004-08-04 13:48:47
|
Hi, Tobias, when you download the source distribution, or check out the project from cvs, you should find the build.xml file in question in the root folder of the project. Invoking Ant from this folder with the ozone-install parameter should do the trick; c:\projects\tm4j>ant ozone-install Hope this helps you along. Regards Bent On Wed, 04 Aug 2004 15:32:31 +0200, Tobias Hofmann <tob...@me...> wrote: > ladies, gentlemen, > > I am trying to setup the ozone backend for tm4j, and try to follow the > instructions by kal, found in Appendix B. Installing The Ozone Back-End. > > I am no programmer, and maybe it is because of that that i completely > fail to make sense from the following: > >> [...]To create a new database simply invoke ant with the target >> 'ozone-install'. This target accepts three parameters as described >> below.[...] > > I have ant installed, paths and home set, and typing "ant" gives me (on > a win2k system with a rather current jsdk) > > Buildfile: build.xml does not exist! > Build failed > > ok so far. but how would i invoke ant with the target 'ozone-install'? > do i have to create my own build.xml, or is there a commandline-version > to do that? > http://www.iseran.com/Java/ant/tutorial/ant_tutorial.html and > http://www.cs.huji.ac.il/~dbi/ant-manual/ did not do the trick for me... > > I guess it is obvious, for those who know it - any hints, please? :) > > tia, greets, tobi... :) > -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
From: Tobias H. <tob...@me...> - 2004-08-04 13:32:54
|
ladies, gentlemen, I am trying to setup the ozone backend for tm4j, and try to follow the instructions by kal, found in Appendix B. Installing The Ozone Back-End. I am no programmer, and maybe it is because of that that i completely fail to make sense from the following: > [...]To create a new database simply invoke ant with the target > 'ozone-install'. This target accepts three parameters as described > below.[...] I have ant installed, paths and home set, and typing "ant" gives me (on a win2k system with a rather current jsdk) Buildfile: build.xml does not exist! Build failed ok so far. but how would i invoke ant with the target 'ozone-install'? do i have to create my own build.xml, or is there a commandline-version to do that? http://www.iseran.com/Java/ant/tutorial/ant_tutorial.html and http://www.cs.huji.ac.il/~dbi/ant-manual/ did not do the trick for me... I guess it is obvious, for those who know it - any hints, please? :) tia, greets, tobi... :) -- ---------------------------------------------------------------------- Dipl.-Ing. Tobias Hofmann, Bauhaus-Universitaet Weimar, Fak. Medien Wiss. Mitarbeiter an der Professur fuer Graphische Datenverarbeitung SnailMail: Bauhaus-Universitaet Weimar, Fak. Medien, D99421 Weimar Location: D99423 Weimar Bauhausstr. 11 Zimmer 006 Fon: ++49-(0)3643-58-3780 Fax : -3701 e-mail: mailto:tob...@me... ---------------------------------------------------------------------- |
From: Bret C. <bre...@ya...> - 2004-08-03 22:48:54
|
Christoph, I did some testing of tologx in TM4J 0.9.6 & TMNav 0.2.8. I've attached the results (TologTestResults.txt). For TMNav, I tested variations of a Tolog query passed to the Tolog Abstractor and then represented by various renderers. One problem for both applications is that queries don't seem to work when they are forced to iterate over more than one type of association. Another problem, specific to TMNav, is that the Hypergraph & Touchgraph Renders don't seem to bind the variables (such as $ASSOCIATION & $ROLE) to their values - Each are displayed separately. And the Table Renderer even fails to show the values. Even if you succeed in fixing these problems, I think I will have to write my own abstractor, because I need to display results in a Hypergraph or Touchgraph, and I don't find the way the Tolog Abstractor's table-oriented model are displayed by those renderers to be intuitive. FYI, I've enclosed a discussion of this issue, together with some ideas of mine about what to do about it (AbstractorReqs.txt). If you can either make use of these ideas for your own work or comment on them for me, they will have served their purpose -- though, of course, don't feel obligated to do either. Bret __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail |
From: Christoph F. <cf...@fo...> - 2004-08-02 21:41:13
|
Hi unfortunately there was a bug in build.xml that prevented the source distribution of tmnav-0.2.8 to function properly. I just released tmnav 0.2.8_1 with a fixed build.xml. Thanks to Bret Cohen for the bug report and sorry to all who stumbled across this. c -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-08-02 21:38:36
|
Hi unfortunately there was a bug in build.xml that prevented the source distribution of tmnav-0.2.8 to function properly. I just released tmnav 0.2.8_1 with a fixed build.xml. Thanks to Bret Cohen for the bug report and sorry to all who stumbled across this. c -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-08-02 21:34:03
|
Puhh. I just started to sweat. Thanks for the clarification. Bye c Am Mo, den 02.08.2004 schrieb Bret Cohen um 23:20: > Christoph, > > In my last message I mistakenly wrote that there is no > longer a place for entering tolog queries in tmnav > 0.2.8. I now see that there is - where there has > always been - accessed from the Window menu. Sorry. > > Bret > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Bret C. <bre...@ya...> - 2004-08-02 21:20:11
|
Christoph, In my last message I mistakenly wrote that there is no longer a place for entering tolog queries in tmnav 0.2.8. I now see that there is - where there has always been - accessed from the Window menu. Sorry. Bret __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: Bret C. <bre...@ya...> - 2004-08-02 21:08:21
|
Christoph, I tried copying the configuration files, and that works. (I see there is no longer a panel for entering tolog queries - a slight inconvenience for purposes of testing, but I probably won't be using such a panel in my app. anyway.) Bret --- Christoph Froehlich <cf...@fo...> wrote: > Hi Bret > > this is bad !! Sorry for this. > Good is, that I was able to reproduce. I 'll try to > check in an updated > version soon. > > > If you don't want wait, I see two options: > > Either download the binary version. It seems, at > first glance, that the > bug only occurs with the src-distribution. > > Or copy manually the files > TMNAV_HOME/src/org/tm4j/tmnav/app/*.xml > (should be three files: tmnav.xml, > panckouckecontext.xml and > tmnav-defaults.xml) to the .tmnav-directory which is > located in your > user-directory. Then restart tmnav. This worked for > me. The bug seems to > be located in the copy-routine, so if you do the > work manually, tmnav > should start. > > Sorry again for the inconvienience, Bret. > > Bye > c > > > > > > Am Mo, den 02.08.2004 schrieb Bret Cohen um 21:50: > > Hi Christoph, > > > > I tried tmnav-0.2.8-src on my Windows XP notebook. > > When I ran the runtmnav.bat, TMNav failed to > start. > > After a few tries I got a message that pointed me > to > > the configuration files in the .tmnav directory > > (tmnav.xml, tmnav-defaults.xml, > panckouckecontext.xml) > > All three files were created as empty files. Upon > > repeating the process, I got the same results. > > > > Bret > > --- Christoph Froehlich <cf...@fo...> wrote: > > > > > Hi Bret > > > > > > Some of the issues you are describing should be > > > fixed in TMNav-0.2.8, > > > but others might not. > > > > > > The Tolog-integration of tmnav is rather a hack, > but > > > I would like to > > > improve it. If your time allows to give me > feedback > > > about the behavior > > > of 0.2.8, this would be most appreciated. > > > > > > Bye > > > c > > > > > > > > > > > > Am Do, den 29.07.2004 schrieb Bret Cohen um > 22:56: > > > > Christoph (Armin?...), > > > > > > > > Here's an old email I never got around to > sending > > > you > > > > that specifies some of my problems getting > tolog > > > to > > > > work with the Tolog Panel in TMNav: > > > > > > > > I'm using tmnav 0.2.7a1-src, as you earlier > > > suggested > > > > to me, and queries entered in the > TologFramePanel > > > > either work inconsistantly or not at all. When > I > > > try > > > > entering queries about instance_of I get > various > > > > responses to the query (sometimes to the very > same > > > > query and to queries that work with the TM4J > > > base) > > > > including: no response at all, a result set > (and > > > > result set icon), a result set icon only, a > result > > > set > > > > icon with the number 1. In particular, I'm > unable > > > to > > > > develop a successful query with the other > built-in > > > > predicates listed in the Ontopia Tolog > Tutorial > > > > > > > > > > (http://www.ontopia.net/omnigator/docs/query/tutorial.html#d0e1044, > > > > section 2.5) such as association($ASSOC) & > > > > association-role($ASSOC, $ROLE1), for example: > > > > select $ASSOC from > > > > role-player($ROLE1, x), > > > > association-role($ASSOC, $ROLE1), > > > > association-role($ASSOC, $ROLE2), > > > > role-player($ROLE2, y)? > > > > It appears that I'm also unsuccessful when I > use > > > all > > > > variables (such as $ASSOC) in a query, rather > than > > > a > > > > mix of variables and topic references. > > > > > > > > I'm using my own topic map XTM file & could > send a > > > > copy if necessary. > > > > > > > > Bret > > > > > > > > --- Bret Cohen <bre...@ya...> > wrote: > > > > > > > > > Armin, > > > > > > > > > > I'm not speaking from experience here, and > this > > > > > suggestion is probably way off track, but > have > > > you > > > > > checked the section on Property Change > Listeners > > > > > > > > > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> in > > > > > the TM4J Developer's Guide? > > > > > > > > > > I'm going to be using tolog myself soon, so > I'll > > > > > probably be falling into the same sets of > > > problems. > > > > > > > > > > By the way, I'm curious if you or Christoph > know > > > > > about > > > > > how to discover which versions of TM4J and > TMNav > > > use > > > > > which versions of Tolog. For example, I did > some > > > > > preliminary testing of TMNav 0.2.7a1-src, > and it > > > > > doesn't seem like Tolog 1.0 and it's > built-in > > > > > predicates are supported. (I don't have my > test > > > code > > > > > easily available however.) Nor does TM4J > > > src-0.9.4 > > > > > (I > > > > > must admit that being a rookie I've never > yet > > > > > mastered > > > > > the use of CVS.) > > > > > > > > > > Bret > > > > > > > > > > > Message: 1 > > > > > > From: "Armin Wagenknecht web.de" > > > > > > <arm...@we...> > > > > > > To: <tm4...@li...> > > > > > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > > > > > Subject: [TM4J-users] tologx-query does > not > > > find a > > > > > > topic in the topicmap > > > > > > > > > > > > This is a multi-part message in MIME > format. > > > > > > > > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > > > > Content-Type: text/plain; > > > > > > charset="iso-8859-1" > > > > > > Content-Transfer-Encoding: > quoted-printable > > > > > > > > > > > > Hello, > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Christoph F. <cf...@fo...> - 2004-08-02 20:35:15
|
Hi Bret this is bad !! Sorry for this. Good is, that I was able to reproduce. I 'll try to check in an updated version soon. If you don't want wait, I see two options: Either download the binary version. It seems, at first glance, that the bug only occurs with the src-distribution. Or copy manually the files TMNAV_HOME/src/org/tm4j/tmnav/app/*.xml (should be three files: tmnav.xml, panckouckecontext.xml and tmnav-defaults.xml) to the .tmnav-directory which is located in your user-directory. Then restart tmnav. This worked for me. The bug seems to be located in the copy-routine, so if you do the work manually, tmnav should start. Sorry again for the inconvienience, Bret. Bye c Am Mo, den 02.08.2004 schrieb Bret Cohen um 21:50: > Hi Christoph, > > I tried tmnav-0.2.8-src on my Windows XP notebook. > When I ran the runtmnav.bat, TMNav failed to start. > After a few tries I got a message that pointed me to > the configuration files in the .tmnav directory > (tmnav.xml, tmnav-defaults.xml, panckouckecontext.xml) > All three files were created as empty files. Upon > repeating the process, I got the same results. > > Bret > --- Christoph Froehlich <cf...@fo...> wrote: > > > Hi Bret > > > > Some of the issues you are describing should be > > fixed in TMNav-0.2.8, > > but others might not. > > > > The Tolog-integration of tmnav is rather a hack, but > > I would like to > > improve it. If your time allows to give me feedback > > about the behavior > > of 0.2.8, this would be most appreciated. > > > > Bye > > c > > > > > > > > Am Do, den 29.07.2004 schrieb Bret Cohen um 22:56: > > > Christoph (Armin?...), > > > > > > Here's an old email I never got around to sending > > you > > > that specifies some of my problems getting tolog > > to > > > work with the Tolog Panel in TMNav: > > > > > > I'm using tmnav 0.2.7a1-src, as you earlier > > suggested > > > to me, and queries entered in the TologFramePanel > > > either work inconsistantly or not at all. When I > > try > > > entering queries about instance_of I get various > > > responses to the query (sometimes to the very same > > > query and to queries that work with the TM4J > > base) > > > including: no response at all, a result set (and > > > result set icon), a result set icon only, a result > > set > > > icon with the number 1. In particular, I'm unable > > to > > > develop a successful query with the other built-in > > > predicates listed in the Ontopia Tolog Tutorial > > > > > > (http://www.ontopia.net/omnigator/docs/query/tutorial.html#d0e1044, > > > section 2.5) such as association($ASSOC) & > > > association-role($ASSOC, $ROLE1), for example: > > > select $ASSOC from > > > role-player($ROLE1, x), > > > association-role($ASSOC, $ROLE1), > > > association-role($ASSOC, $ROLE2), > > > role-player($ROLE2, y)? > > > It appears that I'm also unsuccessful when I use > > all > > > variables (such as $ASSOC) in a query, rather than > > a > > > mix of variables and topic references. > > > > > > I'm using my own topic map XTM file & could send a > > > copy if necessary. > > > > > > Bret > > > > > > --- Bret Cohen <bre...@ya...> wrote: > > > > > > > Armin, > > > > > > > > I'm not speaking from experience here, and this > > > > suggestion is probably way off track, but have > > you > > > > checked the section on Property Change Listeners > > > > > > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> in > > > > the TM4J Developer's Guide? > > > > > > > > I'm going to be using tolog myself soon, so I'll > > > > probably be falling into the same sets of > > problems. > > > > > > > > By the way, I'm curious if you or Christoph know > > > > about > > > > how to discover which versions of TM4J and TMNav > > use > > > > which versions of Tolog. For example, I did some > > > > preliminary testing of TMNav 0.2.7a1-src, and it > > > > doesn't seem like Tolog 1.0 and it's built-in > > > > predicates are supported. (I don't have my test > > code > > > > easily available however.) Nor does TM4J > > src-0.9.4 > > > > (I > > > > must admit that being a rookie I've never yet > > > > mastered > > > > the use of CVS.) > > > > > > > > Bret > > > > > > > > > Message: 1 > > > > > From: "Armin Wagenknecht web.de" > > > > > <arm...@we...> > > > > > To: <tm4...@li...> > > > > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > > > > Subject: [TM4J-users] tologx-query does not > > find a > > > > > topic in the topicmap > > > > > > > > > > This is a multi-part message in MIME format. > > > > > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > > > Content-Type: text/plain; > > > > > charset="iso-8859-1" > > > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > > > Hello, > > > > > > > > > > I use the tologx-package to query my topicmap. > > > > > The topicmap is stored only in memory and is > > > > wirtten > > > > > to an xtm-file on = > > > > > my harddisk during and at the end of the > > session > > > > of > > > > > my application. > > > > > When I load the M > > > > > map and create a new topic with id: test_id , > > an > > > > > directly after this, I = > > > > > try to use this topic in a query, I get an > > error, > > > > > that there does not = > > > > > exist a > > > > > topicmap-object with the subject-indicator: > > > > test_id. > > > > > > > > > > If I reload the map after creating the topic, > > the > > > > id > > > > > is recognized by = > > > > > the query-engine. > > > > > > > > > > How can I get the query-engine to "know" the > > new > > > > > topic immediately after = > > > > > its creation? > > > > > > > > > > I hope somebody can help. > > > > > > > > > > Thanks > > > > > > > > > > Armin Wagenknecht > > > > > TU Darmstadt Germany > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > New and Improved Yahoo! Mail - Send 10MB messages! > > > http://promotions.yahoo.com/new_mail > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by OSTG. Have you > > noticed the changes on > > > Linux.com, ITManagersJournal and NewsForge in the > > past few weeks? Now, > > > one more big change to announce. We are now OSTG- > > Open Source Technology > > > Group. Come see the changes on the new OSTG site. > > www.ostg.com > > > _______________________________________________ > > > Tm4j-users mailing list > > > Tm4...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > -- > > Christoph Froehlich <cf...@fo...> > > > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Bret C. <bre...@ya...> - 2004-08-02 19:50:25
|
Hi Christoph, I tried tmnav-0.2.8-src on my Windows XP notebook. When I ran the runtmnav.bat, TMNav failed to start. After a few tries I got a message that pointed me to the configuration files in the .tmnav directory (tmnav.xml, tmnav-defaults.xml, panckouckecontext.xml) All three files were created as empty files. Upon repeating the process, I got the same results. Bret --- Christoph Froehlich <cf...@fo...> wrote: > Hi Bret > > Some of the issues you are describing should be > fixed in TMNav-0.2.8, > but others might not. > > The Tolog-integration of tmnav is rather a hack, but > I would like to > improve it. If your time allows to give me feedback > about the behavior > of 0.2.8, this would be most appreciated. > > Bye > c > > > > Am Do, den 29.07.2004 schrieb Bret Cohen um 22:56: > > Christoph (Armin?...), > > > > Here's an old email I never got around to sending > you > > that specifies some of my problems getting tolog > to > > work with the Tolog Panel in TMNav: > > > > I'm using tmnav 0.2.7a1-src, as you earlier > suggested > > to me, and queries entered in the TologFramePanel > > either work inconsistantly or not at all. When I > try > > entering queries about instance_of I get various > > responses to the query (sometimes to the very same > > query and to queries that work with the TM4J > base) > > including: no response at all, a result set (and > > result set icon), a result set icon only, a result > set > > icon with the number 1. In particular, I'm unable > to > > develop a successful query with the other built-in > > predicates listed in the Ontopia Tolog Tutorial > > > (http://www.ontopia.net/omnigator/docs/query/tutorial.html#d0e1044, > > section 2.5) such as association($ASSOC) & > > association-role($ASSOC, $ROLE1), for example: > > select $ASSOC from > > role-player($ROLE1, x), > > association-role($ASSOC, $ROLE1), > > association-role($ASSOC, $ROLE2), > > role-player($ROLE2, y)? > > It appears that I'm also unsuccessful when I use > all > > variables (such as $ASSOC) in a query, rather than > a > > mix of variables and topic references. > > > > I'm using my own topic map XTM file & could send a > > copy if necessary. > > > > Bret > > > > --- Bret Cohen <bre...@ya...> wrote: > > > > > Armin, > > > > > > I'm not speaking from experience here, and this > > > suggestion is probably way off track, but have > you > > > checked the section on Property Change Listeners > > > > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> in > > > the TM4J Developer's Guide? > > > > > > I'm going to be using tolog myself soon, so I'll > > > probably be falling into the same sets of > problems. > > > > > > By the way, I'm curious if you or Christoph know > > > about > > > how to discover which versions of TM4J and TMNav > use > > > which versions of Tolog. For example, I did some > > > preliminary testing of TMNav 0.2.7a1-src, and it > > > doesn't seem like Tolog 1.0 and it's built-in > > > predicates are supported. (I don't have my test > code > > > easily available however.) Nor does TM4J > src-0.9.4 > > > (I > > > must admit that being a rookie I've never yet > > > mastered > > > the use of CVS.) > > > > > > Bret > > > > > > > Message: 1 > > > > From: "Armin Wagenknecht web.de" > > > > <arm...@we...> > > > > To: <tm4...@li...> > > > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > > > Subject: [TM4J-users] tologx-query does not > find a > > > > topic in the topicmap > > > > > > > > This is a multi-part message in MIME format. > > > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > > Content-Type: text/plain; > > > > charset="iso-8859-1" > > > > Content-Transfer-Encoding: quoted-printable > > > > > > > > Hello, > > > > > > > > I use the tologx-package to query my topicmap. > > > > The topicmap is stored only in memory and is > > > wirtten > > > > to an xtm-file on = > > > > my harddisk during and at the end of the > session > > > of > > > > my application. > > > > When I load the M > > > > map and create a new topic with id: test_id , > an > > > > directly after this, I = > > > > try to use this topic in a query, I get an > error, > > > > that there does not = > > > > exist a > > > > topicmap-object with the subject-indicator: > > > test_id. > > > > > > > > If I reload the map after creating the topic, > the > > > id > > > > is recognized by = > > > > the query-engine. > > > > > > > > How can I get the query-engine to "know" the > new > > > > topic immediately after = > > > > its creation? > > > > > > > > I hope somebody can help. > > > > > > > > Thanks > > > > > > > > Armin Wagenknecht > > > > TU Darmstadt Germany > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you > noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, > > one more big change to announce. We are now OSTG- > Open Source Technology > > Group. Come see the changes on the new OSTG site. > www.ostg.com > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > -- > Christoph Froehlich <cf...@fo...> > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Bret C. <bre...@ya...> - 2004-07-30 22:40:34
|
Thanks so much Christoph (particularly if yesterday's release of tmnav 0.2.8 was for my sake). I'll try tm4j 0.9.6 & tmnav 0.2.8 (The progress on your end is outpacing my own progress!). I'll let you know how tmnav 0.2.8 is functioning for me. Bret --- Christoph Froehlich <cf...@fo...> wrote: > Am Do, den 29.07.2004 schrieb Bret Cohen um 22:34: > > Armin, > > > > I'm not speaking from experience here, and this > > suggestion is probably way off track, but have you > > checked the section on Property Change Listeners > > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> > in > > the TM4J Developer's Guide? > > > Sounds like a good idea to me. I will check it when > looking into Armins > testproject. > > > I'm going to be using tolog myself soon, so I'll > > probably be falling into the same sets of > problems. > > > > By the way, I'm curious if you or Christoph know > about > > how to discover which versions of TM4J and TMNav > use > > which versions of Tolog. For example, I did some > > preliminary testing of TMNav 0.2.7a1-src, and it > > doesn't seem like Tolog 1.0 and it's built-in > > predicates are supported. (I don't have my test > code > > easily available however.) Nor does TM4J src-0.9.4 > (I > > must admit that being a rookie I've never yet > mastered > > the use of CVS.) > > > Tolog1.0 was introduced since tm4j 0.9.5. It is > implemented in a new > package called tologx, while the old implementation > is still available > in the tolog-package. > > TMNav supports Tolog1.0 since 0.2.8 which I did > release yesterday. > Please give it a try. > > Bye > c > > > > > Bret > > > > > Message: 1 > > > From: "Armin Wagenknecht web.de" > > > <arm...@we...> > > > To: <tm4...@li...> > > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > > Subject: [TM4J-users] tologx-query does not find > a > > > topic in the topicmap > > > > > > This is a multi-part message in MIME format. > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > Content-Type: text/plain; > > > charset="iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > Hello, > > > > > > I use the tologx-package to query my topicmap. > > > The topicmap is stored only in memory and is > wirtten > > > to an xtm-file on = > > > my harddisk during and at the end of the session > of > > > my application. > > > When I load the M > > > map and create a new topic with id: test_id , an > > > directly after this, I = > > > try to use this topic in a query, I get an > error, > > > that there does not = > > > exist a > > > topicmap-object with the subject-indicator: > test_id. > > > > > > If I reload the map after creating the topic, > the id > > > is recognized by = > > > the query-engine. > > > > > > How can I get the query-engine to "know" the new > > > topic immediately after = > > > its creation? > > > > > > I hope somebody can help. > > > > > > Thanks > > > > > > Armin Wagenknecht > > > TU Darmstadt Germany > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > Content-Type: text/html; > > > charset="iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 > > > Transitional//EN"> > > > <HTML><HEAD> > > > <META http-equiv=3DContent-Type > > > content=3D"text/html; = > > > charset=3Diso-8859-1"> > > > <META content=3D"MSHTML 6.00.2800.1226" > > > name=3DGENERATOR> > > > <STYLE></STYLE> > > > </HEAD> > > > <BODY bgColor=3D#ffffff> > > > <DIV><FONT face=3DArial > size=3D2>Hello,</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial size=3D2>I use the > > > tologx-package to query my=20 > > > topicmap.</FONT></DIV> > > > <DIV><FONT face=3DArial size=3D2>The topicmap is > > > stored only in memory = > > > and is=20 > > > wirtten to an xtm-file on my harddisk during and > at > > > the end of the = > > > session of my=20 > > > application.</FONT></DIV> > > > <DIV><FONT face=3DArial size=3D2>When I load the > > > M</FONT></DIV> > > > <DIV><FONT face=3DArial size=3D2>map and create > a > > > new topic with id: = > > > test_id , an=20 > > > directly after this, I try to use this topic in > a > > > query, I get an error, = > > > that=20 > > > there does not exist a</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2>topic</FONT><FONT > > > face=3DArial = > > > size=3D2>map-object with=20 > > > the subject-indicator: test_id.</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial size=3D2>If I reload the > map > > > after creating the = > > > topic, the=20 > > > id is recognized by the > query-engine.</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial size=3D2>How can I get > the > > > query-engine to = > > > "know" the new=20 > > > topic immediately after its > creation?</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial size=3D2>I hope somebody > can > > > help.</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial > size=3D2>Thanks</FONT></DIV> > > > <DIV><FONT face=3DArial > size=3D2></FONT> </DIV> > > > <DIV><FONT face=3DArial size=3D2>Armin > > > Wagenknecht</FONT></DIV> > > > <DIV><FONT face=3DArial size=3D2>TU Darmstadt = > > > Germany</FONT></DIV></BODY></HTML> > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290-- > > > > > > > > > > > > --__--__-- > > > > > > Message: 2 > > > Subject: Re: [TM4J-users] tologx-query does not > find > > > a topic in the topicmap > > > From: Christoph Froehlich <cf...@fo...> > > > To: "Armin Wagenknecht web.de" > > > <arm...@we...> > > > Cc: "tm4...@li..." > > > <tm4...@li...> > > > Date: Wed, 28 Jul 2004 23:54:53 +0200 > > > > > > Hi armin > > > > > > since kal is off for holidays (with no computer) > I > > > will try to have a > === message truncated === __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: <ric...@ya...> - 2004-07-30 10:15:50
|
Hi Christoph, Thanks very much for that, it now works fine. Sometimes, you just look at something too hard and can't see the obvious mistakes. Thanks again. Richard. --- Christoph Froehlich <cf...@fo...> wrote: > Hi richard > > you need to remove the line > TopicMap yeast_tm = tm_provider.createTopicMap(tmLoc); > > This line creates an empty topicmap with base locator tmLoc. > > And the following call to > new SerializedTopicMapSource(insTM, tmLoc); > tries to create another map with the same baselocator. > This triggers the exception. > > bye > c > > > > > Am Fr, den 30.07.2004 schrieb Richard Gregory um 9:21: > > Hi All, > > > > I have the section of code below which is attempting create a new in memory topic map > provider, > > and to open a topic map held in a file system and add it to the provider so that I can make > some > > additions to it. > > > > Properties myProperties = System.getProperties(); > > myProperties.put("tm4j.name.based.merge","false"); > > > > TopicMapProviderFactory providerFactory = new > > org.tm4j.topicmap.memory.TopicMapProviderFactoryImpl(); > > tm_provider = providerFactory.newTopicMapProvider(myProperties); > > > > //Open the existing function topic map > > File inputFile = new File("funcat_tm_from_db.xtm"); > > FileInputStream insTM = new FileInputStream(inputFile); > > Locator tmLoc = tm_provider.getLocatorFactory().createLocator("URI", > > "/home/richard/Documents/topicmaps/funcat_tm.xtm"); > > TopicMap yeast_tm = tm_provider.createTopicMap(tmLoc); > > > > System.out.println("TM baseLocator established"); > > > > TopicMapSource tmSource = new SerializedTopicMapSource(insTM, tmLoc); > > > > System.out.println("Adding topic map to provider"); > > > > TopicMap myTopicMap = tm_provider.addTopicMap(tmSource); > > > > System.out.println("TM added\n"); > > > > The problem i have is that I'm getting the following topicMapProviderException, saying a topic > > with this base locator already exists, and I can't figure out why. Here is my console output: > > > > TM baseLocator established > > Adding topic map to provider > > Exception caught: Provider already contains a topic map with base locator: > > /home/richard/Documents/topicmaps/funcat_tm.xtm > > Provider already contains a topic map with base locator: > > /home/richard/Documents/topicmaps/funcat_tm.xtm > > at > org.tm4j.topicmap.memory.TopicMapProviderImpl.createTopicMap(TopicMapProviderImpl.java:293) > > at org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceSupport.java:67) > > at mips.genre.topicmaps.CreateGenomeFuncTopicMap.run(CreateGenomeFuncTopicMap.java:94) > > at mips.genre.topicmaps.CreateGenomeFuncTopicMap.main(CreateGenomeFuncTopicMap.java:45) > > > > I'm sure it must be something I'm doing wrong, but I can't figure out what. If anyone could > shed > > some light on this I'd be grateful. > > > > Thanks. > > > > Richard. > > > > > > > > > > > > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new > features - even more fun! http://uk.messenger.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > -- > Christoph Froehlich <cf...@fo...> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com |
From: Christoph F. <cf...@fo...> - 2004-07-30 10:08:27
|
Hi richard you need to remove the line TopicMap yeast_tm = tm_provider.createTopicMap(tmLoc); This line creates an empty topicmap with base locator tmLoc. And the following call to new SerializedTopicMapSource(insTM, tmLoc); tries to create another map with the same baselocator. This triggers the exception. bye c Am Fr, den 30.07.2004 schrieb Richard Gregory um 9:21: > Hi All, > > I have the section of code below which is attempting create a new in memory topic map provider, > and to open a topic map held in a file system and add it to the provider so that I can make some > additions to it. > > Properties myProperties = System.getProperties(); > myProperties.put("tm4j.name.based.merge","false"); > > TopicMapProviderFactory providerFactory = new > org.tm4j.topicmap.memory.TopicMapProviderFactoryImpl(); > tm_provider = providerFactory.newTopicMapProvider(myProperties); > > //Open the existing function topic map > File inputFile = new File("funcat_tm_from_db.xtm"); > FileInputStream insTM = new FileInputStream(inputFile); > Locator tmLoc = tm_provider.getLocatorFactory().createLocator("URI", > "/home/richard/Documents/topicmaps/funcat_tm.xtm"); > TopicMap yeast_tm = tm_provider.createTopicMap(tmLoc); > > System.out.println("TM baseLocator established"); > > TopicMapSource tmSource = new SerializedTopicMapSource(insTM, tmLoc); > > System.out.println("Adding topic map to provider"); > > TopicMap myTopicMap = tm_provider.addTopicMap(tmSource); > > System.out.println("TM added\n"); > > The problem i have is that I'm getting the following topicMapProviderException, saying a topic > with this base locator already exists, and I can't figure out why. Here is my console output: > > TM baseLocator established > Adding topic map to provider > Exception caught: Provider already contains a topic map with base locator: > /home/richard/Documents/topicmaps/funcat_tm.xtm > Provider already contains a topic map with base locator: > /home/richard/Documents/topicmaps/funcat_tm.xtm > at org.tm4j.topicmap.memory.TopicMapProviderImpl.createTopicMap(TopicMapProviderImpl.java:293) > at org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceSupport.java:67) > at mips.genre.topicmaps.CreateGenomeFuncTopicMap.run(CreateGenomeFuncTopicMap.java:94) > at mips.genre.topicmaps.CreateGenomeFuncTopicMap.main(CreateGenomeFuncTopicMap.java:45) > > I'm sure it must be something I'm doing wrong, but I can't figure out what. If anyone could shed > some light on this I'd be grateful. > > Thanks. > > Richard. > > > > > > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-07-30 09:37:29
|
Hi Armin, thanks for the testapp that really helped to track down the problem. Fortunately it was not a bug in tm4j but a simple missing '#' while creating the Locator. Instead of: Locator lo = tm.getProvider().getLocatorFactory().createLocator( "URI", "testID"); create the Locator relatively: Locator lo = tm.getProvider().getLocatorFactory().createLocator( "URI", "#testID"); This works for me. bye c Am Do, den 29.07.2004 schrieb Armin Wagenknecht web.de um 12:23: > Hello Christoph, > > I attached a test-project. I tried to keep it totally simple. You can run it > if you add the tm4j0.9.6 version with its libraries to the project. > You have to put the file test.xtm in the default-directory of the project. > The xtm-file only consists of one topic which serves as topic-type for the > topic which will be created. > After the creation of the topic I query with the tolog-statement > "instance-of($INSTANCE, $TYPE)". > > Normally the result should be a the topictype-topic, but I get an error, > that a topic with source-locator #testID > does not exist. > If I save the topicmap and restart the application, the new topic is found > and I get a result of the query. > > Hope this helps to find the error. > > Cheers, > > Armin > ----- Original Message ----- > From: "Christoph Froehlich" <cf...@fo...> > To: "Armin Wagenknecht web.de" <arm...@we...> > Cc: <tm4...@li...> > Sent: Wednesday, July 28, 2004 11:54 PM > Subject: Re: [TM4J-users] tologx-query does not find a topic in the topicmap > > > > Hi armin > > > > since kal is off for holidays (with no computer) I will try to have a > > look at this, though I have no experience with the tologx package. > > Therefor it would be really helpful for me, if you could post a code > > fragment (or much better a unit test), that I can use to debug things. > > > > My first guess is that some index that is used by the tolog system is > > not updated automatically when you're creating a new topic. If someone > > on the list has other presumptions please contribute!! Any suspicion is > > most welcome. > > > > Bye > > c > > > > Am Mi, den 28.07.2004 schrieb Armin Wagenknecht web.de um 23:09: > > > Hello, > > > > > > I use the tologx-package to query my topicmap. > > > The topicmap is stored only in memory and is wirtten to an xtm-file on > > > my harddisk during and at the end of the session of my application. > > > When I load the M > > > map and create a new topic with id: test_id , an directly after this, > > > I try to use this topic in a query, I get an error, that there does > > > not exist a > > > topicmap-object with the subject-indicator: test_id. > > > > > > If I reload the map after creating the topic, the id is recognized by > > > the query-engine. > > > > > > How can I get the query-engine to "know" the new topic immediately > > > after its creation? > > > > > > I hope somebody can help. > > > > > > Thanks > > > > > > Armin Wagenknecht > > > TU Darmstadt Germany > > -- > > Christoph Froehlich <cf...@fo...> > > -- Christoph Froehlich <cf...@fo...> |
From: <ric...@ya...> - 2004-07-30 07:22:04
|
Hi All, I have the section of code below which is attempting create a new in memory topic map provider, and to open a topic map held in a file system and add it to the provider so that I can make some additions to it. Properties myProperties = System.getProperties(); myProperties.put("tm4j.name.based.merge","false"); TopicMapProviderFactory providerFactory = new org.tm4j.topicmap.memory.TopicMapProviderFactoryImpl(); tm_provider = providerFactory.newTopicMapProvider(myProperties); //Open the existing function topic map File inputFile = new File("funcat_tm_from_db.xtm"); FileInputStream insTM = new FileInputStream(inputFile); Locator tmLoc = tm_provider.getLocatorFactory().createLocator("URI", "/home/richard/Documents/topicmaps/funcat_tm.xtm"); TopicMap yeast_tm = tm_provider.createTopicMap(tmLoc); System.out.println("TM baseLocator established"); TopicMapSource tmSource = new SerializedTopicMapSource(insTM, tmLoc); System.out.println("Adding topic map to provider"); TopicMap myTopicMap = tm_provider.addTopicMap(tmSource); System.out.println("TM added\n"); The problem i have is that I'm getting the following topicMapProviderException, saying a topic with this base locator already exists, and I can't figure out why. Here is my console output: TM baseLocator established Adding topic map to provider Exception caught: Provider already contains a topic map with base locator: /home/richard/Documents/topicmaps/funcat_tm.xtm Provider already contains a topic map with base locator: /home/richard/Documents/topicmaps/funcat_tm.xtm at org.tm4j.topicmap.memory.TopicMapProviderImpl.createTopicMap(TopicMapProviderImpl.java:293) at org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceSupport.java:67) at mips.genre.topicmaps.CreateGenomeFuncTopicMap.run(CreateGenomeFuncTopicMap.java:94) at mips.genre.topicmaps.CreateGenomeFuncTopicMap.main(CreateGenomeFuncTopicMap.java:45) I'm sure it must be something I'm doing wrong, but I can't figure out what. If anyone could shed some light on this I'd be grateful. Thanks. Richard. ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com |
From: Christoph F. <cf...@fo...> - 2004-07-30 07:00:47
|
Hi Bret Some of the issues you are describing should be fixed in TMNav-0.2.8, but others might not. The Tolog-integration of tmnav is rather a hack, but I would like to improve it. If your time allows to give me feedback about the behavior of 0.2.8, this would be most appreciated. Bye c Am Do, den 29.07.2004 schrieb Bret Cohen um 22:56: > Christoph (Armin?...), > > Here's an old email I never got around to sending you > that specifies some of my problems getting tolog to > work with the Tolog Panel in TMNav: > > I'm using tmnav 0.2.7a1-src, as you earlier suggested > to me, and queries entered in the TologFramePanel > either work inconsistantly or not at all. When I try > entering queries about instance_of I get various > responses to the query (sometimes to the very same > query and to queries that work with the TM4J base) > including: no response at all, a result set (and > result set icon), a result set icon only, a result set > icon with the number 1. In particular, I'm unable to > develop a successful query with the other built-in > predicates listed in the Ontopia Tolog Tutorial > (http://www.ontopia.net/omnigator/docs/query/tutorial.html#d0e1044, > section 2.5) such as association($ASSOC) & > association-role($ASSOC, $ROLE1), for example: > select $ASSOC from > role-player($ROLE1, x), > association-role($ASSOC, $ROLE1), > association-role($ASSOC, $ROLE2), > role-player($ROLE2, y)? > It appears that I'm also unsuccessful when I use all > variables (such as $ASSOC) in a query, rather than a > mix of variables and topic references. > > I'm using my own topic map XTM file & could send a > copy if necessary. > > Bret > > --- Bret Cohen <bre...@ya...> wrote: > > > Armin, > > > > I'm not speaking from experience here, and this > > suggestion is probably way off track, but have you > > checked the section on Property Change Listeners > > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> in > > the TM4J Developer's Guide? > > > > I'm going to be using tolog myself soon, so I'll > > probably be falling into the same sets of problems. > > > > By the way, I'm curious if you or Christoph know > > about > > how to discover which versions of TM4J and TMNav use > > which versions of Tolog. For example, I did some > > preliminary testing of TMNav 0.2.7a1-src, and it > > doesn't seem like Tolog 1.0 and it's built-in > > predicates are supported. (I don't have my test code > > easily available however.) Nor does TM4J src-0.9.4 > > (I > > must admit that being a rookie I've never yet > > mastered > > the use of CVS.) > > > > Bret > > > > > Message: 1 > > > From: "Armin Wagenknecht web.de" > > > <arm...@we...> > > > To: <tm4...@li...> > > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > > Subject: [TM4J-users] tologx-query does not find a > > > topic in the topicmap > > > > > > This is a multi-part message in MIME format. > > > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > > Content-Type: text/plain; > > > charset="iso-8859-1" > > > Content-Transfer-Encoding: quoted-printable > > > > > > Hello, > > > > > > I use the tologx-package to query my topicmap. > > > The topicmap is stored only in memory and is > > wirtten > > > to an xtm-file on = > > > my harddisk during and at the end of the session > > of > > > my application. > > > When I load the M > > > map and create a new topic with id: test_id , an > > > directly after this, I = > > > try to use this topic in a query, I get an error, > > > that there does not = > > > exist a > > > topicmap-object with the subject-indicator: > > test_id. > > > > > > If I reload the map after creating the topic, the > > id > > > is recognized by = > > > the query-engine. > > > > > > How can I get the query-engine to "know" the new > > > topic immediately after = > > > its creation? > > > > > > I hope somebody can help. > > > > > > Thanks > > > > > > Armin Wagenknecht > > > TU Darmstadt Germany > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-07-30 06:52:34
|
Am Do, den 29.07.2004 schrieb Bret Cohen um 22:34: > Armin, > > I'm not speaking from experience here, and this > suggestion is probably way off track, but have you > checked the section on Property Change Listeners > <http://tm4j.org/tm4j/docs/devguide/ch05s04.html> in > the TM4J Developer's Guide? > Sounds like a good idea to me. I will check it when looking into Armins testproject. > I'm going to be using tolog myself soon, so I'll > probably be falling into the same sets of problems. > > By the way, I'm curious if you or Christoph know about > how to discover which versions of TM4J and TMNav use > which versions of Tolog. For example, I did some > preliminary testing of TMNav 0.2.7a1-src, and it > doesn't seem like Tolog 1.0 and it's built-in > predicates are supported. (I don't have my test code > easily available however.) Nor does TM4J src-0.9.4 (I > must admit that being a rookie I've never yet mastered > the use of CVS.) > Tolog1.0 was introduced since tm4j 0.9.5. It is implemented in a new package called tologx, while the old implementation is still available in the tolog-package. TMNav supports Tolog1.0 since 0.2.8 which I did release yesterday. Please give it a try. Bye c > Bret > > > Message: 1 > > From: "Armin Wagenknecht web.de" > > <arm...@we...> > > To: <tm4...@li...> > > Date: Wed, 28 Jul 2004 23:09:54 +0200 > > Subject: [TM4J-users] tologx-query does not find a > > topic in the topicmap > > > > This is a multi-part message in MIME format. > > > > ------=_NextPart_000_0054_01C474F7.FE587290 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > Hello, > > > > I use the tologx-package to query my topicmap. > > The topicmap is stored only in memory and is wirtten > > to an xtm-file on = > > my harddisk during and at the end of the session of > > my application. > > When I load the M > > map and create a new topic with id: test_id , an > > directly after this, I = > > try to use this topic in a query, I get an error, > > that there does not = > > exist a > > topicmap-object with the subject-indicator: test_id. > > > > If I reload the map after creating the topic, the id > > is recognized by = > > the query-engine. > > > > How can I get the query-engine to "know" the new > > topic immediately after = > > its creation? > > > > I hope somebody can help. > > > > Thanks > > > > Armin Wagenknecht > > TU Darmstadt Germany > > ------=_NextPart_000_0054_01C474F7.FE587290 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 > > Transitional//EN"> > > <HTML><HEAD> > > <META http-equiv=3DContent-Type > > content=3D"text/html; = > > charset=3Diso-8859-1"> > > <META content=3D"MSHTML 6.00.2800.1226" > > name=3DGENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=3D#ffffff> > > <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>I use the > > tologx-package to query my=20 > > topicmap.</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>The topicmap is > > stored only in memory = > > and is=20 > > wirtten to an xtm-file on my harddisk during and at > > the end of the = > > session of my=20 > > application.</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>When I load the > > M</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>map and create a > > new topic with id: = > > test_id , an=20 > > directly after this, I try to use this topic in a > > query, I get an error, = > > that=20 > > there does not exist a</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>topic</FONT><FONT > > face=3DArial = > > size=3D2>map-object with=20 > > the subject-indicator: test_id.</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>If I reload the map > > after creating the = > > topic, the=20 > > id is recognized by the query-engine.</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>How can I get the > > query-engine to = > > "know" the new=20 > > topic immediately after its creation?</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>I hope somebody can > > help.</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > > <DIV><FONT face=3DArial size=3D2>Armin > > Wagenknecht</FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>TU Darmstadt = > > Germany</FONT></DIV></BODY></HTML> > > > > ------=_NextPart_000_0054_01C474F7.FE587290-- > > > > > > > > --__--__-- > > > > Message: 2 > > Subject: Re: [TM4J-users] tologx-query does not find > > a topic in the topicmap > > From: Christoph Froehlich <cf...@fo...> > > To: "Armin Wagenknecht web.de" > > <arm...@we...> > > Cc: "tm4...@li..." > > <tm4...@li...> > > Date: Wed, 28 Jul 2004 23:54:53 +0200 > > > > Hi armin > > > > since kal is off for holidays (with no computer) I > > will try to have a > > look at this, though I have no experience with the > > tologx package. > > Therefor it would be really helpful for me, if you > > could post a code > > fragment (or much better a unit test), that I can > > use to debug things. > > > > My first guess is that some index that is used by > > the tolog system is > > not updated automatically when you're creating a new > > topic. If someone > > on the list has other presumptions please > > contribute!! Any suspicion is > > most welcome. > > > > Bye > > c > > > > Am Mi, den 28.07.2004 schrieb Armin Wagenknecht > > web.de um 23:09: > > > Hello, > > > > > > I use the tologx-package to query my topicmap. > > > The topicmap is stored only in memory and is > > wirtten to an xtm-file on > > > my harddisk during and at the end of the session > > of my application. > > > When I load the M > > > map and create a new topic with id: test_id , an > > directly after this, > > > I try to use this topic in a query, I get an > > error, that there does > > > not exist a > > > topicmap-object with the subject-indicator: > > test_id. > > > > > > If I reload the map after creating the topic, the > > id is recognized by > > > the query-engine. > > > > > > How can I get the query-engine to "know" the new > > topic immediately > > > after its creation? > > > > > > I hope somebody can help. > > > > > > Thanks > > > === message truncated === > > > > > _______________________________ > Do you Yahoo!? > Express yourself with Y! Messenger! Free. Download now. > http://messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |