A compact RDF store using suffix arrays