npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@comunica/actor-rdf-resolve-quad-pattern-hypermedia

v2.10.1

Published

A hypermedia rdf-resolve-quad-pattern actor

Downloads

7,519

Readme

Comunica Hypermedia RDF Resolve Quad Pattern Actor

npm version

An RDF Resolve Quad Pattern actor that handles hypermedia-based sources.

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-rdf-resolve-quad-pattern-hypermedia

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-resolve-quad-pattern-hypermedia/^2.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-resolve-quad-pattern/actors#hypermedia",
      "@type": "ActorRdfResolveQuadPatternHypermedia",
      "mediatorDereferenceRdf": { "@id": "urn:comunica:default:dereference-rdf/mediators#main" },
      "mediatorMetadata": { "@id": "urn:comunica:default:rdf-metadata/mediators#main" },
      "mediatorMetadataExtract": { "@id": "urn:comunica:default:rdf-metadata-extract/mediators#main" },
      "mediatorRdfResolveHypermedia": { "@id": "urn:comunica:default:rdf-resolve-hypermedia/mediators#main" },
      "mediatorRdfResolveHypermediaLinks": { "@id": "urn:comunica:default:rdf-resolve-hypermedia-links/mediators#main" },
      "mediatorRdfResolveHypermediaLinksQueue": { "@id": "urn:comunica:default:rdf-resolve-hypermedia-links-queue/mediators#main" }
    }
  ]
}

Config Parameters

  • cacheSize: The maximum number of entries in the LRU cache, set to 0 to disable, defaults to 100.
  • maxIterators: The maximum number of links that can be followed in parallel, defaults to 64.
  • aggregateStore: If all discovered quads across all links from a seed source should be indexed in an aggregated store, to speed up later calls. This should only be used for sources without filter factor. Defaults to false.
  • httpInvalidator: An optional actor that listens to HTTP invalidation events.
  • mediatorDereferenceRdf: A mediator over the RDF Dereference bus.
  • mediatorMetadata: A mediator over the RDF Metadata bus.
  • mediatorMetadataExtract: A mediator over the RDF Metadata Extract bus.
  • mediatorRdfResolveHypermedia: A mediator over the RDF Resolve Hypermedia bus.
  • mediatorRdfResolveHypermediaLinks: A mediator over the RDF Resolve Hypermedia Links bus.
  • mediatorRdfResolveHypermediaLinksQueue: A mediator over the RDF Resolve Hypermedia Links Queue bus.