@comunica/actor-query-operation-bgp-left-deep-smallest-sort

v1.22.0
A bgp-left-deep-smallest-sort query-operation actor
comunica actor query-operation bgp-left-deep-smallest-sort

Comunica BGP left-deep-smallest-sort Query Operation Actor

npm version

A Query Operation actor that handles SPARQL Basic Graph Patterns in a left-deep manner based on the pattern with the smallest item count and sorts the remaining patterns by increasing count.

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.

Install

$ yarn add @comunica/actor-query-operation-bgp-left-deep-smallest-sort

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-bgp-left-deep-smallest-sort/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:sparql-queryoperators.json#myLeftDeepSmallestSortBgpQueryOperator",
      "@type": "ActorQueryOperationBgpLeftDeepSmallestSort",
      "cbqo:mediatorQueryOperation": { "@id": "config-sets:sparql-queryoperators.json#mediatorQueryOperation" }
    }
  ]
}

Config Parameters

npm i @comunica/actor-query-operation-bgp-left-deep-smallest-sort

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 8/30/2021

Downloads