Comparing two SPARQL queries in Jena
问题 I want to know whether two SPARQL queries are logically equivalent, for e.g. suppose I have two queries as follows, how can I know if they are equivalent ? String query1= "SELECT ?name where { <http://www.example.com/P500> a <http://www.example.com/Parking>; " + "<http://www.example.com/name> ?name .}"; String query2= "SELECT ?name where { <http://www.example.com/P500> <http://www.example.com/name> ?name;" + " a <http://www.example.com/Parking> .}"; The codes below doesn't perform a logical