afs / jenasesame Goto Github PK
View Code? Open in Web Editor NEWBridges between Jena and Sesame
License: Other
Bridges between Jena and Sesame
License: Other
Is it feasible to lift this project to RDF4J and to use Jena's reasoning infrastructure on top of an RDF4J repository?
Another option could also be to extract Jena's reasoners and adapt them to be usable for both frameworks.
The Maven repo http://openjena.org/repo-dev in the README.txt file is not working.
Beginning with sesame 2.6.x the binary exchange format changed.
com.hp.hpl.jena.shared.JenaException: org.openrdf.repository.RepositoryException: Malformed query result from server
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.getNamespaces(JenaSesameDatasetPrefixStorage.java:72)
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.readPrefixMap(JenaSesameDatasetPrefixStorage.java:135)
at org.openjena.jenasesame.impl.GraphPrefixesProjection.getNsPrefixMap(GraphPrefixesProjection.java:52)
at com.hp.hpl.jena.shared.impl.PrefixMappingImpl.setNsPrefixes(PrefixMappingImpl.java:100)
at com.hp.hpl.jena.graph.compose.Dyadic.(Dyadic.java:31)
at com.hp.hpl.jena.graph.compose.DisjointUnion.(DisjointUnion.java:24)
at com.hp.hpl.jena.rdf.model.impl.ModelReifier.withHiddenStatements(ModelReifier.java:57)
at com.hp.hpl.jena.rdf.model.ModelFactory.withHiddenStatements(ModelFactory.java:130)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:468)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:458)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.write(ModelCom.java:271)
at at.sti2.util.triplestore.MatchingTest.testSimilarity(MatchingTest.java:44)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.openrdf.repository.RepositoryException: Malformed query result from server
at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:975)
at org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:768)
at org.openrdf.http.client.HTTPClient.getNamespaces(HTTPClient.java:750)
at org.openrdf.repository.http.HTTPRepositoryConnection.getNamespaces(HTTPRepositoryConnection.java:324)
at org.openjena.jenasesame.impl.JenaSesameDatasetPrefixStorage.getNamespaces(JenaSesameDatasetPrefixStorage.java:61)
... 35 more
Caused by: org.openrdf.query.resultio.QueryResultParseException: Incompatible format version: 4
at org.openrdf.query.resultio.binary.BinaryQueryResultParser.parse(BinaryQueryResultParser.java:118)
at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:969)
... 39 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.