I am looking to optimize the below query,currently the query takes about 1m 20sec with about 213500 triples I am looking for any optimization suggestion for the query