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?
RDFOutput.toModel
在jena 2.13.0中不推荐使用ResultSetFormatter
操作,其中保留了占位符,而javadoc引用了RDFOutput
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.