Fixed handling of SPARQL results to obtain all results before closing query.
Merge branch 'master' of github.com:phenoscape/phenoscape-kb-services