Traqula docs
    Preparing search index...

    Module @traqula/rules-sparql-1-1-adjust

    Traqula Rules SPARQL 1.1 + ADJUST package

    npm version

    Traqula rules SPARQL 1.1 + ADJUST contains additional grammar rules and lexer tokens for the ADJUST built-in function, extending the SPARQL 1.1 rules.

    npm install @traqula/rules-sparql-1-1-adjust
    

    or

    yarn add @traqula/rules-sparql-1-1-adjust
    
    Note

    Minor versions keep the name, signature and behavior of this package's rules, but can add rules or change how existing rules are implemented, such as which rules they call. This only affects projects that patch, delete or individually register rules. See versioning.

    Export Description
    gram.* Grammar rules for the ADJUST built-in function
    lex.* Lexer token for the ADJUST keyword

    This package is used by @traqula/parser-sparql-1-1-adjust. The ADJUST function allows adjusting date/time values in SPARQL queries:

    SELECT (ADJUST(?date, "-PT10H"^^xsd:dayTimeDuration) AS ?adjusted) WHERE { ... }
    

    For guidance on extending the grammar, see the guidelines for dependent projects.

    Namespaces

    gram
    lex