On Tue, 25 May 2010, R. Tyler Ballance wrote: > Howdy everybody, I'm doing some experiments with dbpedia and I'm trying to get > the data sets imported into sesame and running into to troubles.
For what it's worth, I finally got things working properly with Sesame backed
by PostgreSQL.
I had to modify the console script to include the jars in /usr/share/java
properly in the classpath of the invocation the console:
#!/bin/sh
JAVA_OPT=-mx512m
lib="$(dirname "${0}")/../lib"
cplib="/usr/share/java/"
java $JAVA_OPT -cp "$lib/$(ls "$lib"|xargs |sed "s; ;:$lib/;g"):$cplib/$(ls
"$cplib" | xargs | sed "s; ;:$cplib/;g")" org.openrdf.console.Console $*
With this setup properly, I was able to create a PostgreSQL-backed repository
and
start loading the .nt files in via:
console> open dbpedia.
dbpedia> load file:///path/to/wikipedia_links_en.nt.
Cheers,
-R. Tyler Ballance
--------------------------------------
Jabber: [email protected]
GitHub: http://github.com/rtyler
Identica: http://identi.ca/dero
Twitter: http://twitter.com/agentdero
Blog: http://unethicalblogger.com
pgpuNyYpU0pYU.pgp
Description: PGP signature
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
