java.lang.NoSuchMethodError: org.apache.jena.sparql.core.assembler.AssemblerUtils.registerDataset(Lorg/apache/jena/rdf/model/Resource;Lorg/apache/jena/assembler/Assembler;)V

2016-05-07 Thread Joël Kuiper
When trying to use org.apache.jena.query.DatasetFactory/assemble with [org.apache.jena/jena-text "3.1.1-SNAPSHOT”] [org.apache.jena/jena-core "3.1.1-SNAPSHOT"] I get the following error message: java.lang.NoSuchMethodError: org.apache.jena.sparql.core.assembler.AssemblerUtils.registerDataset(Lo

Bulk load with text index and TDBLoader

2016-02-12 Thread Joël Kuiper
Hey all, I would like to use TDB with a text index, the easiest way it seems is to set this is up with an assembler file. However if I use TDBFactory.assembleDataset or DatasetFactory.assemble I can no longer use the TDBLoader, since TDBInternal/getDatasetGraphTDB returns null. Is there a way

Re: Optimising path to root concept SPARQL query

2016-02-01 Thread Joël Kuiper
ht have been worked, but > this is more by chance. > > On 01.02.2016 16:13, Joël Kuiper wrote: >> Well the query does what it needs to do, for a given concept find the path >> to a root, for example: >> >> >> query: >> SELECT DISTINCT ?parent >&

Re: Optimising path to root concept SPARQL query

2016-02-01 Thread Joël Kuiper
hy. > > Regards, > --Paul > > On Feb 1, 2016, at 07:05, Joël Kuiper <mailto:j...@joelkuiper.eu>> wrote: > >> This message has no content.

Re: Optimising path to root concept SPARQL query

2016-02-01 Thread Joël Kuiper
ntermediates > On 01 Feb 2016, at 13:49, Andy Seaborne wrote: > > On 01/02/16 12:11, Joël Kuiper wrote: >> Hey all, >> >> I’m trying to run a query to find the path to the root concept of a graph. >> The entries are defined as rdfs:subClassOf >> >> C

Re: Optimising path to root concept SPARQL query

2016-02-01 Thread Joël Kuiper
> On 01 Feb 2016, at 13:49, Andy Seaborne wrote: > > On 01/02/16 12:11, Joël Kuiper wrote: >> Hey all, >> >> I’m trying to run a query to find the path to the root concept of a graph. >> The entries are defined as rdfs:subClassOf >> >> Currently

Optimising path to root concept SPARQL query

2016-02-01 Thread Joël Kuiper
Hey all, I’m trying to run a query to find the path to the root concept of a graph. The entries are defined as rdfs:subClassOf Currently I’m using PREFIX skos: > PREFIX rdfs:

Re: Word on CommonsRDF

2015-08-28 Thread Joël Kuiper
ne > as a test of the designs. > > Andy > >> On Aug 26, 2015, at 7:45 AM, Joël Kuiper wrote: >> >>> Hey all, >>> >>> I just got wind of CommonsRDF https://commonsrdf.incubator.apache.org/, and >>> it looks great! >>> It

Word on CommonsRDF

2015-08-26 Thread Joël Kuiper
) Can somebody fill me in on the progress of this project? Thanks in advance! --- Joël Kuiper www.joelkuiper.eu signature.asc Description: Message signed with OpenPGP using GPGMail

[ANNOUNCE] YeSPARQL 0.1, a Clojure library for SPARQL queries based on Jena

2015-08-22 Thread Joël Kuiper
Hey all, I’m pleased to announce the first public version of YeSPARQL. A library for canonically writing SPARQL queries in Clojure. Under the hood it uses a lot of Jena, so comments and suggestions are much appreciated! https://github.com/joelkuiper/yesparql The library itself was heavily inspi

Convert a Jena 3.0 ResultSet to Model

2015-08-22 Thread Joël Kuiper
Hey all, I'm trying to convert a ResultSet to a Model in Apache Jena 3.0. Previously I used the ResultSetFormatter.toModel function, but this seems to have been removed. What's the best way currently to get a Model (for serialization to JSON-LD and RDF/XML) of the ResultSet? (also on StackOve