Metreeca Wire
    Preparing search index...
    • Generates a SPARQL langmatches() call testing a language tag against a range.

      Tests the tag against range by RFC 4647 basic filtering: a match when the tag equals the range or extends it by a subtag. The range is a basic RFC 4647 language range: a sequence of subtags or the standalone * wildcard. Emitted lowercase per the generated-query convention.

      Parameters

      • expression: string

        The expression evaluating to the language tag to test, typically a lang call

      • range: string

        The basic RFC 4647 language range to match against

      Returns string

      The langmatches() call