optimized dimension_options sparql query