Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
Jena 2.11.1
-
None
Description
Currently the result set parsing and writing APIs are somewhat messy and arbitrary. They don't follow a consistent interface or share any common implementation and there is very limited registry support.
For example wherever we decide how to parse SPARQL results we typically end up writing complex if(contentType.equals(CONSTANT)) type statements.
It would be better if there was a consistent interface for results parser and a proper registry a la RDFLanguages so we can more easily work with results.