Re: TMQL: Minor issue: Plurals for paths
Benjamin Bock <[email protected]>
| Newsgroups | gmane.text.xml.xtm.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Lars, I wonder why this "minor issue" as you call it upsets you so much in 2011 but it did never upset you in the last years. The axis names are plural since at least N826 [1] and you never complained about that. [1] http://www.itscj.ipsj.or.jp/sc34/open/0826.pdf On Tue, Apr 5, 2011 at 12:04 AM, Lars Heuer <[email protected]> wrote: > [...] > > ... and if we follow the bright "s" stands for "plural" approach: > > How does > > topic/homepage > > result into multiple occurrences while > > topic/homepages > > delivers no result if the topic map consists of: > > > bla > homepage: <http://www.example.oeg/> > . > > ? Why do you want somebody else to explain your (IMHO strange) ideas to you? Writing "How does" you assume this is the case, but it is not. Your first example query would return all occurrences of type homepage while the latter would return nothing. The following queries each return _all_ occurrences of type homepage: topic / homepage topic / occurrences(homepage) The extension which Xuân brought into discussion but which was not discussed by the editors was if topic / occurrence(homepage) should be a shortcut for topic / occurrences(homepage)[0] - Benjamin > > Should the appendix "s" result into multiple occurrences/names while a > path without "s" provide a single result? > > Best regards, > Lars > -- > Semagia > <http://www.semagia.com> > > <https://twitter.com/larsheuer/> Twitter > <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list > <http://tinytim.sourceforge.net/> Open Source Topic Maps engine > <http://mappa.semagia.com/> Mappa - Python Topic Maps engine > _______________________________________________ > topicmapmail mailing list > [email protected] > http://www.infoloom.com/mailman/listinfo/topicmapmail > _______________________________________________ topicmapmail mailing list [email protected] http://www.infoloom.com/mailman/listinfo/topicmapmail