You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(18) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(8) |
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
|
From: Sebastian K. <seb...@gm...> - 2008-12-06 00:01:16
|
What you want to use is WordNetContext.getContext(), instead of
com.kh.jonto.openthesaurus.pl.OTContext.getContext()
With Sesame 2.0 - yeah - we have upgraded to RDF2GO and Sesame2 - but
Jena should work as well (though not tested yet).
S.
On Fri, Dec 5, 2008 at 11:31 PM, Jack Park <jac...@gm...> wrote:
> Hi Sebastian,
>
> Thanks for that reply.
> I was building JOnto outside of eclipse. I suppose I should move it
> inside. I've got it compiling everywhere except that it dies building
> WordNetServlet. Compiling dies down in doProcess() particularly in the
> area where it is trying to generate
> SortedSet<KOSEntryResult> searchResults
>
> The entire block of uncommented code there calls for
> com.kh.jonto.openthesaurus.pl.OTContext which, AFIK, does not exit
> anywhere in the classpath--OpenThesaurus.
>
> So, i've been experimenting with the code given at the wiki:
> List<KOSEntry> results = new ArrayList<KOSEntry>();
> for(ThesaurusContext context : Thesauri.getInstance().getContexts())
> results.addAll(ThesaurusStorage.getInstance().search(context, word));
>
> Which does not work at all. ThesaurusStorage.search() (really
> KOSStorage.search() does not have that signature or return value. The
> closest signature I can find is:
> Map<KOSEntry, Float> search(KOSContext _context, String content, Float
> threshold): the threshold is already calculated, so my new code looks
> like this:
> <a hack>
>
> SortedSet<KOSEntry> results = new TreeSet<KOSEntry>();
> Map<KOSEntry,Float> x = new HashMap<KOSEntry,Float>();
> for(ThesaurusContext context : Thesauri.getInstance().getContexts())
> x.putAll(ThesaurusStorage.getInstance().search(context, word, fthreshold ));
>
> results.addAll(x.keySet());
>
> request.setAttribute("synsets", results);
>
> Having done all that, I now get a build and installToWebapps. Now to
> drop it into Jetty and see what happens. The wiki says this:
> you need to have Sesame 2.0 repository set up somewhere and connect to
> it through the configuration parameters
>
> Which leaves me with another learning curve.
>
> Comments welcome.
> Thanks
> Jack
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Jonto-users mailing list
> Jon...@li...
> https://lists.sourceforge.net/lists/listinfo/jonto-users
>
--
--
--------------------------------------------
-- Sebastian Ryszard Kruk
-- Lead Researcher, Project Manager
-- Digital Enterprise Research Institute
-- National University of Ireland, Galway
-- mailto: seb...@gm...
-- GG: 335067, Jabber: seb...@gm...
-- Skype: sebastiankruk
-- WWW: http://www.sebastiankruk.com/
-- mobile (IRL): +353 85 7126591
-- VoIP (PL): +48 52 5110114
--------------------------------------------
|
|
From: Jack P. <jac...@gm...> - 2008-12-05 23:31:58
|
Hi Sebastian,
Thanks for that reply.
I was building JOnto outside of eclipse. I suppose I should move it
inside. I've got it compiling everywhere except that it dies building
WordNetServlet. Compiling dies down in doProcess() particularly in the
area where it is trying to generate
SortedSet<KOSEntryResult> searchResults
The entire block of uncommented code there calls for
com.kh.jonto.openthesaurus.pl.OTContext which, AFIK, does not exit
anywhere in the classpath--OpenThesaurus.
So, i've been experimenting with the code given at the wiki:
List<KOSEntry> results = new ArrayList<KOSEntry>();
for(ThesaurusContext context : Thesauri.getInstance().getContexts())
results.addAll(ThesaurusStorage.getInstance().search(context, word));
Which does not work at all. ThesaurusStorage.search() (really
KOSStorage.search() does not have that signature or return value. The
closest signature I can find is:
Map<KOSEntry, Float> search(KOSContext _context, String content, Float
threshold): the threshold is already calculated, so my new code looks
like this:
<a hack>
SortedSet<KOSEntry> results = new TreeSet<KOSEntry>();
Map<KOSEntry,Float> x = new HashMap<KOSEntry,Float>();
for(ThesaurusContext context : Thesauri.getInstance().getContexts())
x.putAll(ThesaurusStorage.getInstance().search(context, word, fthreshold ));
results.addAll(x.keySet());
request.setAttribute("synsets", results);
Having done all that, I now get a build and installToWebapps. Now to
drop it into Jetty and see what happens. The wiki says this:
you need to have Sesame 2.0 repository set up somewhere and connect to
it through the configuration parameters
Which leaves me with another learning curve.
Comments welcome.
Thanks
Jack
|
|
From: Sebastian K. <seb...@gm...> - 2008-12-05 21:22:47
|
Hi Jack, nice to hear from you again. Any references to openthesaurus can be easily removed - they should not appear there in the first place. I added you to jon...@li... for future reference. The issue with JOnto_base vs base is caused by the fact we compile everything on project checkout with Eclipse. You can easily fix that by changing prefix info in the beginning of the build.xml file. Good luck. Sebastian On Fri, Dec 5, 2008 at 9:14 PM, Jack Park <jac...@us...> wrote: > > Message body follows: > > First problem: a couple of the build files call for > "JOnto_base/lib" which should read "base/lib" > > Another build file asks for thesaurus, which does not exist. > I thought it meant "wordnet" and changed it thus. > Unfortunately, WordNetServlet is asking for > com.kh.jonto.openthesaurus.pl.OTContext > which does not exist anywhere in the svn distribution so far > as I can tell. It would appear that I must comment that out > and add back the import to JOntoWord and SynsetWord and > uncomment the code below that. > > I see that I am not allowed to log into the email list to > talk about this. > > What do I lose by changing that code? And, how are others > getting builds on JOnto, or is it now a deprecated project? > > Many thanks for your response. > Jack > > -- > This message has been sent to you, a registered SourceForge.net user, > by another site user, through the SourceForge.net site. This message > has been delivered to your SourceForge.net mail alias. You may reply > to this message using the "Reply" feature of your email client, or > using the messaging facility of SourceForge.net at: > https://sourceforge.net/sendmessage.php?touser=15541 > > -- -- -------------------------------------------- -- Sebastian Ryszard Kruk -- Lead Researcher, Project Manager -- Digital Enterprise Research Institute -- National University of Ireland, Galway -- mailto: seb...@gm... -- GG: 335067, Jabber: seb...@gm... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/ -- mobile (IRL): +353 85 7126591 -- VoIP (PL): +48 52 5110114 -------------------------------------------- |
|
From: Sebastian R. K. <seb...@de...> - 2008-08-14 17:52:26
|
Forgot to tell you - skip the tagging module - we need to move it
somewhere else - it does not belong to base+acm+....+webapp family.
Tagging is used to manage tags according to Tom Gruber's ontology
(plus couple of extensions) and delivers REST API for that. If you
need it - I have cc-ed Jakub who wrote it. I did not have time to test
it yet myself though.
webapp-frext (as the wiki page says) is the module which was created
to remove dependency on the FOAFRealm project from webapp; I figure
most people do not need that feature - unless you want to use
FOAFRealm in your application (I mean, it can be pretty useful for
managing users)
The trick with - compile-them-all is done by base->rebuildAll btw.
I will add the missing classes directory (I think in base).
Cheers,
S.
On Aug 14, 2008, at 17:39 , Jack Park wrote:
> I am attempting to built it. It appears that it was already built, but
> damned if I can see how. There are still some serious bugs in svn:
> missing /classes directories (build.xml files should be tweaked to
> mkdir). Also, still missing jars, mostly in /tagging.
> Here are my notes:
> /ddc build.xml still has /JOnto_base/lib should be /base/lib
> /dmoz same
> /tagging was borrowed from S3B with a bad line:
> <property name="tomcat" value="${env.CATALINA_HOME}_mmt"/> what is
> "_mmt"?
> jdom.jar was missing
> /tagging wants httpclient.jar and it's in
> /webapp/webcontent/web-inf/lib/ -- not found
> F:\projects\TopicSpaces\jOntoAPACHE\svx2\webapp\build.xml:71: F:
> \projects\TopicS
> paces\jOntoAPACHE\svx2\thesaurus_wn\lib not found.
>
> What's with this \thesaurus_wn\ thing?
>
> What is webapp-frext ?
>
> Here is a build.xml file I made to sit outside and compile all of
> them:
>
> <?xml version="1.0"?>
> <project name="JOnt" default="build">
> <property name="jontoModulesBase" location="."/>
> <target name="build" depends="">
> <ant dir="${jontoModulesBase}/base" inheritAll="false" />
> <ant dir="${jontoModulesBase}/acm" inheritAll="false" />
> <ant dir="${jontoModulesBase}/ddc" inheritAll="false" />
> <ant dir="${jontoModulesBase}/dmoz" inheritAll="false" />
> <ant dir="${jontoModulesBase}/loc" inheritAll="false" />
> <ant dir="${jontoModulesBase}/pkt" inheritAll="false" />
> <ant dir="${jontoModulesBase}/tagging" inheritAll="false" />
> <ant dir="${jontoModulesBase}/udc" inheritAll="false" />
> <ant dir="${jontoModulesBase}/wordnet" inheritAll="false" />
> <ant dir="${jontoModulesBase}/webapp" inheritAll="false" />
> <ant dir="${jontoModulesBase}/webapp-frext"
> inheritAll="false" />
> </target>
> </project>
>
> This file could be extended to copy jars around and install in tomcat,
> then poke tomcat to restart itself.
>
> Cheers
> Jack
>
> On Thu, Aug 14, 2008 at 8:59 AM, Jack Park <jac...@gm...> wrote:
>> So, I'm downloading tomcat 6 now, and doing a fresh svn checkout.
>> What I don't have much experience with is this line:
>> "you need to have Sesame 2.0 repository set up somewhere and connect
>> to it through the configuration parameters (see above) "
>>
>> I have setup Sesame 2 repositories before by downloading projects
>> from
>> them; always end up with missing jar files and other issues; have
>> never been successful. Hope to be soon because I'd like to couple
>> with
>> the new database http://sf.net/projects/bigdata
>>
>> Thoughts?
>> Thanks
>> Jack
>>
>> On Thu, Aug 14, 2008 at 8:47 AM, Sebastian Ryszard Kruk
>> <seb...@de...> wrote:
>>> Hi Jack, all,
>>>
>>> I have managed (I hope) to bring JOnto to much nicer shape now.
>>> Clean checkout and set up using clean Tomcat 6 (see
>>> http://wiki.corrib.org/index.php/JOnto/
>>> 2.0#Installation_Step_by_Step )
>>> works as it should.
>>>
>>> Let me know if you have any issues.
>>>
>>> Good luck with Jetty testing.
>>>
>>> Cheers,
>>>
>>> Sebastian
>>>
>>>
>>> On Aug 13, 2008, at 23:43 , Jack Park wrote:
>>>
>>>> I would really love to think we can find a work around to not need
>>>> tomcat. For many purposes, it's just fine. For others, it's a bit
>>>> much
>>>> in terms of code. I have similar reservations about the Spring
>>>> framework; I'm able to get along without it just fine.
>>>>
>>>> I'm going to guess you will run into many of the same problems I
>>>> did,
>>>> even with tomcat linked in. For instance, the missing foafrealm
>>>> jar; I
>>>> really doubt that comes preinstalled in any version of tomcat. And,
>>>> the link to "openthesaurus" is really suspicious.
>>>>
>>>> There's another thing: the "JOnto_" prefix to classpaths. What's
>>>> that
>>>> all about? I gather that different people were involved with
>>>> different packages in the project: there are a few places where the
>>>> build.xml files could use some cleaning up; no need to
>>>> specifically go
>>>> after the jre jars. In fact, were I dictator, I'd rule that out
>>>> entirely; if you can't make it work without something hidden in the
>>>> bowels of the jre, then it's not reasonable to expect it will run
>>>> under the new open source java platforms.
>>>>
>>>> Nevertheless, I cannot see how any of those issues are in any way
>>>> related to the fact that I cannot boot jontotest.jsp, except
>>>> perhaps
>>>> as follows:
>>>> In that jsp, there is a specific class JOntoContext for which the
>>>> classpath is not declared in the jsp. Using google, I find that
>>>> it is:
>>>> org.corrib.jonto.JOntoContext
>>>>
>>>> However::: I cannot find source for that class in any package in
>>>> the
>>>> svn download. Go figure...
>>>> Also, that JSP is hardwired to a particular online location
>>>> http://www.corrib.org/jonto/pkt#
>>>> which, btw, doesn't exist (according to FF 3).
>>>>
>>>> Just guessing: Huston, we've got a few problems!!!
>>>>
>>>> Many thanks
>>>> Jack
>>>>
>>>>
>>>> On Wed, Aug 13, 2008 at 3:14 PM, Sebastian Ryszard Kruk
>>>> <seb...@de...> wrote:
>>>>> Jack,
>>>>>
>>>>> you did what looks like hell of work trying to fix this.
>>>>> I guess I should check out a clean code myself and try it with
>>>>> tomcat
>>>>> first
>>>>> (so that we know if the sources are complete at least). One of the
>>>>> reasons
>>>>> while the whole process so far could fail is that JOnto needs
>>>>> Sesame 2
>>>>> and
>>>>> RDF2Go installed in tomcat. I will try to find some time this
>>>>> week to
>>>>> write
>>>>> up a short info on where to put what in order to make it work.
>>>>>
>>>>> Stay tuned.
>>>>>
>>>>> And btw thanks for the comments.
>>>>>
>>>>> S.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Aug 13, 2008, at 21:44 , Jack Park wrote:
>>>>>
>>>>>> Offlist:
>>>>>> Indeed, there is in base/build.xml
>>>>>> <fileset dir="${env.CATALINA_HOME}/lib" includes="*.jar"/>
>>>>>> in that build.xml, I commmented out that fileset and changed
>>>>>> the jre
>>>>>> line
>>>>>> to
>>>>>> <fileset dir="${env.JAVA_HOME}/jre/lib/" includes="*.jar"/> and
>>>>>> got a
>>>>>> build
>>>>>> The ant script failed to create a /classes directory
>>>>>> The error message before I fixed the jre points out that in
>>>>>> DecimalTaxonomyContext, this import
>>>>>> import
>>>>>> sun.reflect.generics.reflectiveObjects.NotImplementedException;
>>>>>> leads to a class that might be changed. I'd suggest picking
>>>>>> another
>>>>>> exception
>>>>>>
>>>>>> Made the same jre change in /acm/build.xml and had to change
>>>>>> "JOnto_base" to just "base"
>>>>>>
>>>>>> /ddc missing /classes & /lib
>>>>>> Same build.xml issues
>>>>>>
>>>>>> /dmoz same issues as /ddc
>>>>>>
>>>>>> /loc just needed build.xml fixed
>>>>>>
>>>>>> /pkt same issues as /ddc
>>>>>>
>>>>>> /tagging has the right approach to getting the jre but also has a
>>>>>> "tomcat" directory
>>>>>> I commented out the reference to ${tomcat} in classpath and
>>>>>> failed on
>>>>>> HttpClient in soa TermServletTest which also asks for some
>>>>>> servlet jar
>>>>>> stuff. It may well be that the latest Tomcat includes
>>>>>> HttpClient, but
>>>>>> my 5.0 doesn't. So, I'm adding HttpClient and Servlet.jar to
>>>>>> webapp/lib for the heck of it. Added jdom.jar also--that got a
>>>>>> build.
>>>>>>
>>>>>> /udc needed build.xml tweaks
>>>>>>
>>>>>> /wordnet build.xml needed catalina_home commented out and the
>>>>>> jre fix
>>>>>>
>>>>>> /webapp has lots of problems. It needed /build/classes (had /
>>>>>> build)
>>>>>> It really wants thesaurus_wn/lib -- there is no thesaurus_wn
>>>>>> anywhere
>>>>>> in svn There is a /wordnet, so I substituted that
>>>>>> foafrealm-manage.jar was missing (even in the war file)
>>>>>> It turns out that thesaurus_wn was necessary but does not exist
>>>>>> in svn
>>>>>> because:
>>>>>> [javac]
>>>>>> F:\projects\TopicSpaces\jOntoAPACHE\svx\webapp\src\org\corrib
>>>>>> \jonto\
>>>>>> servlet\WordNetServlet.java:135: package
>>>>>> com.kh.jonto.openthesaurus.pl
>>>>>> does not
>>>>>> exist
>>>>>> Notice this change in the WordNetServlet source around line 135:
>>>>>>
>>>>>>
>>>>>> results
>>>>>> .addAll
>>>>>> (ThesaurusStorage
>>>>>> .getInstance
>>>>>> ().search(com.kh.jonto.openthesaurus.pl.OTContext.getContext(),
>>>>>> "label:"+word+" AND (type:synset OR type:tag)"));
>>>>>> //
>>>>>>
>>>>>> results
>>>>>> .addAll
>>>>>> (ThesaurusStorage
>>>>>> .getInstance().search(WordNetContext.getContext(),
>>>>>> "label:"+word+" AND (type:synset OR type:tag)"));
>>>>>>
>>>>>> Someone commented out a version that used WordNetContext and
>>>>>> asked to
>>>>>> perform a search from openthesaurus. I'm going to change that
>>>>>> back.
>>>>>>
>>>>>> I now get a complete build (it says here).
>>>>>>
>>>>>> Copied all the missing jars and the latest builds over to jetty
>>>>>> and we
>>>>>> still see
>>>>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be
>>>>>> cast to
>>>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail;
>>>>>> at
>>>>>>
>>>>>> org
>>>>>> .apache
>>>>>> .jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java:
>>>>>> 466)
>>>>>> at
>>>>>> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
>>>>>> 317)
>>>>>>
>>>>>> when building the JSP.
>>>>>>
>>>>>> All that to say that it appears one can build the entire system
>>>>>> without reference to anything in the tomcat libraries by simply
>>>>>> adding
>>>>>> to the distribution those libraries that are missing. But, there
>>>>>> remains a JSP compilation issue: Jetty includes the apache jsp
>>>>>> compilers, as you can see in the stack trace.
>>>>>>
>>>>>> I'm guessing that /trunk in svn is still experimental and that
>>>>>> there
>>>>>> are jar files called for in that build that are not yet synched
>>>>>> into
>>>>>> the repository.
>>>>>>
>>>>>> Thanks
>>>>>> Jack
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 13, 2008 at 11:46 AM, Sebastian Ryszard Kruk
>>>>>> <seb...@de...> wrote:
>>>>>>>
>>>>>>> Hi Jack,
>>>>>>>
>>>>>>> a couple of things:
>>>>>>> 1) we have never tested JOnto on anything else than Tomcat
>>>>>>> (first 5.5
>>>>>>> and
>>>>>>> recent versions only Tomcat 6)
>>>>>>> 2) can you try to compile the project yourself? I trust -
>>>>>>> there might
>>>>>>> be
>>>>>>> some references to Tomcat-only libraries.
>>>>>>>
>>>>>>> Please let me know if that help.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Sebastian
>>>>>>>
>>>>>>>
>>>>>>> On Aug 13, 2008, at 18:20 , Jack Park wrote:
>>>>>>>
>>>>>>>> I expanded the latest sf download war file into jetty 6.1.1
>>>>>>>> webapps
>>>>>>>> and loaded localhost:8080/jonto
>>>>>>>> I got the jonto test link (which means that index.jsp must have
>>>>>>>> compiled), which, when clicked, gave me this:
>>>>>>>>
>>>>>>>> [Ljava.lang.Object; cannot be cast to
>>>>>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail;
>>>>>>>>
>>>>>>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be
>>>>>>>> cast to
>>>>>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail;
>>>>>>>> at
>>>>>>>>
>>>>>>>>
>>>>>>>> org
>>>>>>>> .apache
>>>>>>>> .jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java:
>>>>>>>> 466)
>>>>>>>> at
>>>>>>>> org
>>>>>>>> .apache.jasper.compiler.Compiler.generateClass(Compiler.java:
>>>>>>>> 317)
>>>>>>>>
>>>>>>>> Nothing shows up in google about that error, and I don't have
>>>>>>>> much
>>>>>>>> experience debugging JSP. Does that error ring any bells? Did
>>>>>>>> I miss
>>>>>>>> a
>>>>>>>> step?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Jack
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>> win
>>>>>>>> great
>>>>>>>> prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>> anywhere in the
>>>>>>>> world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> JOnto-devel mailing list
>>>>>>>> JOn...@li...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/jonto-devel
>>>>>>>
>>>>>
>>>
>>
|
|
From: Sebastian R. K. <seb...@de...> - 2008-08-14 17:46:48
|
Hmm, The only issue I had with new Sesame was that in order to add a new repository I had to run some command line stuff. Than another thing was to find where are the repositories on Mac and on Linux (http://blog.corrib.org/?p=29 ). New JOnto has been written to support Rdf2Go - so in theory you should be able to use any RDF Storage that provides a plugin for Rdf2Go. I might be wrong - but the only class you would need to modify is JOntoRepository in base. Than you can use e.g., Jena2. However if you will not set up org.corrib.jonto.db.rdf.respository.spec than JOnto will use zero- config Memory repository. I hope that helps. S. On Aug 14, 2008, at 16:59 , Jack Park wrote: > So, I'm downloading tomcat 6 now, and doing a fresh svn checkout. > What I don't have much experience with is this line: > "you need to have Sesame 2.0 repository set up somewhere and connect > to it through the configuration parameters (see above) " > > I have setup Sesame 2 repositories before by downloading projects from > them; always end up with missing jar files and other issues; have > never been successful. Hope to be soon because I'd like to couple with > the new database http://sf.net/projects/bigdata > > Thoughts? > Thanks > Jack > > On Thu, Aug 14, 2008 at 8:47 AM, Sebastian Ryszard Kruk > <seb...@de...> wrote: >> Hi Jack, all, >> >> I have managed (I hope) to bring JOnto to much nicer shape now. >> Clean checkout and set up using clean Tomcat 6 (see >> http://wiki.corrib.org/index.php/JOnto/ >> 2.0#Installation_Step_by_Step ) >> works as it should. >> >> Let me know if you have any issues. >> >> Good luck with Jetty testing. >> >> Cheers, >> >> Sebastian >> >> >> On Aug 13, 2008, at 23:43 , Jack Park wrote: >> >>> I would really love to think we can find a work around to not need >>> tomcat. For many purposes, it's just fine. For others, it's a bit >>> much >>> in terms of code. I have similar reservations about the Spring >>> framework; I'm able to get along without it just fine. >>> >>> I'm going to guess you will run into many of the same problems I >>> did, >>> even with tomcat linked in. For instance, the missing foafrealm >>> jar; I >>> really doubt that comes preinstalled in any version of tomcat. And, >>> the link to "openthesaurus" is really suspicious. >>> >>> There's another thing: the "JOnto_" prefix to classpaths. What's >>> that >>> all about? I gather that different people were involved with >>> different packages in the project: there are a few places where the >>> build.xml files could use some cleaning up; no need to >>> specifically go >>> after the jre jars. In fact, were I dictator, I'd rule that out >>> entirely; if you can't make it work without something hidden in the >>> bowels of the jre, then it's not reasonable to expect it will run >>> under the new open source java platforms. >>> >>> Nevertheless, I cannot see how any of those issues are in any way >>> related to the fact that I cannot boot jontotest.jsp, except perhaps >>> as follows: >>> In that jsp, there is a specific class JOntoContext for which the >>> classpath is not declared in the jsp. Using google, I find that it >>> is: >>> org.corrib.jonto.JOntoContext >>> >>> However::: I cannot find source for that class in any package in the >>> svn download. Go figure... >>> Also, that JSP is hardwired to a particular online location >>> http://www.corrib.org/jonto/pkt# >>> which, btw, doesn't exist (according to FF 3). >>> >>> Just guessing: Huston, we've got a few problems!!! >>> >>> Many thanks >>> Jack >>> >>> >>> On Wed, Aug 13, 2008 at 3:14 PM, Sebastian Ryszard Kruk >>> <seb...@de...> wrote: >>>> Jack, >>>> >>>> you did what looks like hell of work trying to fix this. >>>> I guess I should check out a clean code myself and try it with >>>> tomcat >>>> first >>>> (so that we know if the sources are complete at least). One of the >>>> reasons >>>> while the whole process so far could fail is that JOnto needs >>>> Sesame 2 >>>> and >>>> RDF2Go installed in tomcat. I will try to find some time this >>>> week to >>>> write >>>> up a short info on where to put what in order to make it work. >>>> >>>> Stay tuned. >>>> >>>> And btw thanks for the comments. >>>> >>>> S. >>>> >>>> >>>> >>>> >>>> On Aug 13, 2008, at 21:44 , Jack Park wrote: >>>> >>>>> Offlist: >>>>> Indeed, there is in base/build.xml >>>>> <fileset dir="${env.CATALINA_HOME}/lib" includes="*.jar"/> >>>>> in that build.xml, I commmented out that fileset and changed the >>>>> jre >>>>> line >>>>> to >>>>> <fileset dir="${env.JAVA_HOME}/jre/lib/" includes="*.jar"/> and >>>>> got a >>>>> build >>>>> The ant script failed to create a /classes directory >>>>> The error message before I fixed the jre points out that in >>>>> DecimalTaxonomyContext, this import >>>>> import >>>>> sun.reflect.generics.reflectiveObjects.NotImplementedException; >>>>> leads to a class that might be changed. I'd suggest picking >>>>> another >>>>> exception >>>>> >>>>> Made the same jre change in /acm/build.xml and had to change >>>>> "JOnto_base" to just "base" >>>>> >>>>> /ddc missing /classes & /lib >>>>> Same build.xml issues >>>>> >>>>> /dmoz same issues as /ddc >>>>> >>>>> /loc just needed build.xml fixed >>>>> >>>>> /pkt same issues as /ddc >>>>> >>>>> /tagging has the right approach to getting the jre but also has a >>>>> "tomcat" directory >>>>> I commented out the reference to ${tomcat} in classpath and >>>>> failed on >>>>> HttpClient in soa TermServletTest which also asks for some >>>>> servlet jar >>>>> stuff. It may well be that the latest Tomcat includes >>>>> HttpClient, but >>>>> my 5.0 doesn't. So, I'm adding HttpClient and Servlet.jar to >>>>> webapp/lib for the heck of it. Added jdom.jar also--that got a >>>>> build. >>>>> >>>>> /udc needed build.xml tweaks >>>>> >>>>> /wordnet build.xml needed catalina_home commented out and the >>>>> jre fix >>>>> >>>>> /webapp has lots of problems. It needed /build/classes (had / >>>>> build) >>>>> It really wants thesaurus_wn/lib -- there is no thesaurus_wn >>>>> anywhere >>>>> in svn There is a /wordnet, so I substituted that >>>>> foafrealm-manage.jar was missing (even in the war file) >>>>> It turns out that thesaurus_wn was necessary but does not exist >>>>> in svn >>>>> because: >>>>> [javac] >>>>> F:\projects\TopicSpaces\jOntoAPACHE\svx\webapp\src\org\corrib >>>>> \jonto\ >>>>> servlet\WordNetServlet.java:135: package >>>>> com.kh.jonto.openthesaurus.pl >>>>> does not >>>>> exist >>>>> Notice this change in the WordNetServlet source around line 135: >>>>> >>>>> >>>>> results >>>>> .addAll >>>>> (ThesaurusStorage >>>>> .getInstance >>>>> ().search(com.kh.jonto.openthesaurus.pl.OTContext.getContext(), >>>>> "label:"+word+" AND (type:synset OR type:tag)")); >>>>> // >>>>> >>>>> results >>>>> .addAll >>>>> (ThesaurusStorage >>>>> .getInstance().search(WordNetContext.getContext(), >>>>> "label:"+word+" AND (type:synset OR type:tag)")); >>>>> >>>>> Someone commented out a version that used WordNetContext and >>>>> asked to >>>>> perform a search from openthesaurus. I'm going to change that >>>>> back. >>>>> >>>>> I now get a complete build (it says here). >>>>> >>>>> Copied all the missing jars and the latest builds over to jetty >>>>> and we >>>>> still see >>>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast >>>>> to >>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail; >>>>> at >>>>> >>>>> org >>>>> .apache >>>>> .jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java:466) >>>>> at >>>>> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: >>>>> 317) >>>>> >>>>> when building the JSP. >>>>> >>>>> All that to say that it appears one can build the entire system >>>>> without reference to anything in the tomcat libraries by simply >>>>> adding >>>>> to the distribution those libraries that are missing. But, there >>>>> remains a JSP compilation issue: Jetty includes the apache jsp >>>>> compilers, as you can see in the stack trace. >>>>> >>>>> I'm guessing that /trunk in svn is still experimental and that >>>>> there >>>>> are jar files called for in that build that are not yet synched >>>>> into >>>>> the repository. >>>>> >>>>> Thanks >>>>> Jack >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Aug 13, 2008 at 11:46 AM, Sebastian Ryszard Kruk >>>>> <seb...@de...> wrote: >>>>>> >>>>>> Hi Jack, >>>>>> >>>>>> a couple of things: >>>>>> 1) we have never tested JOnto on anything else than Tomcat >>>>>> (first 5.5 >>>>>> and >>>>>> recent versions only Tomcat 6) >>>>>> 2) can you try to compile the project yourself? I trust - there >>>>>> might >>>>>> be >>>>>> some references to Tomcat-only libraries. >>>>>> >>>>>> Please let me know if that help. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Sebastian >>>>>> >>>>>> >>>>>> On Aug 13, 2008, at 18:20 , Jack Park wrote: >>>>>> >>>>>>> I expanded the latest sf download war file into jetty 6.1.1 >>>>>>> webapps >>>>>>> and loaded localhost:8080/jonto >>>>>>> I got the jonto test link (which means that index.jsp must have >>>>>>> compiled), which, when clicked, gave me this: >>>>>>> >>>>>>> [Ljava.lang.Object; cannot be cast to >>>>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail; >>>>>>> >>>>>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be >>>>>>> cast to >>>>>>> [Lorg.apache.jasper.compiler.JavacErrorDetail; >>>>>>> at >>>>>>> >>>>>>> >>>>>>> org >>>>>>> .apache >>>>>>> .jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java: >>>>>>> 466) >>>>>>> at >>>>>>> org >>>>>>> .apache.jasper.compiler.Compiler.generateClass(Compiler.java: >>>>>>> 317) >>>>>>> >>>>>>> Nothing shows up in google about that error, and I don't have >>>>>>> much >>>>>>> experience debugging JSP. Does that error ring any bells? Did >>>>>>> I miss >>>>>>> a >>>>>>> step? >>>>>>> >>>>>>> Thanks >>>>>>> Jack >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by the Moblin Your Move >>>>>>> Developer's >>>>>>> challenge >>>>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>>>> great >>>>>>> prizes >>>>>>> Grand prize is a trip for two to an Open Source event anywhere >>>>>>> in the >>>>>>> world >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>>> _______________________________________________ >>>>>>> JOnto-devel mailing list >>>>>>> JOn...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/jonto-devel >>>>>> >>>> >> |
|
From: Sebastian R. K. <seb...@de...> - 2008-08-14 16:02:41
|
Hi Jack, all, I have managed (I hope) to bring JOnto to much nicer shape now. Clean checkout and set up using clean Tomcat 6 (see http://wiki.corrib.org/index.php/JOnto/2.0#Installation_Step_by_Step ) works as it should. Let me know if you have any issues. Good luck with Jetty testing. Cheers, Sebastian On Aug 13, 2008, at 23:43 , Jack Park wrote: > I would really love to think we can find a work around to not need > tomcat. For many purposes, it's just fine. For others, it's a bit much > in terms of code. I have similar reservations about the Spring > framework; I'm able to get along without it just fine. > > I'm going to guess you will run into many of the same problems I did, > even with tomcat linked in. For instance, the missing foafrealm jar; I > really doubt that comes preinstalled in any version of tomcat. And, > the link to "openthesaurus" is really suspicious. > > There's another thing: the "JOnto_" prefix to classpaths. What's that > all about? I gather that different people were involved with > different packages in the project: there are a few places where the > build.xml files could use some cleaning up; no need to specifically go > after the jre jars. In fact, were I dictator, I'd rule that out > entirely; if you can't make it work without something hidden in the > bowels of the jre, then it's not reasonable to expect it will run > under the new open source java platforms. > > Nevertheless, I cannot see how any of those issues are in any way > related to the fact that I cannot boot jontotest.jsp, except perhaps > as follows: > In that jsp, there is a specific class JOntoContext for which the > classpath is not declared in the jsp. Using google, I find that it is: > org.corrib.jonto.JOntoContext > > However::: I cannot find source for that class in any package in the > svn download. Go figure... > Also, that JSP is hardwired to a particular online location > http://www.corrib.org/jonto/pkt# > which, btw, doesn't exist (according to FF 3). > > Just guessing: Huston, we've got a few problems!!! > > Many thanks > Jack > > > On Wed, Aug 13, 2008 at 3:14 PM, Sebastian Ryszard Kruk > <seb...@de...> wrote: > > Jack, > > > > you did what looks like hell of work trying to fix this. > > I guess I should check out a clean code myself and try it with > tomcat first > > (so that we know if the sources are complete at least). One of the > reasons > > while the whole process so far could fail is that JOnto needs > Sesame 2 and > > RDF2Go installed in tomcat. I will try to find some time this week > to write > > up a short info on where to put what in order to make it work. > > > > Stay tuned. > > > > And btw thanks for the comments. > > > > S. > > > > > > > > > > On Aug 13, 2008, at 21:44 , Jack Park wrote: > > > >> Offlist: > >> Indeed, there is in base/build.xml > >> <fileset dir="${env.CATALINA_HOME}/lib" includes="*.jar"/> > >> in that build.xml, I commmented out that fileset and changed the > jre line > >> to > >> <fileset dir="${env.JAVA_HOME}/jre/lib/" includes="*.jar"/> and > got a > >> build > >> The ant script failed to create a /classes directory > >> The error message before I fixed the jre points out that in > >> DecimalTaxonomyContext, this import > >> import > sun.reflect.generics.reflectiveObjects.NotImplementedException; > >> leads to a class that might be changed. I'd suggest picking another > >> exception > >> > >> Made the same jre change in /acm/build.xml and had to change > >> "JOnto_base" to just "base" > >> > >> /ddc missing /classes & /lib > >> Same build.xml issues > >> > >> /dmoz same issues as /ddc > >> > >> /loc just needed build.xml fixed > >> > >> /pkt same issues as /ddc > >> > >> /tagging has the right approach to getting the jre but also has a > >> "tomcat" directory > >> I commented out the reference to ${tomcat} in classpath and > failed on > >> HttpClient in soa TermServletTest which also asks for some > servlet jar > >> stuff. It may well be that the latest Tomcat includes > HttpClient, but > >> my 5.0 doesn't. So, I'm adding HttpClient and Servlet.jar to > >> webapp/lib for the heck of it. Added jdom.jar also--that got a > build. > >> > >> /udc needed build.xml tweaks > >> > >> /wordnet build.xml needed catalina_home commented out and the jre > fix > >> > >> /webapp has lots of problems. It needed /build/classes (had /build) > >> It really wants thesaurus_wn/lib -- there is no thesaurus_wn > anywhere > >> in svn There is a /wordnet, so I substituted that > >> foafrealm-manage.jar was missing (even in the war file) > >> It turns out that thesaurus_wn was necessary but does not exist > in svn > >> because: > >> [javac] > >> F:\projects\TopicSpaces\jOntoAPACHE\svx\webapp\src\org\corrib > \jonto\ > >> servlet\WordNetServlet.java:135: package > com.kh.jonto.openthesaurus.pl > >> does not > >> exist > >> Notice this change in the WordNetServlet source around line 135: > >> > >> > results > .addAll > (ThesaurusStorage > .getInstance > ().search(com.kh.jonto.openthesaurus.pl.OTContext.getContext(), > >> "label:"+word+" AND (type:synset OR type:tag)")); > >> // > >> > results > .addAll > (ThesaurusStorage.getInstance().search(WordNetContext.getContext(), > >> "label:"+word+" AND (type:synset OR type:tag)")); > >> > >> Someone commented out a version that used WordNetContext and > asked to > >> perform a search from openthesaurus. I'm going to change that > back. > >> > >> I now get a complete build (it says here). > >> > >> Copied all the missing jars and the latest builds over to jetty > and we > >> still see > >> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to > >> [Lorg.apache.jasper.compiler.JavacErrorDetail; > >> at > >> > org > .apache.jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java: > 466) > >> at > >> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: > 317) > >> > >> when building the JSP. > >> > >> All that to say that it appears one can build the entire system > >> without reference to anything in the tomcat libraries by simply > adding > >> to the distribution those libraries that are missing. But, there > >> remains a JSP compilation issue: Jetty includes the apache jsp > >> compilers, as you can see in the stack trace. > >> > >> I'm guessing that /trunk in svn is still experimental and that > there > >> are jar files called for in that build that are not yet synched > into > >> the repository. > >> > >> Thanks > >> Jack > >> > >> > >> > >> > >> > >> On Wed, Aug 13, 2008 at 11:46 AM, Sebastian Ryszard Kruk > >> <seb...@de...> wrote: > >>> > >>> Hi Jack, > >>> > >>> a couple of things: > >>> 1) we have never tested JOnto on anything else than Tomcat > (first 5.5 and > >>> recent versions only Tomcat 6) > >>> 2) can you try to compile the project yourself? I trust - there > might be > >>> some references to Tomcat-only libraries. > >>> > >>> Please let me know if that help. > >>> > >>> Thanks, > >>> > >>> Sebastian > >>> > >>> > >>> On Aug 13, 2008, at 18:20 , Jack Park wrote: > >>> > >>>> I expanded the latest sf download war file into jetty 6.1.1 > webapps > >>>> and loaded localhost:8080/jonto > >>>> I got the jonto test link (which means that index.jsp must have > >>>> compiled), which, when clicked, gave me this: > >>>> > >>>> [Ljava.lang.Object; cannot be cast to > >>>> [Lorg.apache.jasper.compiler.JavacErrorDetail; > >>>> > >>>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be > cast to > >>>> [Lorg.apache.jasper.compiler.JavacErrorDetail; > >>>> at > >>>> > >>>> > org > .apache.jasper.compiler.JDTJavaCompiler.compile(JDTJavaCompiler.java: > 466) > >>>> at > >>>> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: > 317) > >>>> > >>>> Nothing shows up in google about that error, and I don't have > much > >>>> experience debugging JSP. Does that error ring any bells? Did I > miss a > >>>> step? > >>>> > >>>> Thanks > >>>> Jack > >>>> > >>>> > >>>> > ------------------------------------------------------------------------- > >>>> This SF.Net email is sponsored by the Moblin Your Move > Developer's > >>>> challenge > >>>> Build the coolest Linux based applications with Moblin SDK & > win great > >>>> prizes > >>>> Grand prize is a trip for two to an Open Source event anywhere > in the > >>>> world > >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >>>> _______________________________________________ > >>>> JOnto-devel mailing list > >>>> JOn...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/jonto-devel > >>> > > |
|
From: Sebastian K. <seb...@gm...> - 2008-08-11 18:51:24
|
Begin forwarded message: > From: "Uldis Bojars" <cap...@gm...> > Date: August 11, 2008 19:34:35 IST > To: SIOC-Dev <sio...@go...> > Subject: Keeping your social data in sync (on the desktop) > Reply-To: sio...@go... > > > Title: Keeping your social data in sync with Atomkeep > http://www.cubicgarden.com/blojsom/blog/cubicgarden/design/2008/08/10/Keeping-your-social-data-in-sync-with-Atomkeep.html > > "I confirm that this is my private authorization credentials and I > acknowledge my approval for Atomkeep to facilitate data input and > update for me in this system. ... Wow thats quite a leap of trust, > saying that Ping.FM knows about 9 of my accounts too. > > I'm still looking forward to the day when you can have these types of > services on your desktop or on your own server. Plaxo pay attention, > you should have done this ages ago, you had the data already and you > already have the link to linkedin." > > FOAF and SIOC can enable / play part in such applications. > > Uldis > > [ http://captsolo.net ] > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google > Groups "SIOC-Dev" group. > To post to this group, send email to sio...@go... > To unsubscribe from this group, send email to sio...@go... > For more options, visit this group at http://groups.google.com/group/sioc-dev?hl=en > -~----------~----~----~----~------~----~------~--~--- > |
|
From: Mariusz C. <mar...@de...> - 2008-08-06 14:33:57
|
If you have still some problems with WORDNET, please send us the log file. There shouls be something about where does JeromeDL looks for WORDNET. Mariusz Cygan Research Assistant, DERI National University of Ireland, Galway Sebastian Ryszard Kruk wrote: > On Aug 6, 2008, at 13:00 , Orbis Network wrote: > >> Hi Sebastian, >> and thank you for your answer. >> >> 1) I downloaded Wordnet 2.1 (even if on the Wordnet web site there >> is the version 3.0) and unzipped in my "jeromedl" directory. >> >> 2) Yes, I set up WORDNET_HOME in .bashrc, and after I tested the >> variable with "echo $WORDNET_HOME". Do I need to set up WORDNET_HOME >> in <tomcat dir>/bin/setenv.sh? >> > > No, that should be fine - as long as your Tomcat will run from this > user account where you modified .bashrc > >> Cheers, >> Antonio >> >> >> Il giorno 06/ago/08, alle ore 12:57, Sebastian Ryszard Kruk ha >> scritto: >> >>> Hi Antonio, >>> >>> the problem with WordNet will be resolved with new JeromeDL 2.2 >>> (whatever the number :D) since we will use new JOnto 2.5 that does >>> not require WordNet installation any more. >>> >>> Until than - a couple of questions: >>> >>> 1) Did you install WordNet? If yes - where and what version? I >>> recall we had some issues with 3.0 (due to the JWNL library we >>> depend on) - so you should use 2.1 for the time being. >>> 2) if you installed WordNet in non-default location (which is /usr/ >>> local/WordNet/2.1 - AFAIC) - you need to set up system variable >>> WORDNET_HOME to this new location (e.g., export WORDNET_HOME=..... >>> in TOMCAT/bin/setenv.sh) >>> >>> If the problem remains - please send us logs from both JeromeDL >>> (TOMCAT/logs/catalina.out) and FireBug. >>> >>> Good luck, >>> >>> Sebastian >>> >>> >>> >>> On Aug 6, 2008, at 11:41 , in...@or... wrote: >>> >>>> Hi Sebastian, >>>> as you know, in the frame of the dContentWare project, we ported our >>>> installation of JeromeDL from Windows Vista to Ubuntu Linux. >>>> >>>> We have a problem about running Wordnet 2.1. Jeromedl is unable >>>> to load >>>> the dictionary when searching a specific keyword: in the top right >>>> corner >>>> of the uploading resource page we can read "Loading..." in a red >>>> background, and a "warning info" for Error 500 just next the >>>> Keywords >>>> textbox. >>>> >>>> Could you please help me to solve this trouble? >>>> >>>> Thank you very much, >>>> Antonio Chieti >>>> >> >> --- >> >> Le informazioni contenute nella presente comunicazione e i relativi >> allegati possono essere riservate e sono, comunque, destinate >> esclusivamente alle persone o alla Societ‡ sopraindicati. La >> diffusione, distribuzione e/o copiatura del documento trasmesso da >> parte di qualsiasi soggetto diverso dal destinatario Ë proibita, sia >> ai sensi dellíart. 616 c.p., che ai sensi del D.Lgs. n. 196/2003. Se >> avete ricevuto questo messaggio per errore, vi preghiamo di >> distruggerlo e di informarci immediatamente per telefono al numero >> +393496403063 o inviando un messaggio allíindirizzo e-mail in...@or... >> . >> >> The information in this e-mail (which includes any files transmitted >> with it) is confidential and may also be legally privileged. It is >> intended for the addressee only. Access to this e-mail by anyone >> else is unauthorized. It is not to be relied upon by any person >> other than the addresses, except with our prior written approval. If >> no such approval is given, we will not accept any liability (in >> negligence or otherwise) arising from any third party acting, or >> refraining from acting on such information. Unauthorized recipients >> are required to maintain confidentiality. If you have received this >> e-mail in error please notify us immediately, destroy any copies and >> delete it from your computer system. Any use, dissemination, >> forwarding, printing or copying of this e-mail is prohibited. >> Copyright in this e-mail and any document created by us will be and >> remain vested in us and will not be transferred to you. We assert >> the right to be identified as the author of and to object to any >> misuses of the contents of this e-mail or such documents. >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > JeromeDL-users mailing list > Jer...@li... > https://lists.sourceforge.net/lists/listinfo/jeromedl-users |
|
From: Sebastian R. K. <seb...@de...> - 2008-08-06 12:23:49
|
On Aug 6, 2008, at 13:00 , Orbis Network wrote: > Hi Sebastian, > and thank you for your answer. > > 1) I downloaded Wordnet 2.1 (even if on the Wordnet web site there > is the version 3.0) and unzipped in my "jeromedl" directory. > > 2) Yes, I set up WORDNET_HOME in .bashrc, and after I tested the > variable with "echo $WORDNET_HOME". Do I need to set up WORDNET_HOME > in <tomcat dir>/bin/setenv.sh? > No, that should be fine - as long as your Tomcat will run from this user account where you modified .bashrc > Cheers, > Antonio > > > Il giorno 06/ago/08, alle ore 12:57, Sebastian Ryszard Kruk ha > scritto: > >> Hi Antonio, >> >> the problem with WordNet will be resolved with new JeromeDL 2.2 >> (whatever the number :D) since we will use new JOnto 2.5 that does >> not require WordNet installation any more. >> >> Until than - a couple of questions: >> >> 1) Did you install WordNet? If yes - where and what version? I >> recall we had some issues with 3.0 (due to the JWNL library we >> depend on) - so you should use 2.1 for the time being. >> 2) if you installed WordNet in non-default location (which is /usr/ >> local/WordNet/2.1 - AFAIC) - you need to set up system variable >> WORDNET_HOME to this new location (e.g., export WORDNET_HOME=..... >> in TOMCAT/bin/setenv.sh) >> >> If the problem remains - please send us logs from both JeromeDL >> (TOMCAT/logs/catalina.out) and FireBug. >> >> Good luck, >> >> Sebastian >> >> >> >> On Aug 6, 2008, at 11:41 , in...@or... wrote: >> >>> Hi Sebastian, >>> as you know, in the frame of the dContentWare project, we ported our >>> installation of JeromeDL from Windows Vista to Ubuntu Linux. >>> >>> We have a problem about running Wordnet 2.1. Jeromedl is unable >>> to load >>> the dictionary when searching a specific keyword: in the top right >>> corner >>> of the uploading resource page we can read "Loading..." in a red >>> background, and a "warning info" for Error 500 just next the >>> Keywords >>> textbox. >>> >>> Could you please help me to solve this trouble? >>> >>> Thank you very much, >>> Antonio Chieti >>> > > > --- > > Le informazioni contenute nella presente comunicazione e i relativi > allegati possono essere riservate e sono, comunque, destinate > esclusivamente alle persone o alla Societ‡ sopraindicati. La > diffusione, distribuzione e/o copiatura del documento trasmesso da > parte di qualsiasi soggetto diverso dal destinatario Ë proibita, sia > ai sensi dellíart. 616 c.p., che ai sensi del D.Lgs. n. 196/2003. Se > avete ricevuto questo messaggio per errore, vi preghiamo di > distruggerlo e di informarci immediatamente per telefono al numero > +393496403063 o inviando un messaggio allíindirizzo e-mail in...@or... > . > > The information in this e-mail (which includes any files transmitted > with it) is confidential and may also be legally privileged. It is > intended for the addressee only. Access to this e-mail by anyone > else is unauthorized. It is not to be relied upon by any person > other than the addresses, except with our prior written approval. If > no such approval is given, we will not accept any liability (in > negligence or otherwise) arising from any third party acting, or > refraining from acting on such information. Unauthorized recipients > are required to maintain confidentiality. If you have received this > e-mail in error please notify us immediately, destroy any copies and > delete it from your computer system. Any use, dissemination, > forwarding, printing or copying of this e-mail is prohibited. > Copyright in this e-mail and any document created by us will be and > remain vested in us and will not be transferred to you. We assert > the right to be identified as the author of and to object to any > misuses of the contents of this e-mail or such documents. > > |
|
From: Orbis N. <in...@or...> - 2008-08-06 12:00:25
|
Hi Sebastian, and thank you for your answer. 1) I downloaded Wordnet 2.1 (even if on the Wordnet web site there is the version 3.0) and unzipped in my "jeromedl" directory. 2) Yes, I set up WORDNET_HOME in .bashrc, and after I tested the variable with "echo $WORDNET_HOME". Do I need to set up WORDNET_HOME in <tomcat dir>/bin/setenv.sh? Cheers, Antonio Il giorno 06/ago/08, alle ore 12:57, Sebastian Ryszard Kruk ha scritto: > Hi Antonio, > > the problem with WordNet will be resolved with new JeromeDL 2.2 > (whatever the number :D) since we will use new JOnto 2.5 that does > not require WordNet installation any more. > > Until than - a couple of questions: > > 1) Did you install WordNet? If yes - where and what version? I > recall we had some issues with 3.0 (due to the JWNL library we > depend on) - so you should use 2.1 for the time being. > 2) if you installed WordNet in non-default location (which is /usr/ > local/WordNet/2.1 - AFAIC) - you need to set up system variable > WORDNET_HOME to this new location (e.g., export WORDNET_HOME=..... > in TOMCAT/bin/setenv.sh) > > If the problem remains - please send us logs from both JeromeDL > (TOMCAT/logs/catalina.out) and FireBug. > > Good luck, > > Sebastian > > > > On Aug 6, 2008, at 11:41 , in...@or... wrote: > >> Hi Sebastian, >> as you know, in the frame of the dContentWare project, we ported our >> installation of JeromeDL from Windows Vista to Ubuntu Linux. >> >> We have a problem about running Wordnet 2.1. Jeromedl is unable to >> load >> the dictionary when searching a specific keyword: in the top right >> corner >> of the uploading resource page we can read "Loading..." in a red >> background, and a "warning info" for Error 500 just next the Keywords >> textbox. >> >> Could you please help me to solve this trouble? >> >> Thank you very much, >> Antonio Chieti >> --- Le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Societ‡ sopraindicati. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario Ë proibita, sia ai sensi dellíart. 616 c.p., che ai sensi del D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarci immediatamente per telefono al numero +393496403063 o inviando un messaggio allíindirizzo e-mail in...@or... . The information in this e-mail (which includes any files transmitted with it) is confidential and may also be legally privileged. It is intended for the addressee only. Access to this e-mail by anyone else is unauthorized. It is not to be relied upon by any person other than the addresses, except with our prior written approval. If no such approval is given, we will not accept any liability (in negligence or otherwise) arising from any third party acting, or refraining from acting on such information. Unauthorized recipients are required to maintain confidentiality. If you have received this e-mail in error please notify us immediately, destroy any copies and delete it from your computer system. Any use, dissemination, forwarding, printing or copying of this e-mail is prohibited. Copyright in this e-mail and any document created by us will be and remain vested in us and will not be transferred to you. We assert the right to be identified as the author of and to object to any misuses of the contents of this e-mail or such documents. |
|
From: Sebastian R. K. <seb...@de...> - 2008-08-06 10:58:05
|
Hi Antonio, the problem with WordNet will be resolved with new JeromeDL 2.2 (whatever the number :D) since we will use new JOnto 2.5 that does not require WordNet installation any more. Until than - a couple of questions: 1) Did you install WordNet? If yes - where and what version? I recall we had some issues with 3.0 (due to the JWNL library we depend on) - so you should use 2.1 for the time being. 2) if you installed WordNet in non-default location (which is /usr/ local/WordNet/2.1 - AFAIC) - you need to set up system variable WORDNET_HOME to this new location (e.g., export WORDNET_HOME=..... in TOMCAT/bin/setenv.sh) If the problem remains - please send us logs from both JeromeDL (TOMCAT/logs/catalina.out) and FireBug. Good luck, Sebastian On Aug 6, 2008, at 11:41 , in...@or... wrote: > Hi Sebastian, > as you know, in the frame of the dContentWare project, we ported our > installation of JeromeDL from Windows Vista to Ubuntu Linux. > > We have a problem about running Wordnet 2.1. Jeromedl is unable to > load > the dictionary when searching a specific keyword: in the top right > corner > of the uploading resource page we can read "Loading..." in a red > background, and a "warning info" for Error 500 just next the Keywords > textbox. > > Could you please help me to solve this trouble? > > Thank you very much, > Antonio Chieti > |
|
From: Sebastian K. <seb...@gm...> - 2008-07-31 10:25:25
|
Hi Adam, thanks for interesting questions. 1) I forgot to implement POS support at the start. It is done now. You can use getPOS() methods in Synset and WordSense. In both cases they return object from PartOfSpeech enumeration. 2) ThesaurusStorage::search returns Collection<KOSEntry> not Collection<ThesaurusEntry> since it is implemented by KOSStorage for the unification reasons. A very good example on how to use search can be found in (JOnto webapp) servlets. ThesaurusStorage .getInstance ().search(com.kh.jonto.openthesaurus.pl.OTContext.getContext(), "label:"+word+" AND (type:synset OR type:tag)"); This comes from WordNetServlet and allows to find only thesaurus entries and tags with given label. Compare it with ThesaurusStorage .getInstance ().search(com.kh.jonto.openthesaurus.pl.OTContext.getContext(), "label:"+word) where you look for ANY KOS entry with given label The first will return objects of type org.corrib.jonto.wordnet.Synset (see below, !unless the index is broken!), the second with return objects of various types. INFO: FT Query: label:computer AND (type:synset OR type:tag) -> +label:computer +(type:synset type:tag) http://www.w3.org/2006/03/wn/wn20/instances/synset-analog_computer-noun-1 -> class org.corrib.jonto.wordnet.Synset http://www.w3.org/2006/03/wn/wn20/instances/synset-briefcase_computer-noun-1 -> class org.corrib.jonto.wordnet.Synset ..... more 2008-07-31 12:07:06 org.corrib.jonto.index.FulltextIndex find INFO: FT Query: label:computer -> label:computer # http://www.w3.org/2006/03/wn/wn20/instances/wordsense-computer_memory-noun-1 -> class org.corrib.jonto.wordnet.WordSense # http://www.w3.org/2006/03/wn/wn20/instances/word-computer_store -> class org.corrib.jonto.wordnet.Word # http://www.w3.org/2006/03/wn/wn20/instances/word-computer_error -> class org.corrib.jonto.wordnet.Word # http://www.w3.org/2006/03/wn/wn20/instances/synset-computer_circuit-noun-1 -> class org.corrib.jonto.wordnet.Synset ..... more 3) TaxonomyEntry inheritates from KOSContext and it is not possible to override returned type of from methods like getContext(). We could try fiddle with fancy Java5 features - but the code would be come very messy. I hope this answers your questions. Cheers, Sebastian On Jul 30, 2008, at 23:02 , Adam Gzella wrote: > Robie to i nasuwa się kilka pytań. > 1. Jak dostać się do części mowy w przypadku WN. > - robiłem to tak: getWordSense().getPOS().getLabel() > - czy takie coś da ten sam wynik?: > Word word = new Word((WordNetContext)wne.getContext(),wne.getURI()); > wordNetConcept.put("type",word.getLexicalForm()); > > 2.ThesaurusStorage.getInstance().search zwraca kolekcję KOSEntry. > Dlaczego nie Collection<ThesaurusEntry> ? > > czy bezpieczne jest rzutowanie ThesaourusEntry cos = > (ThesaurusEntry)cosKosEntry; > > Chciałbym to zastosować w powyższym (gdzie wiadomo, że obiekt będzie > ThesaurusEntry), i w kilku innych miejscach. > > 3. podobne do powyższego - czy TaxonomyEntry nie mogło by zwracać > TaxonomyContext a nie KOSContext. (choć to raczej nie przeszkadza) > > > > -- > _/_/ Regards, Adam Gzella _/ > _/ > _/_/ Digital Enterprise Research Institute, NUI Galway Ireland _/_/ > _/_/ e-mail/Jabber: adam dot gzella at gmail dot com _/_/ > _/_/ gg: 1998783, skype: adameqq _/_/ |
|
From: Sebastian K. <seb...@gm...> - 2008-05-26 21:51:10
|
Hi, just to let you know that the problem reported today by Ewelina regarding handling user names containing apostrophe has been resolved. A patched version of person_select.tag has been submitted to both JOnto and JeromeDL source code. Cheers, S. -- seb...@gm... -- GG: 335067, -- Jabber: seb...@gm... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/ |
|
From: Mateusz K. <mat...@de...> - 2008-01-15 19:13:43
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Giuseppe,<font face="Arial" size="2"><br> </font> <blockquote cite="mid:001f01c8568f$07b05d90$e101a8c0@cdc15fef008488" type="cite"> <div><font face="Arial" size="2"> 1.2 an AJAX call error is displayed on each taxonomy label: Servlet TaxonomyBrowser is not available.</font></div> </blockquote> This is really odd. Assuming that your web.xml in JOnto_webapp/WebContent/WEB-INF is the same as on the SVN. <br> Do you get any exception stack trace in the Tomcat console also?<br> <br> Mateusz<br> <br> <br> </body> </html> |
|
From: Sebastian K. <seb...@gm...> - 2008-01-14 11:40:27
|
> 2.2) the domain filtering on a specific term results in the display of
> an equal number of matches on all the taxonomies; however only the
> taxonomies really including the given term highlight the
> occurring submatches.
I have similar problems - the numbers in JOnto filtering do not
reflect actual information, but rather look like providing a number of
results on the level one above where they are provided.
Can someone (Mariusz?, Adameq?) run recent uploaded and check it?
It was working ok before Christmas, at least when I was in Korea.
Thanks,
S.
On Jan 14, 2008 9:22 AM, Giuseppe Bux <giu...@al...> wrote:
>
>
> Maeusz,
> I have stil a bit progress, but not a complete one. After a lot of test, I
> have the following test results:
>
> 1) JontoTest:
> 1.1 the label of the new dCont taxonomy is displayed together with the
> other native jonto taxonomies;
> 1.2 an AJAX call error is displayed on each taxonomy label: Servlet
> TaxonomyBrowser is not available.
>
> 2) JeromeDL resource uploading:
> 2.1) all the taxonomies ( the new dCont included) are listed and
> completely loaded in the Domains section;
> 2.2) the domain filtering on a specific term results in the display of
> an equal number of matches on all the taxonomies; however only the
> taxonomies really including the given term highlight the
> occurring submatches.
>
> 3) Sesame-jonto repository:
> 3.1) the triples of the new dCont taxonomies are completely generated.
>
> So an AIAX call error seems to still prevent the successfull completion of
> my test.
>
> Can you suggest some workaround?
>
> Giuseppe
>
>
>
>
> ----- Original Message -----
>
> From: Mateusz Kaczmarek
> To: Giuseppe Bux
>
> Cc: Devel JeromeDL ; jon...@li...
> Sent: Friday, January 11, 2008 4:07 PM
> Subject: Re: R: [JeromeDL-devel] R: R: Jeromedl customization: localization
> of taxonomies, wordnet vocabulary, and indexing properties
>
>
> Giuseppe,
> the only mistake you have in your build.xml is that in
> <target name="cleanModules" description="Clean required jerome modules">
> you have
> <ant antfile="${jontoAcmPath}/build.xml" target="build">
> <property name="basedir" value="${jontoAcmPath}/"/>
> <property name="lib.dir" value="${jontoBasePath}/lib"/>
> </ant>
> <ant antfile="${jontoDcontPath}/build.xml" target="build">
> <property name="basedir" value="${jontoDcontPath}/"/>
> <property name="lib.dir" value="${jontoBasePath}/lib"/>
> </ant>
> though you should have:
> <ant antfile="${jontoAcmPath}/build.xml" target="clean">
> <property name="basedir" value="${jontoAcmPath}/"/>
> <property name="lib.dir" value="${jontoBasePath}/lib"/>
> </ant>
> <ant antfile="${jontoDcontPath}/build.xml" target="clean">
> <property name="basedir" value="${jontoDcontPath}/"/>
> <property name="lib.dir" value="${jontoBasePath}/lib"/>
> </ant>
>
> As far as your Tomcat log is concerned, I don't recall to have such an
> exception, but I suppose it is not connected to JOnto.
>
> I would recommend you to check if after building the JOnto modules they are
> really copied to Tomcat/lib.
> Once more clean all projects, refresh them (F5 in Eclipse) and build all
> modules using build.xml from JOnto_base.
> You can also try to clean the cache of your web browser.
>
> Regards,
> Mateusz
>
>
>
> Mateusz,
> a bit progress we acheeved!
> By applying your below suggestions finally the jontotest.jsp is running.
> However, as in my initial trial of jeromedl customization, the jontotest
> loads only the native jonto taxonomies (i.e: acm, udc, ddc, dmoz, loc). My
> dcont taxonomy is not loaded. I ran the ant on the dcont/build.xml, in order
> to build the related jonto project, and I verified again the dcont
> references included in jonto_base/build.xml, as well in
> jonto_base/src/context.properties files: it seems to me to be all ok!
> Please verify my build.xml file here attached .
> Another doubt, coming to me, concerns the jonto_base/src/sesame.conf: should
> be it updated?
>
> Last output of my trial is the tomcat log of my jontotest process: it
> highlights an exception. Please verify it in the attached file.
>
> Sorry to disturb you with my configuration problems, but their solution is
> basic for my jeromedl customization process.
> Giuseppe
>
>
>
> __________ NOD32 2782 (20080110) Information __________
>
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Jonto-users mailing list
> Jon...@li...
> https://lists.sourceforge.net/lists/listinfo/jonto-users
>
>
--
--
--------------------------------------------
-- Sebastian Ryszard Kruk
-- Lead Researcher, Project Manager
-- Digital Enterprise Research Institute
-- National University of Ireland, Galway
-- mailto: seb...@gm...
-- GG: 335067, Jabber: seb...@gm...
-- Skype: sebastiankruk
-- WWW: http://www.sebastiankruk.com/
-- mobile (IRL): +353 85 7126591
-- VoIP (PL): +48 52 5110114
--------------------------------------------
|
|
From: Giuseppe B. <giu...@al...> - 2008-01-14 09:22:57
|
Maeusz,
I have stil a bit progress, but not a complete one. After a lot of test, =
I have the following test results:
1) JontoTest:=20
1.1 the label of the new dCont taxonomy is displayed together with =
the other native jonto taxonomies;
1.2 an AJAX call error is displayed on each taxonomy label: Servlet =
TaxonomyBrowser is not available.
2) JeromeDL resource uploading:
2.1) all the taxonomies ( the new dCont included) are listed and =
completely loaded in the Domains section;
2.2) the domain filtering on a specific term results in the display =
of an equal number of matches on all the taxonomies; however only the =
taxonomies really including the given term highlight the =
occurring submatches.
3) Sesame-jonto repository:
3.1) the triples of the new dCont taxonomies are completely =
generated.
So an AIAX call error seems to still prevent the successfull completion =
of my test.
Can you suggest some workaround?
Giuseppe=20
=20
----- Original Message -----=20
From: Mateusz Kaczmarek=20
To: Giuseppe Bux=20
Cc: Devel JeromeDL ; jon...@li...=20
Sent: Friday, January 11, 2008 4:07 PM
Subject: Re: R: [JeromeDL-devel] R: R: Jeromedl customization: =
localization of taxonomies, wordnet vocabulary, and indexing properties
Giuseppe,
the only mistake you have in your build.xml is that in
<target name=3D"cleanModules" description=3D"Clean required jerome =
modules">
you have
<ant antfile=3D"${jontoAcmPath}/build.xml" target=3D"build">
<property name=3D"basedir" value=3D"${jontoAcmPath}/"/>
<property name=3D"lib.dir" =
value=3D"${jontoBasePath}/lib"/>
</ant>
<ant antfile=3D"${jontoDcontPath}/build.xml" =
target=3D"build">
<property name=3D"basedir" value=3D"${jontoDcontPath}/"/>
<property name=3D"lib.dir" =
value=3D"${jontoBasePath}/lib"/>
</ant>
though you should have:
<ant antfile=3D"${jontoAcmPath}/build.xml" target=3D"clean">
<property name=3D"basedir" value=3D"${jontoAcmPath}/"/>
<property name=3D"lib.dir" =
value=3D"${jontoBasePath}/lib"/>
</ant>
<ant antfile=3D"${jontoDcontPath}/build.xml" =
target=3D"clean">
<property name=3D"basedir" value=3D"${jontoDcontPath}/"/>
<property name=3D"lib.dir" =
value=3D"${jontoBasePath}/lib"/>
</ant>
As far as your Tomcat log is concerned, I don't recall to have such an =
exception, but I suppose it is not connected to JOnto.
I would recommend you to check if after building the JOnto modules =
they are really copied to Tomcat/lib.
Once more clean all projects, refresh them (F5 in Eclipse) and build =
all modules using build.xml from JOnto_base.
You can also try to clean the cache of your web browser.
Regards,
Mateusz
Mateusz,
a bit progress we acheeved!=20
By applying your below suggestions finally the jontotest.jsp is =
running. However, as in my initial trial of jeromedl customization, the =
jontotest loads only the native jonto taxonomies (i.e: acm, udc, ddc, =
dmoz, loc). My dcont taxonomy is not loaded. I ran the ant on the =
dcont/build.xml, in order to build the related jonto project, and I =
verified again the dcont references included in jonto_base/build.xml, as =
well in jonto_base/src/context.properties files: it seems to me to be =
all ok!=20
Please verify my build.xml file here attached .
Another doubt, coming to me, concerns the =
jonto_base/src/sesame.conf: should be it updated?
Last output of my trial is the tomcat log of my jontotest process: =
it highlights an exception. Please verify it in the attached file.
Sorry to disturb you with my configuration problems, but their =
solution is basic for my jeromedl customization process.
Giuseppe=20
__________ NOD32 2782 (20080110) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
|
|
From: Mateusz K. <mat...@de...> - 2008-01-11 15:08:57
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Giuseppe,<br>
the only mistake you have in your build.xml is that in<br>
<target name="cleanModules" description="Clean required jerome
modules"><br>
you have<br>
<ant antfile="${jontoAcmPath}/build.xml" target="build"><br>
<property name="basedir" value="${jontoAcmPath}/"/><br>
<property name="lib.dir"
value="${jontoBasePath}/lib"/><br>
</ant><br>
<ant antfile="${jontoDcontPath}/build.xml"
target="build"><br>
<property name="basedir" value="${jontoDcontPath}/"/><br>
<property name="lib.dir"
value="${jontoBasePath}/lib"/><br>
</ant><br>
though you should have:<br>
<ant antfile="${jontoAcmPath}/build.xml" target="<b>clean</b>"><br>
<property name="basedir" value="${jontoAcmPath}/"/><br>
<property name="lib.dir"
value="${jontoBasePath}/lib"/><br>
</ant><br>
<ant antfile="${jontoDcontPath}/build.xml" target="<b>clean</b>"><br>
<property name="basedir" value="${jontoDcontPath}/"/><br>
<property name="lib.dir"
value="${jontoBasePath}/lib"/><br>
</ant><br>
<br>
As far as your Tomcat log is concerned, I don't recall to have such an
exception, but I suppose it is not connected to JOnto.<br>
<br>
I would recommend you to check if after building the JOnto modules they
are really copied to Tomcat/lib.<br>
Once more clean all projects, refresh them (F5 in Eclipse) and build
all modules using build.xml from JOnto_base.<br>
You can also try to clean the cache of your web browser.<br>
<br>
Regards,<br>
Mateusz<br>
<br>
<blockquote cite="mid:002401c8542f$ea2f1790$e101a8c0@cdc15fef008488"
type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta content="MSHTML 6.00.6000.16587" name="GENERATOR">
<div><font face="Arial" size="2">Mateusz,</font></div>
<div><font face="Arial" size="2">a bit progress we acheeved! </font></div>
<div><font face="Arial" size="2">By applying your below suggestions
finally the jontotest.jsp is running. However, as in my initial trial
of jeromedl customization, the jontotest loads only the native jonto
taxonomies (i.e: acm, udc, ddc, dmoz, loc). My dcont taxonomy is not
loaded. I ran the ant on the dcont/build.xml, in order to build the
related jonto project, and I verified again the dcont references
included in jonto_base/build.xml, as well in
jonto_base/src/context.properties files: it seems to me to be all ok! </font></div>
<div><font face="Arial" size="2">Please verify my build.xml file here
attached .</font></div>
<div><font face="Arial" size="2">Another doubt, coming to me,
concerns the jonto_base/src/sesame.conf: should be it updated?</font></div>
<div> </div>
<div><font face="Arial" size="2">Last output of my trial is the
tomcat log of my jontotest process: it highlights an exception. Please
verify it in the attached file.</font></div>
<div> </div>
<div><font face="Arial" size="2">Sorry to disturb you with my
configuration problems, but their solution is basic for my jeromedl
customization process.</font></div>
<div><font face="Arial" size="2">Giuseppe</font> <br>
</div>
</blockquote>
<br>
</body>
</html>
|
|
From: Giuseppe B. <giu...@al...> - 2008-01-08 17:54:45
|
<html><head><title>Apache Tomcat/6.0.14 - Error =
report</title><style><!--H1 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:22px;} H2 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:16px;} H3 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:14px;} BODY =
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}=
B =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;} P =
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-si=
ze:12px;}A {color : black;}A.name {color : black;}HR {color : =
#525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR =
size=3D"1" noshade=3D"noshade"><p><b>type</b> Exception =
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The =
server encountered an internal error () that prevented it from =
fulfilling this request.</u></p><p><b>exception</b> =
<pre>org.apache.jasper.JasperException: =
/JOnto_webapp/WebContent/jontotest.jsp(121,2) No tag =
"taxonomy" defined in tag library imported with prefix =
"jonto"=0A=
=
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandl=
er.java:40)=0A=
=
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:=
407)=0A=
=
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:=
198)=0A=
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1213)=0A=
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449)=0A=
org.apache.jasper.compiler.Parser.parse(Parser.java:133)=0A=
=
org.apache.jasper.compiler.ParserController.doParse(ParserController.java=
:216)=0A=
=
org.apache.jasper.compiler.ParserController.parse(ParserController.java:1=
03)=0A=
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)=0A=
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)=0A=
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)=0A=
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)=0A=
=
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.jav=
a:566)=0A=
=
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
a:317)=0A=
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)=0A=
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)=0A=
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)=0A=
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is =
available in the Apache Tomcat/6.0.14 logs.</u></p><HR size=3D"1" =
noshade=3D"noshade"><h3>Apache Tomcat/6.0.14</h3></body></html> |
|
From: Giuseppe B. <giu...@al...> - 2007-12-19 13:30:37
|
<html><head><title>Apache Tomcat/6.0.14 - Error =
report</title><style><!--H1 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:22px;} H2 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:16px;} H3 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:14px;} BODY =
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}=
B =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;} P =
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-si=
ze:12px;}A {color : black;}A.name {color : black;}HR {color : =
#525D76;}--></style></head><body><h1>HTTP Status 500 - </h1><hr =
noshade=3D"noshade" size=3D"1"><p><b>type</b> Exception =
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The =
server encountered an internal error () that prevented it from =
fulfilling this request.</u></p><p><b>exception</b> =
</p><pre>org.apache.jasper.JasperException: The absolute uri: =
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml =
or the jar files deployed with this application
=
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandl=
er.java:51)
=
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:=
409)
=
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:=
116)
=
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibr=
aryInfoImpl.java:315)
=
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfo=
Impl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
=
org.apache.jasper.compiler.ParserController.doParse(ParserController.java=
:216)
=
org.apache.jasper.compiler.ParserController.parse(ParserController.java:1=
03)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
=
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.jav=
a:566)
=
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav=
a:317)
=
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
</pre><p></p><p><b>note</b> <u>The full stack trace of the root cause is =
available in the Apache Tomcat/6.0.14 logs.</u></p><hr =
noshade=3D"noshade" size=3D"1"><h3>Apache =
Tomcat/6.0.14</h3></body></html> |
|
From: Mateusz K. <mat...@de...> - 2007-12-18 21:17:23
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Giuseppe,<br> <br> sorry you have to wait so long.<br> So these are my first thoughts, what can be wrong:<br> - most of all - what did you write in dcont.properties file? You have to put there some information concerning the structure of yours taxonomy RDF file (e.g. its name, the root nodes and the namespace, just like in the already implemented taxonomies)<br> - secondly - RDF file itself. Frankly I have only used N-triples standard as they are most intuitive for me (though pretty large) and don't quite know, how JOnto (or rather its Sesame wrapper) would work with other types of RDFs. <br> - generally speaking - your step-by-step algorithm of building new project is correct. I have just done it quickly myself and everything is OK (I changed ACM module to Dcont).<br> - don't pay to much attention to XxxParser.java files, as these were only created to format text files with taxonomies to correct RDF N-Triples files.<br> - what is exactly wrong? I mean - do you see only the header of Dcont taxonomy but without any contents? Or just standard JOnto taxonomies? Or whole JOnto is broken?<br> <br> To better understand and help you I could make good use of any error message you get in Tomcat console while you are running JOnto. By the way - how do you test it if it works? There is a simple webapplication in JOnto_webapp which allows you to see a test page with all taxonomies, just like in JeromeDL, but without other unnecessary things - only the "accordion" GUI. It is more handy than testing JOnto in JeromeDL.<br> <br> I hope we will together resolve your problem.<br> <br> Regards,<br> Mateusz<br> <blockquote cite="mid:001e01c840a1$e9bb7cf0$bd3276d0$@it" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="MS Exchange Server version 6.5.7638.1"> <title>[JeromeDL-devel] R: R: Jeromedl customization: localization of taxonomies, wordnet vocabulary, and indexing properties</title> <!-- Converted from text/plain format --> <p><font size="2">Hi Matheus!<br> as from the below mailing with Sebastian I would customize the jonto taxonomies in Jeromedl by adding a new domain taxonomy. So, after the svn of the whole Jonto project, I built a new Jonto taxonomy project, as from the below Sebastian's suggestions. I named my JOnto taxonomy project "JOnto_dcont". The building process seemed to be successful, but at the launching of Jeromedl as well of the http interface of the underlying sesame platform, the new dcont taxonomy is not loaded. I realized my dcont taxonomy building by a step by step process as follows. Please verify it and let me know about what is wrong or missing.<br> <br> Thanks in advance,<br> Giuseppe<br> <br> Step by step building process:<br> 1) Creation of a new project folder ( "JOnto_dcont") by copying the whole folder of a previous Jonto taxonomy folder (ex. the JOnto_acm);<br> 2) Customization of the new folder by:<br> 2.1 renaming the *Context.java and *Parser.java respectively to DcontContext.java and DcontParser.java, and adaptation of the internal code by string find and replace actions respectively on the pre-existent taxonomy name and the new taxonomy one.<br> 2.2 adaptation of the build.xml and of the .project files by string find and replace actions as above;<br> 2.3 ant generation of the jonto_dcont.jar, and its storage into the JOnto_dcont/lib folder;<br> 3) Updating of the JOnto_base module by:<br> 3.1 including reference of the new Context getting method in JOnto_base/src/context.properties;<br> 3.2 adaptation of the build.xml file, with reference to the new taxonomy in the various sections (i.e: property name, target name, copy todir);<br> 3.3 generation of the updated jonto_base.jar;<br> 4) Updating of the JOnto_webapp module by:<br> 4.1 adaptation of the build.xml file as for Jonto_base;<br> 4.2 generation of the updated jonto_webapp.jar;<br> 5) copy of jonto_user.jar, jonto_base.jar in the Tomcat lib;<br> 6) copy of the JOnto_webapp.jar in the Jeromedl_webapp/WEB-IF/lib.<br> <br> <br> -----Messaggio originale-----<br> Da: Sebastian Kruk [<a moz-do-not-send="true" href="mailto:seb...@de...">mailto:seb...@de...</a>]<br> Inviato: venerdì 14 dicembre 2007 11.01<br> A: Giuseppe Bux<br> Cc: Devel JeromeDL; <a class="moz-txt-link-abbreviated" href="mailto:jon...@li...">jon...@li...</a>; Mateusz Kaczmarek; <a class="moz-txt-link-abbreviated" href="mailto:mar...@li...">mar...@li...</a><br> Oggetto: Re: R: Jeromedl customization: localization of taxonomies, wordnet vocabulary, and indexing properties<br> <br> Giuseppe,<br> <br> just a short sum up:<br> <br> 1) yes this is the way to do it - just copy the structure for yourself <br> - and please include reference in JOnto_base/src/context.properties. <br> The format is -> full Java path to the Context class = name of the <br> Context getting method (singleton implementation)<br> <br> 2) We will need to wait for Matuesz<br> <br> 3) yes, I clearly understand you. I was hoping to do such a thing with <br> Polish a long time ago. I just have never find enough time to proceed. <br> Together with Mateusz we have initiated a research that can be extend <br> to cover this topic [<a moz-do-not-send="true" href="http://library.deri.ie/resource/YuynUqdU">http://library.deri.ie/resource/YuynUqdU</a>]. The <br> idea is to mine the translations based on the co-occurrence of various <br> tags used. That is just one way to handle that - and do some cool <br> research at the same time :)<br> <br> Cheers,<br> <br> S.<br> <br> <br> On 14 Dec 2007, at 09:43, Giuseppe Bux wrote:<br> <br> > Hi Sebastian!<br> > Thank you for your quick answer.<br> > Please find inline my additional comments and questions.<br> ><br> > Cheers,<br> ><br> > Giuseppe<br> ><br> > -----Messaggio originale-----<br> > Da: Sebastian Kruk [<a moz-do-not-send="true" href="mailto:seb...@de...">mailto:seb...@de...</a>]<br> > Inviato: giovedì 13 dicembre 2007 23.55<br> > A: Giuseppe Bux<br> > Cc: Mariusz Cygan; Devel JeromeDL; <a class="moz-txt-link-abbreviated" href="mailto:jon...@li...">jon...@li...</a>; Mateusz <br> > Kaczmarek; Maciej Dąbrowski; <a class="moz-txt-link-abbreviated" href="mailto:mar...@li...">mar...@li...</a><br> > Oggetto: Re: Jeromedl customization: localization of taxonomies, <br> > wordnet vocabulary, and indexing properties<br> ><br> > Giuseppe,<br> ><br> > a quick answer to your questions (although might not be complete):<br> ><br> > 1) JeromeDL uses JOnto project [<a moz-do-not-send="true" href="http://sf.net/projects/jonto">http://sf.net/projects/jonto</a>] (yet<br> > another from my Corrib cluster) to handle controlled vocabularies.<br> > Hence to deliver new taxonomy you just need to have it in a properties<br> > file or RDF file (e.g. SKOS compliant), and you simply need to<br> > implement two interfaces in java and package it. The whole process<br> > does not take much effort. @Mateusz - could you provide a step by step<br> > description on a wiki?<br> ><br> > Well! I did the svn checkout of the project, so I have available the <br> > various jonto projects on controlled vocabularies.<br> > For each *_vocabulary project I view a common src module structure, <br> > where are included the *.ntriples and *.properties files, as well <br> > the *_Context.java and the *_Parser.java. Are these the properties/<br> > rdf files and the two java interfaces you mention above? So, if it <br> > is right, should I replicate a similar project for my own <br> > vocabulary? A step by step description of the process, by @Mateusz, <br> > could effectively help me.<br> ><br> > 2) with wordnet it is more tricky - JOnto uses JWNL library to handle<br> > WordNet dictionary. I was always hoping to be able to use other<br> > national dictionaries - but we never had time to test it. However, the<br> > infrastructure is there - and what I would suggest to do is to split<br> > current wordnet module into an abstract/base dictionary module and<br> > implementation modules, e.g., for wordnet. Depending on how much time<br> > Mateusz can contribute to the either we can do that or your team.<br> ><br> > An initial contribution from Matzeus could be the provision of some <br> > guidelines for splitting the wordnet module.<br> ><br> > 3) Answer to this question I leave to Mariusz, Maciej, and MarcOnt<br> > team :)<br> ><br> > Hope it was useful,<br> ><br> > Yes, it was useful enough!<br> > However my issue about metadata localization would extend the <br> > problem of the simple addition of new user dictionaries, towards a <br> > more large problem of managing simultaneously, as synonyms, words <br> > with the same concept but in different language (ex. the English <br> > word "apple", and the correspondent Italian word "mela"). I think <br> > this is one of the main problems of effective social inter-language <br> > indexing/bookmarking in shared digital libraries.<br> ><br> > Giuseppe<br> ><br> > Cheers,<br> ><br> > S.<br> ><br> ><br> > On 13 Dec 2007, at 16:50, Giuseppe Bux wrote:<br> ><br> >> Hi Sebastian, Mariusz!<br> >> I would start customization of my local instance of Jeromedl, by<br> >> localizing taxonomies, wordnet vocabulary, and indexing properties.<br> >> Localization will be targeted to an Italian audience. Here in the<br> >> following my envisaged approach and questions about. Please give me<br> >> your kind comments and suggestions.<br> >><br> >> 1) Localizing taxonomies: localization should be done by<br> >> enriching some selected current taxonomy dictionary (ex. DDC, Dmoz,<br> >> ACM, …) with synonyms in local language (i.e. in Italian). This in<br> >> order to manage domain indexing and related resource searching, by<br> >> using either English or local (i.e. Italian) terms defined in each<br> >> selected dictionary. To do that, I would follow steps should be as<br> >> follows:<br> >><br> >> a. To extract the RDF description of each dictionary from the<br> >> Sesame-Jonto repository, by a query template as follows:<br> >> Select distinct *<br> >> from {uri} p {value}<br> >> where p= <<a moz-do-not-send="true" href="http://www.w3.org/2004/02/skos/core#prefLabel">http://www.w3.org/2004/02/skos/core#prefLabel</a>> AND uri<br> >> like "*<a moz-do-not-send="true" href="http://www.corrib.org/jonto/acm/*">http://www.corrib.org/jonto/acm/*</a>"<br> >><br> >> obviously, for each query, the “like” value of the “where”<br> >> construct must be adapted to the uri of the given taxonomy.<br> >><br> >> I have some troubles with the sesame response, i.e.: the query<br> >> response in html format gives the expected sesame tabular form,<br> >> while the response in rdf format gives me a plain list such as:<br> >> uri p value uri p value General Literature uri p value General <br> >> ……..<br> >><br> >> I need instead a rdf/XML description: How can obain it? Could you,<br> >> eventually, provide me with the download site of RDF/XML<br> >> descriptions of the dictionaries stored in the sesame-Jonto<br> >> repository?<br> >><br> >> b. To initiate a dictionary customization project in an RDF<br> >> editor, such as Marcont portal or Protègè, by instantiating it with<br> >> the extracted rdf description of the given dictionary and with the<br> >> definition of synonyms of its terms, in local language.<br> >> c. To update the sesame-jonto repository with the new rdf<br> >> description of the given dictionary.<br> >><br> >> The “modify” actions of sesame should support the updating <br> >> process.<br> >><br> >> 2) Localizing wordnet vocabulary: it should be done simply by<br> >> replacing the current wordnet English vocabulary with a<br> >> correspondent commercial bi-language wordnet vocabulary (in my<br> >> case: Ital-Wordnet): does jeromedl implementation gives specific<br> >> constraints to do that?<br> >><br> >> 3) Localizing indexing properties: this should be done by<br> >> predefining additional marcont properties and make them available,<br> >> in the resource uploading form, for selection and instantiation<br> >> as xmarcont properties. Really a best approach should be to manage<br> >> the original marcont ontology for its localization as above for the<br> >> dictionaries: what about this topic in the Marcont project?<br> >><br> >> Not more to describe.<br> >><br> >> Looking for your kind comments and suggestions,<br> >><br> >> Cheers,<br> >> Giuseppe<br> >><br> >><br> >><br> >><br> >><br> ><br> > --------------------------------------------<br> > -- Sebastian Ryszard Kruk<br> > -- Lead Researcher, Project Manager<br> > -- Semantic Infrastructure Lab, eLearning Cluster<br> > -- Digital Enterprise Research Institute<br> > -- National University of Ireland, Galway<br> > -- mailto: <a class="moz-txt-link-abbreviated" href="mailto:seb...@de...">seb...@de...</a><br> > -- GG: 335067, Jabber: <a class="moz-txt-link-abbreviated" href="mailto:s_...@ch...">s_...@ch...</a><br> > -- Skype: sebastiankruk<br> > -- WWW: <a moz-do-not-send="true" href="http://www.sebastiankruk.com/">http://www.sebastiankruk.com/</a><br> > -- mobile (IRL): +353 85 7126591<br> > -- VoIP (PL): +48 52 5110114<br> > --------------------------------------------<br> ><br> ><br> <br> --------------------------------------------<br> -- Sebastian Ryszard Kruk<br> -- Lead Researcher, Project Manager<br> -- Semantic Infrastructure Lab, eLearning Cluster<br> -- Digital Enterprise Research Institute<br> -- National University of Ireland, Galway<br> -- mailto: <a class="moz-txt-link-abbreviated" href="mailto:seb...@de...">seb...@de...</a><br> -- GG: 335067, Jabber: <a class="moz-txt-link-abbreviated" href="mailto:s_...@ch...">s_...@ch...</a><br> -- Skype: sebastiankruk<br> -- WWW: <a moz-do-not-send="true" href="http://www.sebastiankruk.com/">http://www.sebastiankruk.com/</a><br> -- mobile (IRL): +353 85 7126591<br> -- VoIP (PL): +48 52 5110114<br> --------------------------------------------<br> <br> <br> <br> <br> -------------------------------------------------------------------------<br> SF.Net email is sponsored by:<br> Check out the new SourceForge.net Marketplace.<br> It's the best place to buy or sell services<br> for just about anything Open Source.<br> <a moz-do-not-send="true" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br> _______________________________________________<br> JeromeDL-devel mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Jer...@li...">Jer...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/jeromedl-devel">https://lists.sourceforge.net/lists/listinfo/jeromedl-devel</a><br> </font> </p> </blockquote> <br> </body> </html> |
|
From: Giuseppe B. <giu...@al...> - 2007-12-17 11:44:12
|
Hi Matheus! as from the below mailing with Sebastian I would customize the jonto = taxonomies in Jeromedl by adding a new domain taxonomy. So, after the = svn of the whole Jonto project, I built a new Jonto taxonomy project, as = from the below Sebastian's suggestions. I named my JOnto taxonomy = project "JOnto_dcont". The building process seemed to be successful, = but at the launching of Jeromedl as well of the http interface of the = underlying sesame platform, the new dcont taxonomy is not loaded. I = realized my dcont taxonomy building by a step by step process as = follows. Please verify it and let me know about what is wrong or = missing. Thanks in advance, Giuseppe Step by step building process: 1) Creation of a new project folder ( "JOnto_dcont") by copying the = whole folder of a previous Jonto taxonomy folder (ex. the JOnto_acm); 2) Customization of the new folder by: 2.1 renaming the *Context.java and *Parser.java respectively to = DcontContext.java and DcontParser.java, and adaptation of the internal = code by string find and replace actions respectively on the = pre-existent taxonomy name and the new taxonomy one. 2.2 adaptation of the build.xml and of the .project files by string = find and replace actions as above; 2.3 ant generation of the jonto_dcont.jar, and its storage into the = JOnto_dcont/lib folder; 3) Updating of the JOnto_base module by: 3.1 including reference of the new Context getting method in = JOnto_base/src/context.properties; 3.2 adaptation of the build.xml file, with reference to the new = taxonomy in the various sections (i.e: property name, target name, copy = todir); 3.3 generation of the updated jonto_base.jar; 4) Updating of the JOnto_webapp module by: 4.1 adaptation of the build.xml file as for Jonto_base; 4.2 generation of the updated jonto_webapp.jar; 5) copy of jonto_user.jar, jonto_base.jar in the Tomcat lib; 6) copy of the JOnto_webapp.jar in the Jeromedl_webapp/WEB-IF/lib. =09 -----Messaggio originale----- Da: Sebastian Kruk [mailto:seb...@de...]=20 Inviato: venerd=C3=AC 14 dicembre 2007 11.01 A: Giuseppe Bux Cc: Devel JeromeDL; jon...@li...; Mateusz Kaczmarek; = mar...@li... Oggetto: Re: R: Jeromedl customization: localization of taxonomies, = wordnet vocabulary, and indexing properties Giuseppe, just a short sum up: 1) yes this is the way to do it - just copy the structure for yourself =20 - and please include reference in JOnto_base/src/context.properties. =20 The format is -> full Java path to the Context class =3D name of the =20 Context getting method (singleton implementation) 2) We will need to wait for Matuesz 3) yes, I clearly understand you. I was hoping to do such a thing with =20 Polish a long time ago. I just have never find enough time to proceed. =20 Together with Mateusz we have initiated a research that can be extend =20 to cover this topic [http://library.deri.ie/resource/YuynUqdU]. The =20 idea is to mine the translations based on the co-occurrence of various =20 tags used. That is just one way to handle that - and do some cool =20 research at the same time :) Cheers, S. On 14 Dec 2007, at 09:43, Giuseppe Bux wrote: > Hi Sebastian! > Thank you for your quick answer. > Please find inline my additional comments and questions. > > Cheers, > > Giuseppe > > -----Messaggio originale----- > Da: Sebastian Kruk [mailto:seb...@de...] > Inviato: gioved=C3=AC 13 dicembre 2007 23.55 > A: Giuseppe Bux > Cc: Mariusz Cygan; Devel JeromeDL; jon...@li...; Mateusz =20 > Kaczmarek; Maciej D=C4=85browski; mar...@li... > Oggetto: Re: Jeromedl customization: localization of taxonomies, =20 > wordnet vocabulary, and indexing properties > > Giuseppe, > > a quick answer to your questions (although might not be complete): > > 1) JeromeDL uses JOnto project [http://sf.net/projects/jonto] (yet > another from my Corrib cluster) to handle controlled vocabularies. > Hence to deliver new taxonomy you just need to have it in a properties > file or RDF file (e.g. SKOS compliant), and you simply need to > implement two interfaces in java and package it. The whole process > does not take much effort. @Mateusz - could you provide a step by step > description on a wiki? > > Well! I did the svn checkout of the project, so I have available the =20 > various jonto projects on controlled vocabularies. > For each *_vocabulary project I view a common src module structure, =20 > where are included the *.ntriples and *.properties files, as well =20 > the *_Context.java and the *_Parser.java. Are these the properties/=20 > rdf files and the two java interfaces you mention above? So, if it =20 > is right, should I replicate a similar project for my own =20 > vocabulary? A step by step description of the process, by @Mateusz, =20 > could effectively help me. > > 2) with wordnet it is more tricky - JOnto uses JWNL library to handle > WordNet dictionary. I was always hoping to be able to use other > national dictionaries - but we never had time to test it. However, the > infrastructure is there - and what I would suggest to do is to split > current wordnet module into an abstract/base dictionary module and > implementation modules, e.g., for wordnet. Depending on how much time > Mateusz can contribute to the either we can do that or your team. > > An initial contribution from Matzeus could be the provision of some =20 > guidelines for splitting the wordnet module. > > 3) Answer to this question I leave to Mariusz, Maciej, and MarcOnt > team :) > > Hope it was useful, > > Yes, it was useful enough! > However my issue about metadata localization would extend the =20 > problem of the simple addition of new user dictionaries, towards a =20 > more large problem of managing simultaneously, as synonyms, words =20 > with the same concept but in different language (ex. the English =20 > word "apple", and the correspondent Italian word "mela"). I think =20 > this is one of the main problems of effective social inter-language =20 > indexing/bookmarking in shared digital libraries. > > Giuseppe > > Cheers, > > S. > > > On 13 Dec 2007, at 16:50, Giuseppe Bux wrote: > >> Hi Sebastian, Mariusz! >> I would start customization of my local instance of Jeromedl, by >> localizing taxonomies, wordnet vocabulary, and indexing properties. >> Localization will be targeted to an Italian audience. Here in the >> following my envisaged approach and questions about. Please give me >> your kind comments and suggestions. >> >> 1) Localizing taxonomies: localization should be done by >> enriching some selected current taxonomy dictionary (ex. DDC, Dmoz, >> ACM, =E2=80=A6) with synonyms in local language (i.e. in Italian). = This in >> order to manage domain indexing and related resource searching, by >> using either English or local (i.e. Italian) terms defined in each >> selected dictionary. To do that, I would follow steps should be as >> follows: >> >> a. To extract the RDF description of each dictionary from the >> Sesame-Jonto repository, by a query template as follows: >> Select distinct * >> from {uri} p {value} >> where p=3D <http://www.w3.org/2004/02/skos/core#prefLabel> AND uri >> like "*http://www.corrib.org/jonto/acm/*" >> >> obviously, for each query, the =E2=80=9Clike=E2=80=9D value of the = =E2=80=9Cwhere=E2=80=9D >> construct must be adapted to the uri of the given taxonomy. >> >> I have some troubles with the sesame response, i.e.: the query >> response in html format gives the expected sesame tabular form, >> while the response in rdf format gives me a plain list such as: >> uri p value uri p value General Literature uri p value General =20 >> =E2=80=A6=E2=80=A6.. >> >> I need instead a rdf/XML description: How can obain it? Could you, >> eventually, provide me with the download site of RDF/XML >> descriptions of the dictionaries stored in the sesame-Jonto >> repository? >> >> b. To initiate a dictionary customization project in an RDF >> editor, such as Marcont portal or Prot=C3=A8g=C3=A8, by instantiating = it with >> the extracted rdf description of the given dictionary and with the >> definition of synonyms of its terms, in local language. >> c. To update the sesame-jonto repository with the new rdf >> description of the given dictionary. >> >> The =E2=80=9Cmodify=E2=80=9D actions of sesame should support the = updating =20 >> process. >> >> 2) Localizing wordnet vocabulary: it should be done simply by >> replacing the current wordnet English vocabulary with a >> correspondent commercial bi-language wordnet vocabulary (in my >> case: Ital-Wordnet): does jeromedl implementation gives specific >> constraints to do that? >> >> 3) Localizing indexing properties: this should be done by >> predefining additional marcont properties and make them available, >> in the resource uploading form, for selection and instantiation >> as xmarcont properties. Really a best approach should be to manage >> the original marcont ontology for its localization as above for the >> dictionaries: what about this topic in the Marcont project? >> >> Not more to describe. >> >> Looking for your kind comments and suggestions, >> >> Cheers, >> Giuseppe >> >> >> >> >> > > -------------------------------------------- > -- Sebastian Ryszard Kruk > -- Lead Researcher, Project Manager > -- Semantic Infrastructure Lab, eLearning Cluster > -- Digital Enterprise Research Institute=20 > -- National University of Ireland, Galway=20 > -- mailto: seb...@de... > -- GG: 335067, Jabber: s_...@ch... > -- Skype: sebastiankruk > -- WWW: http://www.sebastiankruk.com/=20 > -- mobile (IRL): +353 85 7126591 > -- VoIP (PL): +48 52 5110114 > -------------------------------------------- > > -------------------------------------------- -- Sebastian Ryszard Kruk -- Lead Researcher, Project Manager -- Semantic Infrastructure Lab, eLearning Cluster -- Digital Enterprise Research Institute=20 -- National University of Ireland, Galway=20 -- mailto: seb...@de... -- GG: 335067, Jabber: s_...@ch... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/=20 -- mobile (IRL): +353 85 7126591 -- VoIP (PL): +48 52 5110114 -------------------------------------------- |
|
From: Sebastian K. <seb...@de...> - 2007-12-14 10:00:57
|
Giuseppe, just a short sum up: 1) yes this is the way to do it - just copy the structure for yourself =20= - and please include reference in JOnto_base/src/context.properties. =20 The format is -> full Java path to the Context class =3D name of the =20 Context getting method (singleton implementation) 2) We will need to wait for Matuesz 3) yes, I clearly understand you. I was hoping to do such a thing with =20= Polish a long time ago. I just have never find enough time to proceed. =20= Together with Mateusz we have initiated a research that can be extend =20= to cover this topic [http://library.deri.ie/resource/YuynUqdU]. The =20 idea is to mine the translations based on the co-occurrence of various =20= tags used. That is just one way to handle that - and do some cool =20 research at the same time :) Cheers, S. On 14 Dec 2007, at 09:43, Giuseppe Bux wrote: > Hi Sebastian! > Thank you for your quick answer. > Please find inline my additional comments and questions. > > Cheers, > > Giuseppe > > -----Messaggio originale----- > Da: Sebastian Kruk [mailto:seb...@de...] > Inviato: gioved=C3=AC 13 dicembre 2007 23.55 > A: Giuseppe Bux > Cc: Mariusz Cygan; Devel JeromeDL; jon...@li...; Mateusz =20= > Kaczmarek; Maciej D=C4=85browski; mar...@li... > Oggetto: Re: Jeromedl customization: localization of taxonomies, =20 > wordnet vocabulary, and indexing properties > > Giuseppe, > > a quick answer to your questions (although might not be complete): > > 1) JeromeDL uses JOnto project [http://sf.net/projects/jonto] (yet > another from my Corrib cluster) to handle controlled vocabularies. > Hence to deliver new taxonomy you just need to have it in a properties > file or RDF file (e.g. SKOS compliant), and you simply need to > implement two interfaces in java and package it. The whole process > does not take much effort. @Mateusz - could you provide a step by step > description on a wiki? > > Well! I did the svn checkout of the project, so I have available the =20= > various jonto projects on controlled vocabularies. > For each *_vocabulary project I view a common src module structure, =20= > where are included the *.ntriples and *.properties files, as well =20 > the *_Context.java and the *_Parser.java. Are these the properties/=20 > rdf files and the two java interfaces you mention above? So, if it =20 > is right, should I replicate a similar project for my own =20 > vocabulary? A step by step description of the process, by @Mateusz, =20= > could effectively help me. > > 2) with wordnet it is more tricky - JOnto uses JWNL library to handle > WordNet dictionary. I was always hoping to be able to use other > national dictionaries - but we never had time to test it. However, the > infrastructure is there - and what I would suggest to do is to split > current wordnet module into an abstract/base dictionary module and > implementation modules, e.g., for wordnet. Depending on how much time > Mateusz can contribute to the either we can do that or your team. > > An initial contribution from Matzeus could be the provision of some =20= > guidelines for splitting the wordnet module. > > 3) Answer to this question I leave to Mariusz, Maciej, and MarcOnt > team :) > > Hope it was useful, > > Yes, it was useful enough! > However my issue about metadata localization would extend the =20 > problem of the simple addition of new user dictionaries, towards a =20 > more large problem of managing simultaneously, as synonyms, words =20 > with the same concept but in different language (ex. the English =20 > word "apple", and the correspondent Italian word "mela"). I think =20 > this is one of the main problems of effective social inter-language =20= > indexing/bookmarking in shared digital libraries. > > Giuseppe > > Cheers, > > S. > > > On 13 Dec 2007, at 16:50, Giuseppe Bux wrote: > >> Hi Sebastian, Mariusz! >> I would start customization of my local instance of Jeromedl, by >> localizing taxonomies, wordnet vocabulary, and indexing properties. >> Localization will be targeted to an Italian audience. Here in the >> following my envisaged approach and questions about. Please give me >> your kind comments and suggestions. >> >> 1) Localizing taxonomies: localization should be done by >> enriching some selected current taxonomy dictionary (ex. DDC, Dmoz, >> ACM, =E2=80=A6) with synonyms in local language (i.e. in Italian). = This in >> order to manage domain indexing and related resource searching, by >> using either English or local (i.e. Italian) terms defined in each >> selected dictionary. To do that, I would follow steps should be as >> follows: >> >> a. To extract the RDF description of each dictionary from the >> Sesame-Jonto repository, by a query template as follows: >> Select distinct * >> from {uri} p {value} >> where p=3D <http://www.w3.org/2004/02/skos/core#prefLabel> AND uri >> like "*http://www.corrib.org/jonto/acm/*" >> >> obviously, for each query, the =E2=80=9Clike=E2=80=9D value of the = =E2=80=9Cwhere=E2=80=9D >> construct must be adapted to the uri of the given taxonomy. >> >> I have some troubles with the sesame response, i.e.: the query >> response in html format gives the expected sesame tabular form, >> while the response in rdf format gives me a plain list such as: >> uri p value uri p value General Literature uri p value General =20 >> =E2=80=A6=E2=80=A6.. >> >> I need instead a rdf/XML description: How can obain it? Could you, >> eventually, provide me with the download site of RDF/XML >> descriptions of the dictionaries stored in the sesame-Jonto >> repository? >> >> b. To initiate a dictionary customization project in an RDF >> editor, such as Marcont portal or Prot=C3=A8g=C3=A8, by instantiating = it with >> the extracted rdf description of the given dictionary and with the >> definition of synonyms of its terms, in local language. >> c. To update the sesame-jonto repository with the new rdf >> description of the given dictionary. >> >> The =E2=80=9Cmodify=E2=80=9D actions of sesame should support the = updating =20 >> process. >> >> 2) Localizing wordnet vocabulary: it should be done simply by >> replacing the current wordnet English vocabulary with a >> correspondent commercial bi-language wordnet vocabulary (in my >> case: Ital-Wordnet): does jeromedl implementation gives specific >> constraints to do that? >> >> 3) Localizing indexing properties: this should be done by >> predefining additional marcont properties and make them available, >> in the resource uploading form, for selection and instantiation >> as xmarcont properties. Really a best approach should be to manage >> the original marcont ontology for its localization as above for the >> dictionaries: what about this topic in the Marcont project? >> >> Not more to describe. >> >> Looking for your kind comments and suggestions, >> >> Cheers, >> Giuseppe >> >> >> >> >> > > -------------------------------------------- > -- Sebastian Ryszard Kruk > -- Lead Researcher, Project Manager > -- Semantic Infrastructure Lab, eLearning Cluster > -- Digital Enterprise Research Institute=20 > -- National University of Ireland, Galway=20 > -- mailto: seb...@de... > -- GG: 335067, Jabber: s_...@ch... > -- Skype: sebastiankruk > -- WWW: http://www.sebastiankruk.com/=20 > -- mobile (IRL): +353 85 7126591 > -- VoIP (PL): +48 52 5110114 > -------------------------------------------- > > -------------------------------------------- -- Sebastian Ryszard Kruk -- Lead Researcher, Project Manager -- Semantic Infrastructure Lab, eLearning Cluster -- Digital Enterprise Research Institute=20 -- National University of Ireland, Galway=20 -- mailto: seb...@de... -- GG: 335067, Jabber: s_...@ch... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/=20 -- mobile (IRL): +353 85 7126591 -- VoIP (PL): +48 52 5110114 -------------------------------------------- |
|
From: Giuseppe B. <giu...@al...> - 2007-12-14 09:43:33
|
Hi Sebastian! Thank you for your quick answer. Please find inline my additional comments and questions. Cheers, Giuseppe=20 -----Messaggio originale----- Da: Sebastian Kruk [mailto:seb...@de...]=20 Inviato: gioved=C3=AC 13 dicembre 2007 23.55 A: Giuseppe Bux Cc: Mariusz Cygan; Devel JeromeDL; jon...@li...; Mateusz = Kaczmarek; Maciej D=C4=85browski; mar...@li... Oggetto: Re: Jeromedl customization: localization of taxonomies, wordnet = vocabulary, and indexing properties Giuseppe, a quick answer to your questions (although might not be complete): 1) JeromeDL uses JOnto project [http://sf.net/projects/jonto] (yet =20 another from my Corrib cluster) to handle controlled vocabularies. =20 Hence to deliver new taxonomy you just need to have it in a properties =20 file or RDF file (e.g. SKOS compliant), and you simply need to =20 implement two interfaces in java and package it. The whole process =20 does not take much effort. @Mateusz - could you provide a step by step =20 description on a wiki? Well! I did the svn checkout of the project, so I have available the = various jonto projects on controlled vocabularies. For each *_vocabulary project I view a common src module structure, = where are included the *.ntriples and *.properties files, as well the = *_Context.java and the *_Parser.java. Are these the properties/rdf files = and the two java interfaces you mention above? So, if it is right, = should I replicate a similar project for my own vocabulary? A step by = step description of the process, by @Mateusz, could effectively help = me. =20 2) with wordnet it is more tricky - JOnto uses JWNL library to handle =20 WordNet dictionary. I was always hoping to be able to use other =20 national dictionaries - but we never had time to test it. However, the =20 infrastructure is there - and what I would suggest to do is to split =20 current wordnet module into an abstract/base dictionary module and =20 implementation modules, e.g., for wordnet. Depending on how much time =20 Mateusz can contribute to the either we can do that or your team. An initial contribution from Matzeus could be the provision of some = guidelines for splitting the wordnet module. 3) Answer to this question I leave to Mariusz, Maciej, and MarcOnt =20 team :) Hope it was useful, Yes, it was useful enough!=20 However my issue about metadata localization would extend the problem of = the simple addition of new user dictionaries, towards a more large = problem of managing simultaneously, as synonyms, words with the same = concept but in different language (ex. the English word "apple", and the = correspondent Italian word "mela"). I think this is one of the main = problems of effective social inter-language indexing/bookmarking in = shared digital libraries.=20 Giuseppe Cheers, S. On 13 Dec 2007, at 16:50, Giuseppe Bux wrote: > Hi Sebastian, Mariusz! > I would start customization of my local instance of Jeromedl, by =20 > localizing taxonomies, wordnet vocabulary, and indexing properties. =20 > Localization will be targeted to an Italian audience. Here in the =20 > following my envisaged approach and questions about. Please give me =20 > your kind comments and suggestions. > > 1) Localizing taxonomies: localization should be done by =20 > enriching some selected current taxonomy dictionary (ex. DDC, Dmoz, =20 > ACM, =E2=80=A6) with synonyms in local language (i.e. in Italian). = This in =20 > order to manage domain indexing and related resource searching, by =20 > using either English or local (i.e. Italian) terms defined in each =20 > selected dictionary. To do that, I would follow steps should be as =20 > follows: > > a. To extract the RDF description of each dictionary from the =20 > Sesame-Jonto repository, by a query template as follows: > Select distinct * > from {uri} p {value} > where p=3D <http://www.w3.org/2004/02/skos/core#prefLabel> AND uri =20 > like "*http://www.corrib.org/jonto/acm/*" > > obviously, for each query, the =E2=80=9Clike=E2=80=9D value of the = =E2=80=9Cwhere=E2=80=9D =20 > construct must be adapted to the uri of the given taxonomy. > > I have some troubles with the sesame response, i.e.: the query =20 > response in html format gives the expected sesame tabular form, =20 > while the response in rdf format gives me a plain list such as: =20 > uri p value uri p value General Literature uri p value General = =E2=80=A6=E2=80=A6.. > > I need instead a rdf/XML description: How can obain it? Could you, =20 > eventually, provide me with the download site of RDF/XML =20 > descriptions of the dictionaries stored in the sesame-Jonto =20 > repository? > > b. To initiate a dictionary customization project in an RDF =20 > editor, such as Marcont portal or Prot=C3=A8g=C3=A8, by instantiating = it with =20 > the extracted rdf description of the given dictionary and with the =20 > definition of synonyms of its terms, in local language. > c. To update the sesame-jonto repository with the new rdf =20 > description of the given dictionary. > > The =E2=80=9Cmodify=E2=80=9D actions of sesame should support the = updating process. > > 2) Localizing wordnet vocabulary: it should be done simply by =20 > replacing the current wordnet English vocabulary with a =20 > correspondent commercial bi-language wordnet vocabulary (in my =20 > case: Ital-Wordnet): does jeromedl implementation gives specific =20 > constraints to do that? > > 3) Localizing indexing properties: this should be done by =20 > predefining additional marcont properties and make them available, =20 > in the resource uploading form, for selection and instantiation =20 > as xmarcont properties. Really a best approach should be to manage =20 > the original marcont ontology for its localization as above for the =20 > dictionaries: what about this topic in the Marcont project? > > Not more to describe. > > Looking for your kind comments and suggestions, > > Cheers, > Giuseppe > > > > > -------------------------------------------- -- Sebastian Ryszard Kruk -- Lead Researcher, Project Manager -- Semantic Infrastructure Lab, eLearning Cluster -- Digital Enterprise Research Institute=20 -- National University of Ireland, Galway=20 -- mailto: seb...@de... -- GG: 335067, Jabber: s_...@ch... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/=20 -- mobile (IRL): +353 85 7126591 -- VoIP (PL): +48 52 5110114 -------------------------------------------- |
|
From: Sebastian K. <seb...@de...> - 2007-12-13 22:55:38
|
Giuseppe, a quick answer to your questions (although might not be complete): 1) JeromeDL uses JOnto project [http://sf.net/projects/jonto] (yet =20 another from my Corrib cluster) to handle controlled vocabularies. =20 Hence to deliver new taxonomy you just need to have it in a properties =20= file or RDF file (e.g. SKOS compliant), and you simply need to =20 implement two interfaces in java and package it. The whole process =20 does not take much effort. @Mateusz - could you provide a step by step =20= description on a wiki? 2) with wordnet it is more tricky - JOnto uses JWNL library to handle =20= WordNet dictionary. I was always hoping to be able to use other =20 national dictionaries - but we never had time to test it. However, the =20= infrastructure is there - and what I would suggest to do is to split =20 current wordnet module into an abstract/base dictionary module and =20 implementation modules, e.g., for wordnet. Depending on how much time =20= Mateusz can contribute to the either we can do that or your team. 3) Answer to this question I leave to Mariusz, Maciej, and MarcOnt =20 team :) Hope it was useful, Cheers, S. On 13 Dec 2007, at 16:50, Giuseppe Bux wrote: > Hi Sebastian, Mariusz! > I would start customization of my local instance of Jeromedl, by =20 > localizing taxonomies, wordnet vocabulary, and indexing properties. =20= > Localization will be targeted to an Italian audience. Here in the =20 > following my envisaged approach and questions about. Please give me =20= > your kind comments and suggestions. > > 1) Localizing taxonomies: localization should be done by =20 > enriching some selected current taxonomy dictionary (ex. DDC, Dmoz, =20= > ACM, =85) with synonyms in local language (i.e. in Italian). This in =20= > order to manage domain indexing and related resource searching, by =20= > using either English or local (i.e. Italian) terms defined in each =20= > selected dictionary. To do that, I would follow steps should be as =20 > follows: > > a. To extract the RDF description of each dictionary from the =20= > Sesame-Jonto repository, by a query template as follows: > Select distinct * > from {uri} p {value} > where p=3D <http://www.w3.org/2004/02/skos/core#prefLabel> AND uri =20 > like "*http://www.corrib.org/jonto/acm/*" > > obviously, for each query, the =93like=94 value of the =93where=94 =20= > construct must be adapted to the uri of the given taxonomy. > > I have some troubles with the sesame response, i.e.: the query =20 > response in html format gives the expected sesame tabular form, =20 > while the response in rdf format gives me a plain list such as: =20 > uri p value uri p value General Literature uri p value General =85=85.= . > > I need instead a rdf/XML description: How can obain it? Could you, =20= > eventually, provide me with the download site of RDF/XML =20 > descriptions of the dictionaries stored in the sesame-Jonto =20 > repository? > > b. To initiate a dictionary customization project in an RDF =20 > editor, such as Marcont portal or Prot=E8g=E8, by instantiating it = with =20 > the extracted rdf description of the given dictionary and with the =20= > definition of synonyms of its terms, in local language. > c. To update the sesame-jonto repository with the new rdf =20 > description of the given dictionary. > > The =93modify=94 actions of sesame should support the updating = process. > > 2) Localizing wordnet vocabulary: it should be done simply by =20 > replacing the current wordnet English vocabulary with a =20 > correspondent commercial bi-language wordnet vocabulary (in my =20 > case: Ital-Wordnet): does jeromedl implementation gives specific =20 > constraints to do that? > > 3) Localizing indexing properties: this should be done by =20 > predefining additional marcont properties and make them available, =20 > in the resource uploading form, for selection and instantiation =20 > as xmarcont properties. Really a best approach should be to manage =20= > the original marcont ontology for its localization as above for the =20= > dictionaries: what about this topic in the Marcont project? > > Not more to describe. > > Looking for your kind comments and suggestions, > > Cheers, > Giuseppe > > > > > -------------------------------------------- -- Sebastian Ryszard Kruk -- Lead Researcher, Project Manager -- Semantic Infrastructure Lab, eLearning Cluster -- Digital Enterprise Research Institute=20 -- National University of Ireland, Galway=20 -- mailto: seb...@de... -- GG: 335067, Jabber: s_...@ch... -- Skype: sebastiankruk -- WWW: http://www.sebastiankruk.com/=20 -- mobile (IRL): +353 85 7126591 -- VoIP (PL): +48 52 5110114 -------------------------------------------- |
|
From: Mateusz K. <mat...@de...> - 2007-12-12 21:12:23
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Sebastian Kruk pisze: <blockquote cite="mid:DBA...@gm..." type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="MS Exchange Server version 6.5.7638.1"> <title>Re: [s3b-devel] questions for jonto</title> <!-- Converted from text/plain format --> <p><font size="2">1) I meant - why did you comment out adding namespaces to the query <br> (sorry for the shortcut)<br> </font></p> </blockquote> OK, now I see. I changed it when I was moving JOnto to SKOS standard - <a class="moz-txt-link-freetext" href="http://purl.org/dc/elements/1.0/Title">http://purl.org/dc/elements/1.0/Title</a> is now <a class="moz-txt-link-freetext" href="http://www.w3.org/2004/02/skos/core#prefLabel">http://www.w3.org/2004/02/skos/core#prefLabel</a><br> Unfortunately I suppose that you still have old uris in JeromeDL repo, as resources annotated before changes use them. And this could cause some problems...<br> <br> <blockquote cite="mid:DBA...@gm..." type="cite"> <p><font size="2">2) you are right - the solution is not obvious - I think we will have <br> to find some way - @Mariusz - I am counting on your suggestions here<br> </font></p> </blockquote> Well, the problem from pt. 1 is just another proof that the solution is not obvious, though very necessary ;)<br> <blockquote cite="mid:DBA...@gm..." type="cite"> <p><font size="2"><br> S.<br> <br> On 12 Dec 2007, at 00:05, Mateusz Kaczmarek wrote:<br> <br> > Sebastian Kruk pisze:<br> >> Mateusz,<br> >><br> >> a couple of questions related to jonto:<br> >> - why was searchByContent removed ?<br> > I don't know why you ask, but it wasn't. I have the following <br> > methods in<br> > TaxonomyStorage.java:<br> > public Collection<TaxonomyEntry> searchByContent(TaxonomyContext<br> > _context, String property, String content, boolean ignoreCase) and<br> > public Collection<TaxonomyEntry><br> > searchByContentAndTaxonomy(TaxonomyContext _context, String property,<br> > String content, boolean ignoreCase)<br> ><br> >> - what is jonto repository used for? since it contains less<br> >> information than JeromeDL/Joined ?<br> > Well, I just wanted to exploit the already defined repositories. <br> > Before<br> > my changes JOnto used jonto-dmoz repository (as it can still be seen <br> > in<br> > some commented lines, e.g. DdcContext.java:57). I changed the <br> > process of<br> > creating taxonomies, so that now they are stored in jonto repository.<br> > But why? Well, as it is JOnto, it's data is in jonto repository :) But<br> > serious - it's completely unimportant for me, which repository will<br> > JOnto use. So far, the separate repository made tests easier. <br> > Moreover -<br> > I don't know how it really is, but it appears to me that JOnto isn't<br> > subjective to JeromeDL only, and as such an autonomous project it <br> > should<br> > have its own repository.<br> ><br> > Cheers<br> > Mateusz<br> >><br> >> Cheers,<br> >><br> >> S.<br> >><br> >> --------------------------------------------<br> >> -- Sebastian Ryszard Kruk<br> >> -- Lead Researcher, Project Manager<br> >> -- Semantic Infrastructure Lab, eLearning Cluster<br> >> -- Digital Enterprise Research Institute-- National University <br> >> of<br> >> Ireland, Galway-- mailto: <a class="moz-txt-link-abbreviated" href="mailto:seb...@de...">seb...@de...</a><br> >> -- GG: 335067, Jabber: <a class="moz-txt-link-abbreviated" href="mailto:s_...@ch...">s_...@ch...</a><br> >> -- Skype: sebastiankruk<br> >> -- WWW: <a moz-do-not-send="true" href="http://www.sebastiankruk.com/--">http://www.sebastiankruk.com/--</a> mobile (IRL): +353 85 <br> >> 7126591<br> >> -- VoIP (PL): +48 52 5110114<br> >> --------------------------------------------<br> >><br> ><br> > -------------------------------------------------------------------------<br> > SF.Net email is sponsored by:<br> > Check out the new SourceForge.net Marketplace.<br> > It's the best place to buy or sell services for<br> > just about anything Open Source.<br> > <a moz-do-not-send="true" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a><br> > _______________________________________________<br> > s3b-devel mailing list<br> > <a class="moz-txt-link-abbreviated" href="mailto:s3b...@li...">s3b...@li...</a><br> > <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/s3b-devel">https://lists.sourceforge.net/lists/listinfo/s3b-devel</a><br> </font> </p> </blockquote> <br> </body> </html> |