On 05/08/13 22:14, Rose Beck wrote:
I installed Jena using
http://www.nopash.com/2012/04/installing-jena-tdb-and-joseki-on.html
tutorial.
Can you please suggest how can I upgrade Jena. Do I have to install Jena
from Scratch or is there a command for the same? I am a novice. Please help


Download information:

http://jena.apache.org/download/index.html

and other documentation on http://jena.apache.org/

Note Fuseki replaces Joseki.

You MUST load the database before starting the Fuseki server.

Fuseki has TDB built-in.


You need to:

1/ Set up Java
2/ Get the download apache-jena and jena-fuseki.
3/ Unpack each (they have separate directories).
4/ Run the tdbloader script from apache-jena
5/ Setup Fuseki (see documentation and example configuration files)
6/ Start Fuseki.

        Andy


On Tue, Aug 6, 2013 at 2:32 AM, Andy Seaborne <[email protected]> wrote:

Can someone please suggest as to how can I get rid of this error.

One of the ways is to clean the data in such a manner such that Jena
accepts. However, I dont want to adopt this approach. Is there some other
approach which is available?

Upgrade to TDB to that in Jena 2.10.1 (which is TDB 0.10.1)   This should
have the issue you are facing.

         Andy



On 05/08/13 21:16, Rose Beck wrote:

Hi,

I am trying to load dbpedia 3.7 into
jena-tdb-0.9.0-incubating-**distribution<https://**
repository.apache.org/content/**repositories/releases/org/**
apache/jena/jena-tdb/0.9.0-**incubating/jena-tdb-0.9.0-**
incubating-distribution.tar.gz<https://repository.apache.org/content/repositories/releases/org/apache/jena/jena-tdb/0.9.0-incubating/jena-tdb-0.9.0-incubating-distribution.tar.gz>
**>.

On executing the following command I am getting the error given below:

./bin/tdbloader --loc=/home/data -v /home/data/dbpedia.nq

Error:
http://dbpedia.org/data/**Remote_control.xml<http://dbpedia.org/data/Remote_control.xml>
http://dbpedia.org/resource/**Remote_control<http://dbpedia.org/resource/Remote_control>
http://dbpedia.org/property/**date <http://dbpedia.org/property/date>
"20080116212531"^^
http://www.w3.org/2001/**XMLSchema#int<http://www.w3.org/2001/XMLSchema#int>
com.hp.hpl.jena.datatypes.**DatatypeFormatException: Lexical form
'20080116212531' is not a legal instance of Datatype[
http://www.w3.org/2001/**XMLSchema#int<http://www.w3.org/2001/XMLSchema#int>-> 
class java.lang.Integer] Lexical
form '20080116212531' is not a legal instance of Datatype[
http://www.w3.org/2001/**XMLSchema#int<http://www.w3.org/2001/XMLSchema#int>-> 
class java.lang.Integer] during
parse -org.apache.xerces.impl.dv.**InvalidDatatypeValueException:
cvc-maxInclusive-valid: Value '20080116212531' is not facet-valid with
respect to maxInclusive '2147483647' for type 'int'.
          at
com.hp.hpl.jena.graph.impl.**LiteralLabelImpl.getValue(**
LiteralLabelImpl.java:326)
          at com.hp.hpl.jena.tdb.store.**NodeId.inline(NodeId.java:210)
          at
com.hp.hpl.jena.tdb.nodetable.**NodeTableInline.**getAllocateNodeId(**
NodeTableInline.java:49)
          at
com.hp.hpl.jena.tdb.nodetable.**NodeTupleTableConcrete.addRow(**
NodeTupleTableConcrete.java:**84)
          at
com.hp.hpl.jena.tdb.store.**bulkloader.**LoaderNodeTupleTable.load(**
LoaderNodeTupleTable.java:110)
          at
com.hp.hpl.jena.tdb.store.**bulkloader.BulkLoader$2.send(**
BulkLoader.java:291)
          at
com.hp.hpl.jena.tdb.store.**bulkloader.BulkLoader$2.send(**
BulkLoader.java:261)
          at org.openjena.riot.lang.**LangNTuple.runParser(**
LangNTuple.java:71)
          at org.openjena.riot.lang.**LangBase.parse(LangBase.java:**43)
          at org.openjena.riot.RiotReader.**parseQuads(RiotReader.java:**
138)
          at org.openjena.riot.RiotReader.**parseQuads(RiotReader.java:**
125)
          at org.openjena.riot.RiotReader.**parseQuads(RiotReader.java:**
111)
          at
com.hp.hpl.jena.tdb.store.**bulkloader.BulkLoader.**
loadQuads$(BulkLoader.java:**160)
          at
com.hp.hpl.jena.tdb.store.**bulkloader.BulkLoader.**
loadDataset(BulkLoader.java:**121)
          at com.hp.hpl.jena.tdb.TDBLoader.**loadDataset$(TDBLoader.java:*
*283)
          at com.hp.hpl.jena.tdb.TDBLoader.**loadDataset(TDBLoader.java:**
196)
          at com.hp.hpl.jena.tdb.TDBLoader.**load(TDBLoader.java:75)
          at tdb.tdbloader.loadQuads(**tdbloader.java:163)
          at tdb.tdbloader.exec(tdbloader.**java:122)
          at arq.cmdline.CmdMain.**mainMethod(CmdMain.java:97)
          at arq.cmdline.CmdMain.mainRun(**CmdMain.java:59)
          at arq.cmdline.CmdMain.mainRun(**CmdMain.java:46)
          at tdb.tdbloader.main(tdbloader.**java:53)

Can someone please suggest as to how can I get rid of this error.

One of the ways is to clean the data in such a manner such that Jena
accepts. However, I dont want to adopt this approach. Is there some other
approach which is available?





Reply via email to