transform sparqlresponse into work mappings ready for indexing