Class ParserSPARQLExt


  • public class ParserSPARQLExt
    extends SPARQLParser
    Class to parse a SPARQL-Generate query. Use preferably ARQ methods to parse queries, but then cast the returned query to a SPARQLExtQuery. For instance:
     
     SPARQLExtQuery q = (SPARQLExtQuery) QueryFactory.create(query, SPARQLGenerate.SYNTAX);
     
    Author:
    Maxime Lefrançois
    • Constructor Detail

      • ParserSPARQLExt

        public ParserSPARQLExt()
    • Method Detail

      • parse$

        protected Query parse$​(Query query,
                               String queryString)
        Parses the query.
        Specified by:
        parse$ in class SPARQLParser
        Parameters:
        query -
        queryString -
        Returns:
      • parseSubQuery

        public static SPARQLExtQuery parseSubQuery​(Query query,
                                                   String queryString)
        Parses the query.
        Parameters:
        query -
        queryString -
        Returns:
      • parseSubQuery

        public static SPARQLExtQuery parseSubQuery​(String queryString)
        Parses the query.
        Parameters:
        queryString -
        Returns: