Parse sparql query results to data objects
- Implemented sparql json result parser wrapper for the
sparqljson-parse
library. Integrated it in therepository#query
method. Implemented tests. - Implemented sparql xml result parser wrapper for the
sparqlxml-parse
library. Implemented tests. - Moved test data files in their specific directory in order to have consistent test package structure and updated specs.
- Introduced an optional parser config argument to
ContentTypeParser.parse
method. The reason is to allow parser wrappers to switch the behavior of the underlying parsers if necessary.