From: Dicheva, D. <dic...@ws...> - 2008-05-16 18:27:33
|
Lars, Thank you so much! All the best, Darina > -----Original Message----- > From: Lars Heuer [mailto:he...@se...] > Sent: Friday, May 16, 2008 2:25 PM > To: Dicheva, Darina > Cc: tm4...@li... > Subject: Re: [TM4J-users] Problem with removeSubjectLocator(l) > > Hi Darina, > > [...] > > question is, what is the smallest part containing the change that I can > > compile independently in a jar and add it to the other TM4J/TMAPI jars? > > BTW, here is the coloured change set: > <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPI To > picImpl.java?r1=1.23&r2=1.23.2.1&pathrev=TM4J_1_x> > and here the patch: > <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPI To > picImpl.java?r1=1.23&r2=1.23.2.1&view=patch&pathrev=TM4J_1_x> > > HTH, > Lars > -- > Semagia > <http://www.semagia.com> > |
From: Dicheva, D. <dic...@ws...> - 2008-06-07 20:17:29
|
Hi Lars and All, I have a new problem :-( I discovered that if I delete a topic with a certain name and after that try to create a topic with the same name I cannot (see the trace below). The exception is on the line: t.createTopicName(topicName, null); (I want the name to be unconstrained) I also tried: t.createTopicName(topicName, new HashSet()); I checked: t is not null; and the topicName ( tested with 't2') is in the TopicNamesIndex before the deletion of the topic name and not after that (so everything looks normal). Below is the code I used to test the deletion of the topic name when deleting a topic, and the result (originally the removing of the scoping topics was not present): TopicNamesIndex tni = UNames.getTopicNamesIndex(UTopicMaps.topicMap); System.out.println("tni before reindex"); Iterator i = tni.getTopicNamesByValue("t2").iterator(); while (i.hasNext()) System.out.println(i.next()); Iterator in = t.getTopicNames().iterator(); while (in.hasNext()){ TopicName bn = (TopicName) in.next(); Iterator itScope = bn.getScope().iterator(); while (itScope.hasNext()) { bn.removeScopingTopic((Topic)itScope.next()); } bn.remove(); } tni.reindex(); System.out.println("tni after reindex"); i = tni.getTopicNamesByValue("t2").iterator(); while (i.hasNext()) System.out.println(i.next()); System.out.println("deleted topic: "+t.getObjectId()); .. Here is the result [java] deleting topic: t2 [java] tni before reindex [java] org.tm4j.tmapi.core.TMAPIBaseNameImpl@6cb8439c [java] tni after reindex [java] deleted topic: x1pdm557si-28a I have set: tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true); When I save the topic map after deleting the topic in the xtm file the topic is not present, and yet, when I try to create a new topic with that name, I get the exception. I am really stuck and don't know what else to try. Please help. Thanks, Darina --- [java] java.lang.RuntimeException: java.lang.NullPointerException [java] at org.tm4j.tmapi.core.TMAPITopicImpl.createTopicName(TMAPITopicImpl.java:8 0) [java] at org.tm4l.core.utilities.utilitiesTM.UTopics.returnNewTopic(UTopics.java: 122) [java] at org.tm4l.core.ui.dialogs.DialogCreateNewTopic.actionPerformed(DialogCrea teNewTopic.java:164) [java] at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [java] at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [java] at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [java] at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) .......... [java] Caused by: java.lang.NullPointerException [java] at org.tm4j.topicmap.memory.TopicImpl.addMergedTopic(TopicImpl.java:1053) [java] at org.tm4j.topicmap.memory.TopicMapImpl.scopedNamesChange(TopicMapImpl.jav a:990) [java] at org.tm4j.topicmap.memory.TopicMapImpl.propertyChange(TopicMapImpl.java:1 087) [java] at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) [java] at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) [java] at org.tm4j.topicmap.memory.TopicMapObjectImpl.firePropertyChange(TopicMapO bjectImpl.java:254) [java] at org.tm4j.topicmap.memory.TopicImpl.makeScopedNames(TopicImpl.java:1311) [java] at org.tm4j.topicmap.memory.TopicImpl.propertyChange(TopicImpl.java:1459) [java] at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) [java] at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) [java] at org.tm4j.topicmap.memory.TopicMapObjectImpl.firePropertyChange(TopicMapO bjectImpl.java:254) [java] at org.tm4j.topicmap.memory.BaseNameImpl.setData(BaseNameImpl.java:80) [java] at org.tm4j.tmapi.core.TMAPITopicImpl.createTopicName(TMAPITopicImpl.java:7 3) [java] ... 59 more |
From: Lars H. <he...@se...> - 2008-06-09 13:58:08
|
Hi Darina, [...] > I have set: > tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true); This is a very bad feature, I'd call it a bug. ;) You should, if possible, set that to "false". If that does not help or if that feature is needed: Do you have enabled the "static merging" feature for TM4J? If not, try to enable static merging and post the results here. Best regards, Lars -- Semagia <http://www.semagia.com/> |
From: Dicheva, D. <dic...@ws...> - 2008-06-09 14:34:38
|
Hi Lars, Thanks for replying! > > I have set: > > > tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true); > > This is a very bad feature, I'd call it a bug. ;) > > You should, if possible, set that to "false". Unfortunately, I need to merge topic maps ... > If that does not help or if that feature is needed: Do you > have enabled the "static merging" feature for TM4J? How can I do that? I looked in the TMAPITopicMapSystemFactoryImpl class and didn't see such a feature and I don't know how to directly access TM4J features. Thanks, Darina > > Best regards, > Lars > > -- > Semagia > <http://www.semagia.com/> > |
From: Lars H. <he...@se...> - 2008-06-09 14:57:28
|
Hi Darina, [...] >> tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true); >> >> This is a very bad feature, I'd call it a bug. ;) >> >> You should, if possible, set that to "false". > > Unfortunately, I need to merge topic maps ... Well, just to ensure that we're talking about the same thing here: That feature is not needed if you want to merge topic maps. This feature is needed if you want that topic A with the name "Darina" is merged with topic B which has also the name "Darina". But that feature may cause trouble if you have Paris Hilton and the city Paris in one map. Both topics may have a name "Paris" and so Paris Hilton will be merged with the city. (Generally, it would not be a big problem if Paris Hilton goes away, though. ;)) >> If that does not help or if that feature is needed: Do you >> have enabled the "static merging" feature for TM4J? > > How can I do that? I looked in the TMAPITopicMapSystemFactoryImpl class > and didn't see such a feature and I don't know how to directly access > TM4J features. TopicMapSystemFactory tmSysFac; // Assumed to be there tmSysFac.setProperty("tm4j.static.merge", "true"); Best regards, Lars -- Semagia <http://www.semagia.com/> |
From: Dicheva, D. <dic...@ws...> - 2008-05-17 14:29:04
|
Hi Lars, This solved my problem - everything works now! Thank you so much! All the best, Darina ________________________________ From: tm4...@li... on behalf of Lars Heuer Sent: Fri 5/16/2008 2:24 PM To: Dicheva, Darina Cc: tm4...@li... Subject: Re: [TM4J-users] Problem with removeSubjectLocator(l) Hi Darina, [...] > question is, what is the smallest part containing the change that I can > compile independently in a jar and add it to the other TM4J/TMAPI jars? BTW, here is the coloured change set: <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPITopicImpl.java?r1=1.23&r2=1.23.2.1&pathrev=TM4J_1_x> and here the patch: <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPITopicImpl.java?r1=1.23&r2=1.23.2.1&view=patch&pathrev=TM4J_1_x> HTH, Lars -- Semagia <http://www.semagia.com <http://www.semagia.com/> > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tm4j-users mailing list Tm4...@li... https://lists.sourceforge.net/lists/listinfo/tm4j-users |
From: Dicheva, D. <dic...@ws...> - 2008-05-14 16:29:28
|
Lars, > Seems to be a bug in the TMAPI impl: > <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPI To > picImpl.java?revision=1.23&view=markup> > I'll try to commit the bug fix. I'll use the "TM4J_1_x" branch. So, > you'll have to check out the "TM4J_1_x" branch and compile everything > (at least the TMAPI stuff). Thank you so much! Could you please let me know when I could check it out? All the very best, Darina |
From: Lars H. <he...@se...> - 2008-05-14 16:54:02
|
Hi Darina, [...] >> I'll try to commit the bug fix. I'll use the "TM4J_1_x" branch. So, >> you'll have to check out the "TM4J_1_x" branch and compile everything >> (at least the TMAPI stuff). > Thank you so much! > Could you please let me know when I could check it out? Should be available (sometimes the anonymous CVS is behind the developer's CVS, then you have to try it again later). <http://tm4j.cvs.sourceforge.net/tm4j/tm4j/src/org/tm4j/tmapi/core/TMAPITopicImpl.java?view=markup&pathrev=TM4J_1_x> Best regards, Lars -- Semagia <http://www.semagia.com> |
From: Kal A. <ka...@te...> - 2004-02-12 14:32:56
|
Hi Adriana, You should use the instance-of predicate: select $T from instance-of($T, PredicadoSemantico) ? The instance-of predicate matches instances of subclasses as well as the specified class. Use direct-instance-of($T, PredicadoSemantico) to get only instances of PredicadoSemantico and not of its subclasses. Hope this helps! Cheers, Kal On Thu, 2004-02-12 at 12:53, Adriana wrote: > Hi all, > > I'm trying to do the following query: select $T from > PredicadoSemantico($T) ? > > Pat of the topic map is: > > <topic id="PredicadoSemantico"> > <instanceOf><topicRef xlink:href="#Predicado"/></instanceOf> > <subjectIdentity> > <subjectIndicatorRef > xlink:href="http://www.des.ime.eb.br/~Rosa/v1.0/#psi-predicadoSemantico"/> > </subjectIdentity><baseName id="predicadoSemantico"> > <baseNameString>PredicadoSemantico</baseNameString></baseName> > </topic> > <topic id="fundamenta"> > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > </instanceOf> > <baseName id="x1j6o1bmoq-27"> > <baseNameString>fundamenta</baseNameString> </baseName> > </topic> > <topic id="pre requisito"> > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > </instanceOf> > <baseName id="x1j6o1bmoq-c"> <baseNameString>pre > requisito</baseNameString> </baseName> > </topic> > > <association id="110"> > <instanceOf><topicRef xlink:href="#fundamenta"/></instanceOf> > <member id="x1j6o1bmoq-28"> > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > <topicRef xlink:href="#019"/> > </member> > <member id="x1j6o1bmoq-2a"> > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > <topicRef xlink:href="#021"/> > </member> > </association> > <association id="107"> > <instanceOf><topicRef xlink:href="#pre requisito"/></instanceOf> > <member id="x1j6o1bmoq-d"> > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > <topicRef xlink:href="#002"/> > </member> > <member id="x1j6o1bmoq-f"> > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > <topicRef xlink:href="#008"/> > </member> > </association> > <association id="hierarquia-predicado"> > <instanceOf> <topicRef xlink:href="#x1j6o1bn5p-13"/> </instanceOf> > <member id="x1j6o1bn5p-14"> > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-15"/> > </roleSpec> > <topicRef xlink:href="#Predicado"/> > </member> > <member id="x1j6o1bn5p-16"> > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> </roleSpec> > <topicRef xlink:href="#PredicadoSemantico"/> > </member> > <member id="x1j6o1bn5p-18"> > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > </roleSpec> > <topicRef xlink:href="#Lista"/> > </member> > <member id="x1j6o1bn5p-19"> > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > </roleSpec> > <topicRef xlink:href="#Sacola"/> > </member> > </association> > > <topic id="x1j6o1bn5p-17"> > <subjectIdentity> > <subjectIndicatorRef > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#subclass"/> > </subjectIdentity> > </topic> > <topic id="x1j6o1bn5p-15"> > <subjectIdentity> > <subjectIndicatorRef > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#superclass"/> > </subjectIdentity> > </topic> > > So.. when I search about PredicadoSemantico($T) the answer should be > all associations that are subclass too. > If is impossible, how can I to do this if I don't know all > PredicadoSemantico (fundamenta, pre requisito, ... ) > > Thanks, > Adriana. > -- Kal Ahmed <ka...@te...> techquila |
From: Adriana <adr...@su...> - 2004-02-12 17:57:58
|
Hi, I applied the following query: select $T from instance-of($T, Predicado) ? but it return only topics that is instanceOf = Predicado and the others topics not return - that are instanceOf = PredicadoSemantico, Lista or Sacola. These topics (PredicadoSemantico, Lista and Sacola) are declared as subclass. I think I need also to declare instanceOf=Predicado for all topics that are PredicadoSemantico, Lista and Sacola.... Is there other way? Thanks, Adriana. ----- Original Message ----- From: "Kal Ahmed" <ka...@te...> To: "Adriana" <adr...@su...> Cc: <tm4...@li...> Sent: Thursday, February 12, 2004 11:36 AM Subject: Re: [TM4J-users] tolog > Hi Adriana, > > You should use the instance-of predicate: > > select $T from instance-of($T, PredicadoSemantico) ? > > The instance-of predicate matches instances of subclasses as well as the > specified class. Use direct-instance-of($T, PredicadoSemantico) to get > only instances of PredicadoSemantico and not of its subclasses. > > Hope this helps! > > Cheers, > > Kal > > On Thu, 2004-02-12 at 12:53, Adriana wrote: > > Hi all, > > > > I'm trying to do the following query: select $T from > > PredicadoSemantico($T) ? > > > > Pat of the topic map is: > > > > <topic id="PredicadoSemantico"> > > <instanceOf><topicRef xlink:href="#Predicado"/></instanceOf> > > <subjectIdentity> > > <subjectIndicatorRef > > xlink:href="http://www.des.ime.eb.br/~Rosa/v1.0/#psi-predicadoSemantico"/> > > </subjectIdentity><baseName id="predicadoSemantico"> > > <baseNameString>PredicadoSemantico</baseNameString></baseName> > > </topic> > > <topic id="fundamenta"> > > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > > </instanceOf> > > <baseName id="x1j6o1bmoq-27"> > > <baseNameString>fundamenta</baseNameString> </baseName> > > </topic> > > <topic id="pre requisito"> > > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > > </instanceOf> > > <baseName id="x1j6o1bmoq-c"> <baseNameString>pre > > requisito</baseNameString> </baseName> > > </topic> > > > > <association id="110"> > > <instanceOf><topicRef xlink:href="#fundamenta"/></instanceOf> > > <member id="x1j6o1bmoq-28"> > > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > > <topicRef xlink:href="#019"/> > > </member> > > <member id="x1j6o1bmoq-2a"> > > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > > <topicRef xlink:href="#021"/> > > </member> > > </association> > > <association id="107"> > > <instanceOf><topicRef xlink:href="#pre requisito"/></instanceOf> > > <member id="x1j6o1bmoq-d"> > > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > > <topicRef xlink:href="#002"/> > > </member> > > <member id="x1j6o1bmoq-f"> > > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > > <topicRef xlink:href="#008"/> > > </member> > > </association> > > <association id="hierarquia-predicado"> > > <instanceOf> <topicRef xlink:href="#x1j6o1bn5p-13"/> </instanceOf> > > <member id="x1j6o1bn5p-14"> > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-15"/> > > </roleSpec> > > <topicRef xlink:href="#Predicado"/> > > </member> > > <member id="x1j6o1bn5p-16"> > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> </roleSpec> > > <topicRef xlink:href="#PredicadoSemantico"/> > > </member> > > <member id="x1j6o1bn5p-18"> > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > > </roleSpec> > > <topicRef xlink:href="#Lista"/> > > </member> > > <member id="x1j6o1bn5p-19"> > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > > </roleSpec> > > <topicRef xlink:href="#Sacola"/> > > </member> > > </association> > > > > <topic id="x1j6o1bn5p-17"> > > <subjectIdentity> > > <subjectIndicatorRef > > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#subclass"/> > > </subjectIdentity> > > </topic> > > <topic id="x1j6o1bn5p-15"> > > <subjectIdentity> > > <subjectIndicatorRef > > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#superclass"/> > > </subjectIdentity> > > </topic> > > > > So.. when I search about PredicadoSemantico($T) the answer should be > > all associations that are subclass too. > > If is impossible, how can I to do this if I don't know all > > PredicadoSemantico (fundamenta, pre requisito, ... ) > > > > Thanks, > > Adriana. > > > -- > Kal Ahmed <ka...@te...> > techquila > > > |
From: Kal A. <ka...@te...> - 2004-02-12 20:09:01
|
Hi Adriana, I just realised that the reason that the instance-of isn't working is because your subclass-superclass association types are not recognised properly. You need to use these subjectIndicatorRef values: http://www.topicmaps.org/xtm/1.0/core.xtm#superclass-subclass for the association type and http://www.topicmaps.org/xtm/1.0/core.xtm#superclass and http://www.topicmaps.org/xtm/1.0/core.xtm#superclass for the member role types. These URLs are defined as constants in the class org.tm4j.topicmap.XTMPSI (which might make it easier to write in a program if that is how your topic map is generated). If you still want to use the PSIs you have in the topic map at the moment, that is fine, you are allowed to have multiple subjectIndicatorRef elements. Cheers, Kal On Thu, 2004-02-12 at 18:57, Adriana wrote: > Hi, > > I applied the following query: select $T from instance-of($T, Predicado) ? > but it return only topics that is instanceOf = Predicado > and the others topics not return - that are instanceOf = PredicadoSemantico, > Lista or Sacola. > These topics (PredicadoSemantico, Lista and Sacola) are declared as > subclass. > > I think I need also to declare instanceOf=Predicado for all topics that are > PredicadoSemantico, Lista and Sacola.... > Is there other way? > > Thanks, > Adriana. > > ----- Original Message ----- > From: "Kal Ahmed" <ka...@te...> > To: "Adriana" <adr...@su...> > Cc: <tm4...@li...> > Sent: Thursday, February 12, 2004 11:36 AM > Subject: Re: [TM4J-users] tolog > > > > Hi Adriana, > > > > You should use the instance-of predicate: > > > > select $T from instance-of($T, PredicadoSemantico) ? > > > > The instance-of predicate matches instances of subclasses as well as the > > specified class. Use direct-instance-of($T, PredicadoSemantico) to get > > only instances of PredicadoSemantico and not of its subclasses. > > > > Hope this helps! > > > > Cheers, > > > > Kal > > > > On Thu, 2004-02-12 at 12:53, Adriana wrote: > > > Hi all, > > > > > > I'm trying to do the following query: select $T from > > > PredicadoSemantico($T) ? > > > > > > Pat of the topic map is: > > > > > > <topic id="PredicadoSemantico"> > > > <instanceOf><topicRef xlink:href="#Predicado"/></instanceOf> > > > <subjectIdentity> > > > <subjectIndicatorRef > > > > xlink:href="http://www.des.ime.eb.br/~Rosa/v1.0/#psi-predicadoSemantico"/> > > > </subjectIdentity><baseName id="predicadoSemantico"> > > > <baseNameString>PredicadoSemantico</baseNameString></baseName> > > > </topic> > > > <topic id="fundamenta"> > > > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > > > </instanceOf> > > > <baseName id="x1j6o1bmoq-27"> > > > <baseNameString>fundamenta</baseNameString> </baseName> > > > </topic> > > > <topic id="pre requisito"> > > > <instanceOf> <topicRef xlink:href="#PredicadoSemantico"/> > > > </instanceOf> > > > <baseName id="x1j6o1bmoq-c"> <baseNameString>pre > > > requisito</baseNameString> </baseName> > > > </topic> > > > > > > <association id="110"> > > > <instanceOf><topicRef xlink:href="#fundamenta"/></instanceOf> > > > <member id="x1j6o1bmoq-28"> > > > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > > > <topicRef xlink:href="#019"/> > > > </member> > > > <member id="x1j6o1bmoq-2a"> > > > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > > > <topicRef xlink:href="#021"/> > > > </member> > > > </association> > > > <association id="107"> > > > <instanceOf><topicRef xlink:href="#pre requisito"/></instanceOf> > > > <member id="x1j6o1bmoq-d"> > > > <roleSpec> <topicRef xlink:href="#agrupador"/> </roleSpec> > > > <topicRef xlink:href="#002"/> > > > </member> > > > <member id="x1j6o1bmoq-f"> > > > <roleSpec><topicRef xlink:href="#agrupado"/></roleSpec> > > > <topicRef xlink:href="#008"/> > > > </member> > > > </association> > > > <association id="hierarquia-predicado"> > > > <instanceOf> <topicRef xlink:href="#x1j6o1bn5p-13"/> </instanceOf> > > > <member id="x1j6o1bn5p-14"> > > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-15"/> > > > </roleSpec> > > > <topicRef xlink:href="#Predicado"/> > > > </member> > > > <member id="x1j6o1bn5p-16"> > > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> </roleSpec> > > > <topicRef xlink:href="#PredicadoSemantico"/> > > > </member> > > > <member id="x1j6o1bn5p-18"> > > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > > > </roleSpec> > > > <topicRef xlink:href="#Lista"/> > > > </member> > > > <member id="x1j6o1bn5p-19"> > > > <roleSpec> <topicRef xlink:href="#x1j6o1bn5p-17"/> > > > </roleSpec> > > > <topicRef xlink:href="#Sacola"/> > > > </member> > > > </association> > > > > > > <topic id="x1j6o1bn5p-17"> > > > <subjectIdentity> > > > <subjectIndicatorRef > > > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#subclass"/> > > > </subjectIdentity> > > > </topic> > > > <topic id="x1j6o1bn5p-15"> > > > <subjectIdentity> > > > <subjectIndicatorRef > > > xlink:href="http://www.topicmaps.org/xtm/1.0/psi1.xtm#superclass"/> > > > </subjectIdentity> > > > </topic> > > > > > > So.. when I search about PredicadoSemantico($T) the answer should be > > > all associations that are subclass too. > > > If is impossible, how can I to do this if I don't know all > > > PredicadoSemantico (fundamenta, pre requisito, ... ) > > > > > > Thanks, > > > Adriana. > > > > > -- > > Kal Ahmed <ka...@te...> > > techquila > > > > > > > -- Kal Ahmed <ka...@te...> techquila |