@faubulous/mentor-rdf-serializers
    Preparing search index...

    Class SparqlFormatter

    Formatter for SPARQL queries and updates.

    Uses the W3C-compliant SparqlLexer from mentor-rdf-parsers for tokenization.

    This formatter can:

    • Format SPARQL 1.1/1.2 queries and updates
    • Normalize keyword casing
    • Apply consistent indentation
    • Align triple patterns
    • Preserve comments
    • Preserve source newlines and blank lines

    Hierarchy (View Summary)

    Implements

    • ISparqlFormatter
    Index

    Constructors

    Methods