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.

See

IActionInit

Hierarchy (view full)

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.

Range

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].

Range

name: string

The name for this actor.

Default

{<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.

Range

Methods