org.jrdf.sparql.parser
Interface SparqlParser
- All Known Implementing Classes:
- SableCcSparqlParser
public interface SparqlParser
Parses SPARQL textual queries into queries.
- Version:
- $Revision: 982 $
- Author:
- Tom Adams
parseQuery
Query parseQuery(Graph graph,
String queryText)
throws InvalidQuerySyntaxException
- Parses a textual query into a
Query
object.
- Parameters:
queryText
- The textual query to parse.
- Returns:
- A query object representing the queryText, will never be
null
.
- Throws:
InvalidQuerySyntaxException
- If the syntax of the query
is incorrect.