New sparql lib and additional queries and methods