[Ontoware-list] semversion status;getting started

ravi mannan ravimannan2002 at yahoo.com
Sun Jul 8 02:53:32 CEST 2007


Hello,

    I'm a student and I've been looking at Semversion.
 I've stumbled upon Semversion from some whitepapers I
“googled.”  I've been having problems doing
read/writes to a database using the Jena API.  The
problem comes from blank nodes being added to the
model from the database that are from an incoming, new
model.  Semversion and “blank node enrichment” seems
to tackle this problem, among many other things. 
Needless to say, I want to try Semversion.
    Also, I've downloaded the
semversion-eclipse-all.zip file and setup the project
in Eclipse.  I'm trying to run the
org.ontoware.semversion.example.SimpleExample class,
and I get an exception (see below).  It looks like
SemVersion calls SemVersionImpl which calls
ts.load(storageDir) on line 88 in the
SemVersionImpl.startup() method.  The method can
successfully load the "semversion.trix.xml" file it's
looking file, however this file is empty and I have no
idea what to put in it.  Could someone offer me
assistance or show me some documentation to help me
get started? I'd like to just start using the APIs to
learn more about the project.

Thank you very much,
Ravi Mannan

----------------------------------------------------------------------------------------------


Exception in thread "main"
org.xml.sax.SAXParseException: Premature end of file.
	at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
	at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
	at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
	at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
	at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXParser.parse(TriXParser.java:94)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXParser.parse(TriXParser.java:83)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXReader.read(TriXReader.java:58)
	at
de.fuberlin.wiwiss.ng4j.impl.GraphReaderService.readInto(GraphReaderService.java:193)
	at
de.fuberlin.wiwiss.ng4j.impl.NamedGraphSetIO.read(NamedGraphSetIO.java:36)
	at
org.ontoware.semversion.impl.TripleStore.load(TripleStore.java:64)
	at
org.ontoware.semversion.impl.SemVersionImpl.startup(SemVersionImpl.java:88)
	at
org.ontoware.semversion.impl.SemVersionImpl.<init>(SemVersionImpl.java:57)
	at
org.ontoware.semversion.SemVersion.<init>(SemVersion.java:17)
	at
org.ontoware.semversion.example.EvenSimplerExample.main(EvenSimplerExample.java:11)
com.hp.hpl.jena.shared.JenaException: rethrew:
org.xml.sax.SAXParseException: Premature end of file.
	at
de.fuberlin.wiwiss.ng4j.trix.TriXReader.read(TriXReader.java:62)
	at
de.fuberlin.wiwiss.ng4j.impl.GraphReaderService.readInto(GraphReaderService.java:193)
	at
de.fuberlin.wiwiss.ng4j.impl.NamedGraphSetIO.read(NamedGraphSetIO.java:36)
	at
org.ontoware.semversion.impl.TripleStore.load(TripleStore.java:64)
	at
org.ontoware.semversion.impl.SemVersionImpl.startup(SemVersionImpl.java:88)
	at
org.ontoware.semversion.impl.SemVersionImpl.<init>(SemVersionImpl.java:57)
	at
org.ontoware.semversion.SemVersion.<init>(SemVersion.java:17)
	at
org.ontoware.semversion.example.EvenSimplerExample.main(EvenSimplerExample.java:11)
Caused by: org.xml.sax.SAXParseException: Premature
end of file.
	at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
	at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
	at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
	at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
	at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXParser.parse(TriXParser.java:94)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXParser.parse(TriXParser.java:83)
	at
de.fuberlin.wiwiss.ng4j.trix.TriXReader.read(TriXReader.java:58)
	... 7 more




       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  



More information about the Ontoware-list mailing list