reading diameter from SPARQL