|
From: Sebastian K. <seb...@gm...> - 2008-05-21 13:33:58
|
Dear Giuseppe, I am sorry for getting back to you that late - but we are all still recovering from the DERI Review madness last week :) To answer your questions: 1) did you change nlq_locale.count value? 2) take a look at http://wiki.s3b.corrib.org/NLQ and let me know if it requires any further explanation 3) fixed - there were two issues there: a) a group capture definition in regexp b) missing USING NAMESPACE in SeRQL query 4) At the moment NLQ only allows to define SELECT queries which return a vector of results (not a table). Further more, JeromeDL cannot render (currently) other objects than library resources. An option would be to use MBB to render results. However, at this stage I do not plan (in the near future) to extend NLQ since I do not have time / people / resources to do it. But I do get your point, and I think it is valid. Can you please send a ticket to JIRA with it? Thanks, Sebastian -- seb...@gm... -- GG: 335067, -- Jabber: seb...@gm... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/ On 12 May 2008, at 09:36, Giuseppe Bux wrote: > Hi Sebastian, > please takes into account some additional feedback from my current > work on nlqueries_it translation and, in general, on nlqueries > customization: > > 1) nlq_locale.x=yy: > I enabled the nlq_locale.x=yy for all the available nlqueries_yy > templates (that is: en, it, pl, de, pt_BR, uk), however only the > nlqueries_pt_BR template, when invoked, is able to show, in its own > language, both the NL query options, in the selectabe text area, > and the selected one, in the body of the query window (really, the > last available options, about finding of articles in a given domain, > is still shown in English). This behavior occurs also on http://bleedingedge.jeromedl.org./ > . > > 2) nlq_template.x.regexp.x expressions: > an explanation grammar could be useful to easily allow users to > customize the expressions; > > 3) Show me all publications in the library: > this option still fails, as from my report JWA-533; I tried to > replace the current "Select" query with the old "Construct" one, > but the failure remains: it is not a problem of query but of its > invoking code. > > 4) More general RDF queries: it could be useful to allow users to > set more general rdf queries. I tried the following query about > authors of the published books: > > Select DISTINCT * > FROM {r} marcont:hasCreator {} foaf:name {t}; foaf:mbox {m} > USING NAMESPACE marcont = <http://www.marcont.org/ontology#>, foaf > = <http://xmlns.com/foaf/0.1/> > As from the above query, it could be useful to extract some > information about authors of publications (ex. the email address, > or the biography), but the JDL result concerns only the list of > publications, without the required additional information about the > related authors. > > > Not more to add: I hope the above feedback could soon have suitable > solutions. > > > Cheers, > > Giuseppe > > > ----- Original Message ----- > From: "Giuseppe Bux" <giu...@al...> > To: "Sebastian Kruk" <seb...@gm...> > Cc: "Sebastian Kruk" <seb...@de...>; "Maria Cammarrota" <cam...@or... > >; "Antonio Chieti" <in...@or...>; "JeromeDL Users" <jer...@li... > > > Sent: Thursday, May 08, 2008 6:26 PM > Subject: Re: [JeromeDL-users] nlqueries_it properties > > > Hi Sebastian, > > > > see below inline my answers. > > Moreover: where can I read about the grammar of > > nlq_template.0.regexp.0 ? > > > > > > Thanks, > > Giuseppe > > > > ----- Original Message ----- > > From: "Sebastian Kruk" <seb...@gm...> > > To: "Giuseppe Bux" <giu...@al...> > > Cc: "Sebastian Kruk" <seb...@de...>; "Maria Cammarrota" > > <cam...@or...>; "Antonio Chieti" > <in...@or...>; > > "JeromeDL Users" <jer...@li...> > > Sent: Thursday, May 08, 2008 4:40 PM > > Subject: Re: [JeromeDL-users] nlqueries_it properties > > > > > > Hi Giuseppe, > > > > just from the top of my head: > > > > 1) Did you update nlqueries_rdf.properties > > > > e.g.: > > > > nlq_locale.0=en > > nlq_locale.1=pt_BR > > nlq_locale.2=it > > nlq_locale.count=3 > > > > ? > > yes, I did. > > > > 2) looking at your screenshot - I have noticed that you have > language > > "en " selected and the rest of the page is in Italian - how that > > happened? Maybe this is the cause? > > > > The same is with "it" label selected. > > > > > > Cheers, > > > > S. > > > > -- seb...@gm... > > -- GG: 335067, > > -- Jabber: seb...@gm... > > -- Skype: sebastiankruk > > -- WWW: http://www.sebastiankruk.com/ > > > > > > > > > > On 8 May 2008, at 15:17, Giuseppe Bux wrote: > > > >> Hi Sebastian, > >> I’m working to the Italian translation of the > nlqueries_en.properties. > >> Please read, in the following, the translation example on the > >> nlq.template.0. After the translation I rebuilt the s3b_nlq.jar > and > >> copied it both in the jeromedl/lib and in the tomcat/lib folders. > >> The result is as in http://screencast.com/t/SY7dY7xLH3 : that is, I > >> obtain the translation in the body of the NLQ window but in the > option > >> selection text area the English text still remains. > >> Obviously I updated also the nlqnlqueries_rdf.properties. > >> What is missing/wrong in my translation process? > >> > >> Thank you, > >> Giuseppe > >> > >> > >> # -- template definition (0) ------ > >> nlq_template.0.example_template=Mostra tutte le pubblicazioni > registrate > >> in libreria. > >> nlq_template.0.explain =Mostra tutte le pubblicazioni/ > risorse > >> registrate in questa libreria digitale. > >> nlq_template.0.regexp.0 =Mostra\\s+(?:mi)?\\s*(?:tutte\\s+| > >> ogni\\s+|qualsiasi)?\\s*(?:risorsa[e]?\\s+|pubblicazione[i]?\\s+| > >> articolo[i]?\\s+|(?:qualsiasi)?oggetto)?\\s*in\\s+(?:nella\\s+| > >> questa)?\\s*(digital)?\\s*library[\\s.?!]*$ > >> # nlq_template.0.regexp.0 =Show\\s+(?:me)?\\s*(?:all\\s+| > each\ > >> \s+|every)?\\s*(?:resource[s]?\\s+|publication[s]?\\s+|article[s]? > \\s > >> +|(?:every)?thing)?\\s*in\\s+(?:the\\s+|this)?\\s*(digital)?\ > >> \s*library[\\s.?!]*$ > >> nlq_template.0.regexp.count =1 > >> > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >> Don't miss this year's exciting event. There's still time to > save $100. > >> Use priority code J8TL2D2. > >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > >> JeromeDL-users mailing list > >> Jer...@li... > >> https://lists.sourceforge.net/lists/listinfo/jeromedl-users > > > > __________ NOD32 3084 (20080508) Information __________ > > > > This message was checked by NOD32 antivirus system. > > http://www.eset.com > > > > |