1. A computer-implemented method for translating a SPARQL query, comprising the steps of: parsing said SPARQL query, wherein said parsing step is performed using a parser/lexer; detecting a hidden negative pattern in said parsed SPARQL query, wherein said detecting step is performed using a hidden negative pattern detector; translating said detected hidden negative pattern into an explicit negative pattern, wherein said translating step is performed using a hidden negative pattern translator; separating said explicit negative pattern from a positive pattern in said parsed SPARQL query, wherein said separating step is performed using a separator; translating said explicit negative pattern into a negative portion of an SQL statement, wherein said step of translating said explicit negative pattern is performed using a negative pattern translator; translating said positive pattern into a positive portion of said SQL statement, wherein said step of translating said positive pattern is performed using a positive pattern translator; and combining said negative portion of said SQL statement with said positive portion of said SQL statement, wherein said combining step is performed using a combiner.
1. A computer-implemented method for translating a SPARQL query, comprising the steps of: parsing said SPARQL query, wherein said parsing step is performed using a parser/lexer; detecting a hidden negative pattern in said parsed SPARQL query, wherein said detecting step is performed using a hidden negative pattern detector; translating said detected hidden negative pattern into an explicit negative pattern, wherein said translating step is performed using a hidden negative pattern translator; separating said explicit negative pattern from a positive pattern in said parsed SPARQL query, wherein said separating step is performed using a separator; translating said explicit negative pattern into a negative portion of an SQL statement, wherein said step of translating said explicit negative pattern is performed using a negative pattern translator; translating said positive pattern into a positive portion of said SQL statement, wherein said step of translating said positive pattern is performed using a positive pattern translator; and combining said negative portion of said SQL statement with said positive portion of said SQL statement, wherein said combining step is performed using a combiner. 8. The method according to claim 1 , wherein said explicit negative pattern is in the form of a flag representing a “NOT” logic appended to a triple.