Coder Social home page Coder Social logo

jenasesame's People

Contributors

afs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jenasesame's Issues

Use Jena's reasoners on top of RDF4J

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.

Not compatible with sesame 2.6.x

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.