A base actor for listening to SPARQL serialize events that has fixed media types.

Actor types:

  • Input: IActionSparqlSerializeOrMediaType: A serialize input or a media type input.
  • Test:
  • Output: IActorQueryResultSerializeOutputOrMediaType: The serialized quads.

IActionInit

Hierarchy (View Summary)

Implements

Constructors

Properties

Actor that must be registered in the bus before this actor.

The bus this actor subscribes to.

mediaTypeFormats: Record<string, string>

A record of media types, with media type name as key, and its format IRI as value.

mediaTypePriorities: Record<string, number>

A record of media types, with media type name as key, and its priority as value. Priorities are numbers between [0, 1].

name: string

The name for this actor.

{<rdf:subject>}
priorityScale: number

A multiplier for media type priorities. This can be used for keeping the original media types in place, but scaling all of their scores with a certain value.

Methods