Comunica
    Preparing search index...

    Module @comunica/actor-optimize-query-operation-path-to-patterns - v5.4.0

    Comunica Path to Patterns Optimize Query Operation Actor

    npm version

    An Optimize Query Operation actor that rewrites possible parts of property paths into quad patterns, joins and unions.

    Links become quad patterns, inverse paths swap their subject and object, sequences become joins, and alternatives become unions. Arbitrary-length paths, zero-or-one paths and negated paths are not handled.

    This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

    Click here if you just want to query with Comunica.

    $ yarn add @comunica/actor-optimize-query-operation-path-to-patterns
    

    After installing, this package can be added to your engine's configuration as follows:

    {
      "@context": [
        ...
        "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-optimize-query-operation-path-to-patterns/^5.0.0/components/context.jsonld"
      ],
      "actors": [
        ...
        {
          "@id": "urn:comunica:default:optimize-query-operation/actors#path-to-patterns",
          "@type": "ActorOptimizeQueryOperationPathToPatterns"
        }
      ]
    }
    

    Classes

    ActorOptimizeQueryOperationPathToPatterns