You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Joël Kuiper <me...@joelkuiper.eu> on 2015/08/22 20:19:14 UTC
Convert a Jena 3.0 ResultSet to Model
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 StackOverflow https://stackoverflow.com/questions/32157314/convert-a-jena-resultset-to-model)
Re: Convert a Jena 3.0 ResultSet to Model
Posted by Andy Seaborne <an...@apache.org>.
On 22/08/15 19:19, Joël Kuiper wrote:
> 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 StackOverflow https://stackoverflow.com/questions/32157314/convert-a-jena-resultset-to-model)
>
RDFOutput.toModel
(the operation was moved, with a deprecated placeholder and javadoc
referring to RDFOutput in 2.13.0)
Andy