Options
All
  • Public
  • Public/Protected
  • All
Menu

Module bus-rdf-reason

Comunica Bus RDF Reason

npm version

A comunica bus for reasoning over RDF data

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/bus-rdf-reason

Usage

Bus usage

  • Context: "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-rdf-reason/^1.0.0/components/context.jsonld"
  • Bus name: cbrr:Bus/RdfReason

Creating actors on this bus

Actors extending ActorRdfReason are automatically subscribed to this bus.

Index

Type aliases

IActorRdfReasonArgs

IActorRdfReasonArgs: IActorArgs<IActionRdfReason, IActorTest, IActorRdfReasonOutput>

MediatorRdfReason

MediatorRdfReason: Mediate<IActionRdfReason, IActorRdfReasonOutput>

Functions

getContextWithImplicitDataset

  • getContextWithImplicitDataset(context: IActionContext): IActionContext

getExplicitSources

  • getExplicitSources(context: IActionContext): IDataSource[]

getImplicitSource

  • getImplicitSource(context: IActionContext): IDataSource & IDataDestination

getUnionSources

  • getUnionSources(context: IActionContext): IDataSource[]

implicitDatasetFactory

  • implicitDatasetFactory(context: IActionContext): IDataSource & IDataDestination

implicitGroupFactory

  • implicitGroupFactory(context: IActionContext): IReasonGroup

setImplicitDestination

  • setImplicitDestination(context: IActionContext): IActionContext

setImplicitSource

  • setImplicitSource(context: IActionContext): IActionContext

setReasoningStatus

  • setReasoningStatus(context: IActionContext, status: IReasonGroup["status"]): IActionContext

setUnionSource

  • setUnionSource(context: IActionContext): IActionContext

Generated using TypeDoc