Hi there, I just added a shell script to dbpedia lookup that makes using mvn more convenient. If you'e on UN*X, you can type
./run Indexer instead of mvn scala:run -Dlauncher=Indexer and ./run Indexer indexDir redirectsFile data instead of mvn scala:run -Dlauncher=Indexer "-DaddArgs= indexDir|redirectsFile|data" Not a big deal, but quite nice. Tested with bash, may also work with other shells. Sorry, no Windows version yet. If anyone is good with Windows batch files, such a script for Windows would be welcome! Cheers, JC On Sun, Apr 15, 2012 at 22:56, Pablo Mendes <pablomen...@gmail.com> wrote: > > Hi Roberto, > Thanks for your offer. > > You can clone it with mercurial and then build it with maven2 > > hg clone http://dbpedia.hg.sourceforge.net:8000/hgroot/dbpedia/lookup > mvn clean install > > You can download the necessary index from here: > http://spotlight.dbpedia.org/download/lookup_index.tgz > > Then you can just run the server: > mvn scala:run -Dlauncher=Indexer > > To create the necessary index, you can run: > mvn scala:run -Dlauncher=Indexer "-DaddArgs= indexDir|redirectsFile|data" > > indexDir is the output directory that will hold the searchable structures > redirectsFile is the homonymous dbpedia data set > data is a collection of files with the properties you want to index. > > I have never run this myself, but it seems from reading source code [1] that > it uses at least the lexicalization dataset, categories, abstracts and > instance types. If you manage to run this, would you be so kind to update > the documentation at the wiki? > http://wiki.dbpedia.org/lookup/install > > Cheers, > Pablo > > [1] > http://dbpedia.hg.sourceforge.net/hgweb/dbpedia/lookup/file/475a32257232/src/main/scala/org/dbpedia/lookup/util/DBpedia2Lucene.scala > > > On Sun, Apr 15, 2012 at 8:39 PM, Roberto Mirizzi <roberto.miri...@gmail.com> > wrote: >> >> Il 15/04/2012 20.24, Pablo Mendes ha scritto: >> >> It seems to have gotten too popular. :) >> >> We have been trying to shift resources around, as many of our servers are >> a bit under pressure. Hopefully we'll manage to find a solution soon. >> >> I'd recommend considering hosting your own mirror if you're using it as an >> effective part of an application, rather than for testing out some >> prototype. >> >> >> I'd be happy to host a mirror by my own, we have already loaded the >> DBpedia dumps on Virtuoso. Where could I find the source code or some hints >> to set a mirror for the wonderful lookup service? Here [1] there's not so >> much information about it. >> >> [1] http://dbpedia.org/lookup >> >> cheers, >> roberto >> >> >> >> >> Cheers, >> Pablo >> >> On Sun, Apr 15, 2012 at 8:06 PM, Roberto Mirizzi >> <roberto.miri...@gmail.com> wrote: >>> >>> Why is it so slow in providing results (20, 30 seconds and more)? :-( >>> Last time I used it, it was great... >>> >>> cheers, >>> roberto >>> >>> >>> Il 21/03/2012 16.53, Pablo Mendes ha scritto: >>> >>> Thanks for the report. It's restarting. >>> >>> On Wed, Mar 21, 2012 at 4:31 PM, Nemanja Vukosavljevic >>> <nemanja.vukosavlje...@gmail.com> wrote: >>>> >>>> Hi guys, >>>> >>>> It looks like that Dbpedia lookup service is down but only the Keyword >>>> Search API. It gives back HTTP 500 error. On the other hand, Prefix Search >>>> API works like a charm. >>>> >>>> Cheers, >>>> Nemanja >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF email is sponsosred by: >>>> Try Windows Azure free for 90 days Click Here >>>> http://p.sf.net/sfu/sfd2d-msazure >>>> _______________________________________________ >>>> Dbpedia-discussion mailing list >>>> Dbpedia-discussion@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion >>>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF email is sponsosred by: >>> Try Windows Azure free for 90 days Click Here >>> http://p.sf.net/sfu/sfd2d-msazure >>> >>> >>> >>> _______________________________________________ >>> Dbpedia-discussion mailing list >>> Dbpedia-discussion@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion >>> >>> >> >> > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Dbpedia-discussion mailing list > Dbpedia-discussion@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion