started working on some SPARQL functions