interface IActorQueryParseSparqlArgs {
    beforeActors?: Actor<
        IActionQueryParse,
        IActorTest,
        IActorQueryParseOutput,
        undefined,
    >[];
    bus: Bus<
        Actor<IActionQueryParse, IActorTest, IActorQueryParseOutput, undefined>,
        IActionQueryParse,
        IActorTest,
        IActorQueryParseOutput,
        undefined,
    >;
    busFailMessage?: string;
    name: string;
    prefixes?: Record<string, string>;
}

Hierarchy (View Summary)

Properties

beforeActors?: Actor<
    IActionQueryParse,
    IActorTest,
    IActorQueryParseOutput,
    undefined,
>[]

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

bus: Bus<
    Actor<IActionQueryParse, IActorTest, IActorQueryParseOutput, undefined>,
    IActionQueryParse,
    IActorTest,
    IActorQueryParseOutput,
    undefined,
>

The bus this actor subscribes to.

busFailMessage?: string

The message that will be configured in the bus for reporting failures.

This message may be a template string that contains references to the executed action. For example, the following templated string is allowed: "RDF dereferencing failed: no actors could handle ${action.handle.mediaType}"

name: string

The name for this actor.

{<rdf:subject>}
prefixes?: Record<string, string>

Default prefixes to use

{{
* "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
* "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
* "owl": "http://www.w3.org/2002/07/owl#",
* "xsd": "http://www.w3.org/2001/XMLSchema#",
* "dc": "http://purl.org/dc/terms/",
* "dcterms": "http://purl.org/dc/terms/",
* "dc11": "http://purl.org/dc/elements/1.1/",
* "foaf": "http://xmlns.com/foaf/0.1/",
* "geo": "http://www.w3.org/2003/01/geo/wgs84_pos#",
* "dbpedia": "http://dbpedia.org/resource/",
* "dbpedia-owl": "http://dbpedia.org/ontology/",
* "dbpprop": "http://dbpedia.org/property/",
* "schema": "http://schema.org/",
* "skos": "http://www.w3.org/2008/05/skos#"
* }}