Class Syntax


public class Syntax extends Symbol
Symbols for query language syntaxes
  • Field Details

    • syntaxSPARQL_10

      public static final Syntax syntaxSPARQL_10
      The syntax that the DAWG working group defined.
    • syntaxSPARQL_11

      public static final Syntax syntaxSPARQL_11
      The syntax that the SPARQL 1.1 working group has defined.
    • syntaxSPARQL_12

      public static final Syntax syntaxSPARQL_12
      The syntax that is SPARQL 1.2 from the RDF-star working group.
    • syntaxARQ

      public static final Syntax syntaxARQ
      The query syntax for extended SPARQL.
    • syntaxAlgebra

      public static final Syntax syntaxAlgebra
      SPARQL algebra (SSE syntax) - custom extension.
    • defaultSyntax

      public static Syntax defaultSyntax
      The system default syntax
    • defaultQuerySyntax

      public static Syntax defaultQuerySyntax
      The name of the default query language for query parsing. The default query language syntax must be capable of accepting any SPARQL query but may also accept extensions.
    • defaultUpdateSyntax

      public static Syntax defaultUpdateSyntax
      The name of the default update language for update parsing. The default update language syntax must be capable of accepting any SPARQL query but may also accept extensions.
    • syntaxSPARQL

      public static final Syntax syntaxSPARQL
      The latest SPARQL query syntax - no ARQ syntax extensions.
    • querySyntaxNames

      public static TranslationTable<Syntax> querySyntaxNames
    • updateSyntaxNames

      public static TranslationTable<Syntax> updateSyntaxNames
  • Method Details

    • make

      public static Syntax make(String uri)
    • guessFileSyntax

      public static Syntax guessFileSyntax(String url)
    • guessFileSyntax

      public static Syntax guessFileSyntax(String url, Syntax defaultSyntax)
      Guess the syntax (query and update) based on filename
    • guessQueryFileSyntax

      public static Syntax guessQueryFileSyntax(String url)
      Guess the query syntax based on file name
    • guessQueryFileSyntax

      public static Syntax guessQueryFileSyntax(String url, Syntax defaultSyntax)
      Guess the query syntax based on file name
    • guessUpdateFileSyntax

      public static Syntax guessUpdateFileSyntax(String url)
      Guess the update syntax based on file name
    • guessUpdateFileSyntax

      public static Syntax guessUpdateFileSyntax(String url, Syntax defaultSyntax)
      Guess the update syntax based on file name
    • lookup

      public static Syntax lookup(String s)