Class ParsedGraphQuery

Direct Known Subclasses:
ParsedDescribeQuery, ParsedGraphTemplate

public class ParsedGraphQuery extends ParsedQuery
A query forumalated in the OpenRDF query algebra that produces an RDF graph (a set of statements) as its result.
Author:
Arjohn Kampman
  • Constructor Details

    • ParsedGraphQuery

      public ParsedGraphQuery()
      Creates a new graph query. To complete this query, a tuple expression needs to be supplied to it using ParsedQuery.setTupleExpr(TupleExpr).
    • ParsedGraphQuery

      public ParsedGraphQuery(Map<String,String> namespaces)
      Creates a new graph query. To complete this query, a tuple expression needs to be supplied to it using ParsedQuery.setTupleExpr(TupleExpr).
      Parameters:
      namespaces - A mapping of namespace prefixes to namespace names representing the namespaces that are used in the query.
    • ParsedGraphQuery

      public ParsedGraphQuery(TupleExpr tupleExpr)
      Creates a new graph query for the supplied tuple expression.
      Parameters:
      tupleExpr - A tuple expression representing the query, formulated in Sail Query Model objects.
    • ParsedGraphQuery

      public ParsedGraphQuery(String sourceString, TupleExpr tupleExpr)
      Creates a new graph query for the supplied tuple expression.
      Parameters:
      tupleExpr - A tuple expression representing the query, formulated in Sail Query Model objects.
    • ParsedGraphQuery

      public ParsedGraphQuery(TupleExpr tupleExpr, Map<String,String> namespaces)
      Creates a new graph query.
      Parameters:
      tupleExpr - A tuple expression representing the query, formulated in Sail Query Model objects.
      namespaces - A mapping of namespace prefixes to namespace names representing the namespaces that are used in the query.
    • ParsedGraphQuery

      public ParsedGraphQuery(String sourceString, TupleExpr tupleExpr, Map<String,String> namespaces)
      Creates a new graph query.
      Parameters:
      tupleExpr - A tuple expression representing the query, formulated in Sail Query Model objects.
      namespaces - A mapping of namespace prefixes to namespace names representing the namespaces that are used in the query.
  • Method Details