added period replacement in sparql queries