additional work on sparql code