refactor queryTransitiveProperty so the 'direct' response field is a simple array, in preparation for fixes to issue #48
saner SPARQL query indents
avoid making multiple SPARQL calls in queryTransitiveProperty. Fixes #48