support for generic sparql 1.1, minor improvements