Thank you!
I'm trying to install the DBpedia Lookup Service.
However, when i try to install with maven:

mvn clean install

I get the following error:

"Project ID: null:jersey-server:bundle:null

Reason: Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null for project null:jersey-server:bundle:null"

Attached you can find the output produced by the commadn mvn -e clean install.

Any ideas?


thanks,
roberto



Il 15/04/2012 23:14, Jona Christopher Sahnwaldt ha scritto:
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


+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building DBpedia Lookup Service
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [install:install-file {execution: install-nx-parser-jar}]
[INFO] Installing /home/roberto/dbpedia-lookup/lookup/lib/nxparser-1.1.jar to 
/home/roberto/.m2/repository/org/semanticweb/yars/nx-parser/1.1/nx-parser-1.1.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:jersey-server:bundle:null

Reason: Cannot find parent: com.sun.jersey:jersey-project for project: 
null:jersey-server:bundle:null for project null:jersey-server:bundle:null


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.sun.jersey:jersey-server:jar': Cannot find parent: 
com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null for 
project null:jersey-server:bundle:null
  com.sun.jersey:jersey-server:jar:1.5

from the specified remote repositories:
  scala-tools.org (http://scala-tools.org/repo-releases/),
  central (http://repo1.maven.org/maven2),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/)

Path to dependency: 
        1) org.dbpedia.lookup:dbpedia-lookup:pom:3.0


        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: 
Unable to get dependency information: Unable to read the metadata file for 
artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent: 
com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null for 
project null:jersey-server:bundle:null
  com.sun.jersey:jersey-server:jar:1.5

from the specified remote repositories:
  scala-tools.org (http://scala-tools.org/repo-releases/),
  central (http://repo1.maven.org/maven2),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/)

Path to dependency: 
        1) org.dbpedia.lookup:dbpedia-lookup:pom:3.0


        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
        at 
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
Caused by: 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable 
to read the metadata file for artifact 'com.sun.jersey:jersey-server:jar': 
Cannot find parent: com.sun.jersey:jersey-project for project: 
null:jersey-server:bundle:null for project null:jersey-server:bundle:null
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
        ... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
parent: com.sun.jersey:jersey-project for project: 
null:jersey-server:bundle:null for project null:jersey-server:bundle:null
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
        ... 25 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 
POM. for project com.sun.jersey:jersey-project at 
/home/roberto/.m2/repository/com/sun/jersey/jersey-project/1.5/jersey-project-1.5.pom
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
        ... 28 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Apr 16 16:55:05 CEST 2012
[INFO] Final Memory: 11M/482M
[INFO] ------------------------------------------------------------------------
------------------------------------------------------------------------------
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

Reply via email to