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: Dicheva, D. <dic...@ws...> - 2007-05-01 21:22:13
|
Hello, Can someone help? I am trying to set a Hibernate backend for TM4L but don't understand the concept of baseLocator for a topic map stored in a database. For example, what should be given in the create statement below, if "hibernate.connection.url" has a value of "jdbc:mysql://localhost/tm4l"=20 =09 createTopicMap(java.lang.String baseLocatorReference, java.lang.String baseLocatorNotation) Creates a new topic map with a specified base locator. Many thanks, Darina |
From: Dicheva, D. <dic...@ws...> - 2007-02-16 16:26:32
|
Lars, Thanks so much for the quick fix and reply!! You save me quite a time :-)=20 Darina > -----Original Message----- > From: tm4...@li...=20 > [mailto:tm4...@li...] On Behalf=20 > Of Lars Heuer > Sent: Friday, February 16, 2007 11:26 AM > To: tm4...@li... > Subject: Re: [TM4J-users] Casting TMAPI - TM4J Topic Problem >=20 > [...] > > Please note, that TM4J uses an old TMAPI release, you should use the > [...] >=20 > Ok. If you check out TM4J *now* it ships with the correct TMAPI > version (tmapi-1_0SP1.jar). :) >=20 > Best regards, > Lars > --=20 > http://www.semagia.com > http://www.topicmaps.de/mailinglist German Topic Maps mailinglist >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge &CID=3DDEVDEV > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users >=20 |
From: Lars H. <he...@se...> - 2007-02-16 16:21:34
|
[...] > Please note, that TM4J uses an old TMAPI release, you should use the [...] Ok. If you check out TM4J *now* it ships with the correct TMAPI version (tmapi-1_0SP1.jar). :) Best regards, Lars -- http://www.semagia.com http://www.topicmaps.de/mailinglist German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2007-02-16 16:09:43
|
Hi Darina, > I downloaded the latest version of TM4J 0.9.8 from CVS, but now I have a Well, the CVS version isn't 0.9.8. It's newer. Do not use the binary downloads from TMJ, use the source. :) If you compile the source in from the CVS, you should get Jars in this form: tm4j-<builddate>.jar So, if you compile TM4J from source today, you'll get tm4j-20070215.jar tm4j-tmapi-20070215.jar ... [...] > I copied in the lib folder of my Eclipse TM4L project (I [Result from running TM4L] > java.lang.NoClassDefFoundError: > org/apache/commons/collections/map/LRUMap You need some additional libs in your build path. The error says, that the Apache Commons Collections lib is missing. The missing libs are located in the "tm4j/lib" folder (also in the CVS). You don't need all of them, but you add all of them into the build path if you want to be on the save side. :) Please note, that TM4J uses an old TMAPI release, you should use the TMAPI 1.0 SP1 release (you can find the release here: <http://sf.net/projects/tmapi/>) and remove the "tmapi-1_0.jar" the build path. Best regards, Lars -- http://www.semagia.com http://www.topicmaps.de/mailinglist German Topic Maps mailinglist |
From: Dicheva, D. <dic...@ws...> - 2007-02-16 15:49:43
|
Hi Lars, I downloaded the latest version of TM4J 0.9.8 from CVS, but now I have a different problem that reminds me though the problem I had in the very beginning of swiching to TMAPI and which was due to using differrent versions of TM4J in the complilion of TM4L anf TMAPI (see below).=20 After downloading TM4J, I created a binary which resulted in creating 6 jar files which I copied in the lib folder of my Eclipse TM4L project (I also deleted the 0.9.7 versions of those files from lib): tm4j-0.9.8.jar tm4jadmintool-0.9.8.jar tm4jdbc-0.9.8.jar tm4j-tmapi-0.9.8.jar tm4j-tologx-0.9.8.jar tm4ozone-0.9.8.jar=20 I am not sure was I supposed to do anything else?=20 Thanks, Darina ------------------- Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: org.tm4j.net.LocatorFactoryException: Could not instantiate locator for notation: 'URI' and address string 'file:C:\workspace\itm4l_api\xtm\try.xtm'. Cause: java.lang.reflect.InvocationTargetException. Nested cause: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap at org.tm4j.tmapi.core.TMAPITopicMapSystemImpl.createTopicMap(TMAPITopicMap SystemImpl.java:105) at org.tm4j.tmapi.core.TMAPITopicMapSystemImpl.createTopicMap(TMAPITopicMap SystemImpl.java:89) at tm4l.utilities.utilitiesTM.UTopicMaps.createNewTopicMap(UTopicMaps.java: 118) at tm4l.ui.topicInfoTab.ButtonsPanel.actionPerformed(ButtonsPanel.java:187) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2 169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja va:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonList ener.java:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)=20 > -----Original Message----- > From: tm4...@li...=20 > [mailto:tm4...@li...] On Behalf=20 > Of Lars Heuer > Sent: Thursday, February 15, 2007 10:11 AM > To: Dicheva, Darina > Cc: tm4...@li... > Subject: Re: [TM4J-users] Casting TMAPI - TM4J Topic Problem >=20 > Hi Darina, >=20 > [...] > > Variant var =3D (Variant) it.next(); > > Set s =3D var.getScope(); > > Iterator si =3D s.iterator(); =20 > > if (si.hasNext()){ > > Topic param =3D (Topic)si.next(); //***Exception Here**** > > =20 >=20 > I think, you're using an 'old' version of TM4J. >=20 > While walking through the bug tracker, I've found this bug=20 > report here: > <https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D143 3778&group_id=3D27895&atid=3D391879> >=20 > This is exactly the same issue. > It was fixed in Feb/2006. >=20 > Best regards, > Lars > --=20 > http://www.semagia.com > http://www.topicmaps.de/mailinglist German Topic Maps mailinglist >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge &CID=3DDEVDEV > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users >=20 |
From: Dicheva, D. <dic...@ws...> - 2007-02-15 15:14:26
|
Thanks, Lars!=20 I will download the latest version from CVS. I do appreciate your help. All the best, Darina=20 > -----Original Message----- > From: tm4...@li...=20 > [mailto:tm4...@li...] On Behalf=20 > Of Lars Heuer > Sent: Thursday, February 15, 2007 10:11 AM > To: Dicheva, Darina > Cc: tm4...@li... > Subject: Re: [TM4J-users] Casting TMAPI - TM4J Topic Problem >=20 > Hi Darina, >=20 > [...] > > Variant var =3D (Variant) it.next(); > > Set s =3D var.getScope(); > > Iterator si =3D s.iterator(); =20 > > if (si.hasNext()){ > > Topic param =3D (Topic)si.next(); //***Exception Here**** > > =20 >=20 > I think, you're using an 'old' version of TM4J. >=20 > While walking through the bug tracker, I've found this bug=20 > report here: > <https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D143 3778&group_id=3D27895&atid=3D391879> >=20 > This is exactly the same issue. > It was fixed in Feb/2006. >=20 > Best regards, > Lars > --=20 > http://www.semagia.com > http://www.topicmaps.de/mailinglist German Topic Maps mailinglist >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge &CID=3DDEVDEV > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users >=20 |
From: Lars H. <he...@se...> - 2007-02-15 15:09:15
|
Hi Darina, [...] > Variant var = (Variant) it.next(); > Set s = var.getScope(); > Iterator si = s.iterator(); > if (si.hasNext()){ > Topic param = (Topic)si.next(); //***Exception Here**** > I think, you're using an 'old' version of TM4J. While walking through the bug tracker, I've found this bug report here: <https://sourceforge.net/tracker/index.php?func=detail&aid=1433778&group_id=27895&atid=391879> This is exactly the same issue. It was fixed in Feb/2006. Best regards, Lars -- http://www.semagia.com http://www.topicmaps.de/mailinglist German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2007-02-14 17:33:26
|
Hi Darina, [...] > Well, the variant is TMAPI Variant - here is the value of "var" above: > org.tm4j.tmapi.core.TMAPIVariantImpl@75327fd8 That's strange. I found a bug in the Wrapper class (fixed in the CVS), but it was not related to the variant handling of TM4J. Which TM4J version are you using? Please use the CVS version, the official release is outdated. I've created a simple test case (attached) and everything works as expected, no exceptions. Please check, if the test case works with your TM4J installation. Best regards, Lars -- http://www.semagia.com http://www.topicmaps.de/mailinglist German Topic Maps mailinglist |
From: Dicheva, D. <dic...@ws...> - 2007-02-12 20:01:17
|
Hi Lars, Thanks for your prompt reply. =20 > [...] > > Collection vc =3D bn.getVariants(); > > Iterator it =3D vc.iterator(); > > while (it.hasNext()) { > > Variant var =3D (Variant) it.next(); > > Iterator si =3D var.getScope().iterator(); =20 > > if (si.hasNext()){ > > Topic param =3D (Topic)si.next(); //***Exception Here**** >=20 > > I get: JavaLangClassCastException: > > Org.TM4J.TopicMap.Memory.TopicMapImpl >=20 > Are you sure that your "Variant" is a "org.tmapi.core.Variant" and not > a "org.tm4j.topicmap.Variant"? I've the suspicion that you mix up the > classes from TM4J and TMAPI by mistake. Well, the variant is TMAPI Variant - here is the value of "var" above: org.tm4j.tmapi.core.TMAPIVariantImpl@75327fd8 The name is also an TMAPI name:=20 I divided Iterator si =3D var.getScope().iterator(); into Set s =3D var.getScope(); Iterator si =3D s.iterator(); So, now the picture is: Collection vc =3D bn.getVariants(); Iterator it =3D vc.iterator(); while (it.hasNext()) { Variant var =3D (Variant) it.next(); Set s =3D var.getScope(); Iterator si =3D s.iterator(); =20 if (si.hasNext()){ Topic param =3D (Topic)si.next(); //***Exception Here**** =20 and just before the exception I have: var: org.tm4j.tmapi.core.TMAPIVariantImpl@75327fd8 but in the Set s: HashMap -> Table -> HashMap$Entry -> key [4] =3D org.tm4j.topicmap.memory.TopicImpl@d00f8c41 and the imports are: import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.tmapi.core.Locator; import org.tmapi.core.Topic; import org.tmapi.core.TopicMap; import org.tmapi.core.TopicName; import org.tmapi.core.Variant; import org.tmapi.index.core.TopicNamesIndex; So, I am not using TM4J directly, only TMAPI. Which means that the TMAPI getScope() applied on the TMAPI variant var returns an unmodifiable set of TM4J topics and that is why I am getting the cast exception. > If you need to work with TM4J interfaces *and* TMAPI interfaces, the > class "org.tm4j.tmapi.helpers.Wrapper" may help you to 'wrap' and > 'unwrap' objects into both directions. I don't really want to work with both interfaces, so I only use the TMAPI interface. Any further idea?=20 Thanks, Darina >=20 > Best regards, > Lars > --=20 > http://www.semagia.com > http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist >=20 >=20 |
From: Lars H. <he...@se...> - 2007-02-12 17:30:44
|
Hi Darina, [...] > Collection vc = bn.getVariants(); > Iterator it = vc.iterator(); > while (it.hasNext()) { > Variant var = (Variant) it.next(); > Iterator si = > var.getScope().iterator(); > if (si.hasNext()){ > Topic param = (Topic)si.next(); > //***Exception Here**** > I get: JavaLangClassCastException: > Org.TM4J.TopicMap.Memory.TopicMapImpl Are you sure that your "Variant" is a "org.tmapi.core.Variant" and not a "org.tm4j.topicmap.Variant"? I've the suspicion that you mix up the classes from TM4J and TMAPI by mistake. The name bound to "bn" must be an instance of type "org.tmapi.core.TopicName". If it is an instance of "org.tm4j.topicmap.BaseName", your iterator returns variants of type "org.tm4j.topicmap.Variant" and these instances return objects of type "org.tm4j.topicmap.Topic" if you call "getScope()". Please check if you're working with the TMAPI interfaces only. If you need to work with TM4J interfaces *and* TMAPI interfaces, the class "org.tm4j.tmapi.helpers.Wrapper" may help you to 'wrap' and 'unwrap' objects into both directions. Best regards, Lars -- http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Dicheva, D. <dic...@ws...> - 2007-02-11 17:37:54
|
Hello all, In my effort to migrate TM4L to using TMAPI (which I recently renewed :-) I got to a problem in using the getScope() method of Variant. When I try=20 Collection vc =3D bn.getVariants(); Iterator it =3D vc.iterator(); while (it.hasNext()) { Variant var =3D (Variant) it.next(); Iterator si =3D var.getScope().iterator();=09 if (si.hasNext()){ Topic param =3D (Topic)si.next(); //***Exception Here**** I get: JavaLangClassCastException: Org.TM4J.TopicMap.Memory.TopicMapImpl It looks like the unmodifiable result set of var.getScope() is a set of TM4J topics and there is no way to cast them to TMAPI topics. Any ideas of how to solve this problem? Thanks, Darina |
From: Lars H. <he...@se...> - 2006-07-06 16:00:34
|
Hi Lars, [...] > When I merge the both maps there are two topics > with the topic name ?lars? which is correct, but the problem is that by one > of this topics the the type of the topic and the occurrences are lost. When Strange. TM4J uses the internally the native TM4J merging-implementation and as far as I know there are no known bugs. Can you post an excerpt of the topic map you're merging? I assume that the topic map A looks like // TM A Topic topic1 = tmA.createTopic(); topic1.createTopicName("Lars", null); Topic topic2 = tmA.createTopic(); topic2.createTopicName("Lars", null); // TM B Topic topic3 = tmB.createTopic(); topic3.createTopicName("Lars", null); tmA.mergeIn(tmB); Right? > I use another topic map engine, everything works fine. This only happens > with complex topic maps. So, the above simple topic map merge correctly without any loss of information? > I use TMAPI 1.0 SP 1 and tm4j in a Version from > 18.02.06. I assume that is the latest CVS version? There where several bug fixes of TMAPI implementation for TM4J. But I cannot remember the last check-in. Best regards, Lars -- http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <La...@gm...> - 2006-07-06 09:50:45
|
Hello, I have got some problems while I use the merge Method of TMAPI. I have = two topic maps which I will merge. The first one includes two topics with = the topic name =93lars=94 the second one only one with this name. I set the mergebyTopicName to false. When I merge the both maps there are two = topics with the topic name =93lars=94 which is correct, but the problem is that = by one of this topics the the type of the topic and the occurrences are lost. = When I use another topic map engine, everything works fine. This only happens with complex topic maps. I use TMAPI 1.0 SP 1 and tm4j in a Version from 18.02.06.=20 =20 best regards =20 Lars B=FCnten =20 =20 =20 =20 |
From: Kal A. <kal...@ne...> - 2006-07-04 10:49:43
|
I use tm4j-velocity to create http://www.techquila.com/pepysmap/html/ as static HTML pages. Conal Tuohy developed the excellent site for the New Zealand Electronic = Text Centre, which I believe also uses TM4J for offline conversion of pages. = See http://www.nzetc.org/tm/scholarly/tei-NZETC-About.html There are probably more that I was told about and have forgotten... Cheers Kal > -----Original Message----- > From: tm4...@li... [mailto:tm4j-users- > bo...@li...] On Behalf Of Magnus Folger=F8 > Sent: 04 July 2006 08:49 > To: tm4...@li... > Subject: [TM4J-users] site using tm4j? >=20 > Does anyone have a link to a website using TM4J-technology, where one = can > browse > topic maps etc.? >=20 > Or better; does anyone have the source code, or know where I can find = the > (open) > source code to such a site? >=20 > -- > mvh / best regards > Magnus Folger=F8 >=20 > Using Tomcat but need to do more? Need to support web services, = security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users |
From: <mag...@st...> - 2006-07-04 07:49:06
|
Does anyone have a link to a website using TM4J-technology, where one can browse topic maps etc.? Or better; does anyone have the source code, or know where I can find the (open) source code to such a site? -- mvh / best regards Magnus Folgerø |
From: Kal A. <kal...@ne...> - 2006-06-14 08:04:01
|
Hi, You have two choices when making an occurrence. You can either have a = text occurrence stored inside the topic map using the setValue() method, = or you can instead store a URL locator that points to any kind of = resource (graphic, audio, video as well as external text files) using = the setResource() method. So in your case you should put the binary file somewhere where it can be = accessed (e.g on a webserver), and then store the link to that file as a = locator using setResource(). Hope this helps Kal > -----Original Message----- > From: tm4...@li... [mailto:tm4j-users- > bo...@li...] On Behalf Of ?? > Sent: 14 June 2006 04:35 > To: tm4...@li... > Subject: [TM4J-users] question about the occurrence type >=20 > Hello, > If I want to create the occurrence of a topic using TMAPI, should = the > type > only be text? What about any other media such as graph,audio,video and = so > on? If so, how can I do? > Thanks! > zhouting >=20 |
From: <zt...@sw...> - 2006-06-14 03:34:17
|
Hello, If I want to create the occurrence of a topic using TMAPI, should the t= ype only be text? What about any other media such as graph,audio,video and so on? If so, how can I do? Thanks! zhouting |
From: Lars H. <he...@se...> - 2006-06-12 14:13:12
|
Hi, [...] >> I want to use tolog in TMAPI to do some query about my topic map.How can I >> do it? And is there any reference manual? > The current TM4J tolog implementation uses the TM4J native model (but > you can use the tolog implementation with topic maps created with > TMAPI). > http://tm4j.org/docs/devguide/ch08.html#N11776 Note, that you've to "unwrap" the TMAPI topic map instance. Your code has to look like this: import org.tm4j.tmapi.helpers.Wrapper; // [...] // tmSystem points to your TopicMapSystem instance TopicMap tm = tmSystem.getTopicMap("http://example.org/"); QueryEvaluator qe = QueryEvaluatorFactory.newQueryEvaluator(Wrapper.unwrap(tm)); The Wrapper.unwrap call is important because the QueryEval.Fac. expects an instance of "org.tm4j.topicmap.TopicMap" (the native TM4j model). Best regards, Lars -- http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2006-06-12 13:59:36
|
Hi, > I want to use tolog in TMAPI to do some query about my topic map.How can I > do it? And is there any reference manual? The current TM4J tolog implementation uses the TM4J native model (but you can use the tolog implementation with topic maps created with TMAPI). http://tm4j.org/docs/devguide/ch08.html#N11776 Note, that the tolog implementation is not feature complete, you cannot use all contructs described in the Ontopia Tolog guide. Best regards, Lars -- http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2006-06-12 13:56:06
|
Hi =D6=DC=CD=A4, > Hello, > I have written a program with TMAPI which runs correct in the Java > environment,but when I want to display my topic map in my browser and i= ntend > to use JSP to realize it, it failed. I don't know why and can you help = me?My > JSP code is in the accessory. [...] Your code: Topic topic=3Dnull; topic.createTopicName("chapter",null); Iterator it =3D topic.getTopicNames().iterator(); TopicName tn=3D (TopicName)it.next(); out.println(tn.getValue()); cannot work. Regardless of the environment. The code MUST produce a NullpointerException, because of the first two lines Topic topic =3D null; topic.createTopicName("chapter", null); This should work: Topic topic =3D topicMap.createTopic(); topic.createTopicName("chapter", null); The topicMap must be initialized, of course. Best regards, Lars --=20 http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <zt...@sw...> - 2006-06-10 13:19:03
|
Hello, I want to use tolog in TMAPI to do some query about my topic map.How ca= n I do it? And is there any reference manual? Thanks in advance! zhouting |
From: Lars H. <he...@se...> - 2006-06-08 14:28:41
|
Hi Fabien, > I search the better way to extract the scope of an association or a relation > related to a topic ... > Have you some information about that or some algorithm ? ... what is the > method to do that ? A few additional words regarding your use case would be helpful. What are you trying to do? What do you want to do? :) Best regards, Lars -- http://www.semagia.com http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: fabien b. <fab...@gm...> - 2006-06-07 20:03:52
|
Hello everybody, I search the better way to extract the scope of an association or a relation related to a topic ... Have you some information about that or some algorithm ? ... what is the method to do that ? |
From: <zt...@sw...> - 2006-06-03 12:32:07
|
Hello, I have written a program with TMAPI which runs correct in the Java environment,but when I want to display my topic map in my browser and int= end to use JSP to realize it, it failed. I don't know why and can you help me= ?My JSP code is in the accessory. Thanks! zhouting |
From: Wang, D. <dwa...@ws...> - 2006-05-30 17:30:44
|
Hi Kal, =20 Thanks.. I have solved this problem by sorting the Tologresults Table = item instead of using the default sorting algorithm. It works fine for = me now. One more question is from another bulit-in predicates: /=3D for = example: =20 query =3D select $TOPIC1, $TOPIC2 from role-player($ROLE1,$TOPIC1), association-role($ASSOC,$ROLE1),association-role($ASSOC,$ROLE2), type($ASSOC,"relationshipTypeID"), role-player($ROLE2,$TOPIC2), $TOPIC1 /=3D $TOPIC2 ; In this query, I give an relationship type and find out all realted = role players.=20 Given a RelType : Simliar to =20 =20 Return : Role1 Role2 Beer Wine Wine Beer is there any way to filter out one of these 2 results? Or is it normal = to see the results like this?=20 My wonder is when the results getting really large, it might looks = pretty redundant. I guess the problem might be something regarding to = the concept: bound varialbe. =20 I am really not quite clear about that, could you give some help to = solve my problem. =20 I appreciate.. =20 =20 Dandan =20 =20 =20 =20 ________________________________ From: Kal Ahmed [mailto:ka...@te...] Sent: Mon 5/29/2006 7:39 AM To: Wang, Dandan Cc: tm4...@li...; he...@se... Subject: Re: [TM4J-users] Sorting in Tolog Hi Dandan, The default sorting algorithm is not exactly clever - if you sort a variable that binds to TopicMapObjects (like $TYPE binds to Topics in your query), then the sort order is by the ID property of the topics. Are you seeing the results at least grouped together by type (even if the types are not necessarily in the order you expect) ? Or are you seeing them all mixed up ? Cheers Kal Wang, Dandan wrote: > Hi All, >=20 > I am working on the Tolog Query implementation. My problem is, > the returned tolog resultsets can not be sorted , even if I use the > "order by" clause. > for example: > query =3D "select $TYPE, $VALUE from occurrence(topicID, = $OCC),type($OCC, > $TYPE), value($OCC, $VALUE) order by $TYPE ?"; >=20 > for this query, the returned tologResultSets showing in a JTable will > not be ordered by ascending $TYPE. >=20 > I also did some similar experiments in the TMNav, seems it has the = same > problem. >=20 > I would appreciate if anybody could give me some hints.. >=20 >=20 > Dandan >=20 |