Hello, Semantic Complex Event Processing, and Narratology

RDF Stream Processing Community Group,

Hello. I am new to the RSP CG and am interested in the overlaps between RDF stream processing, complex event processing, and computational narratology.

I am recently exploring a number of interrelated topics and approaches including that event or message objects could each have an Id property and an accompanying semantic dataset or graph, available via an About property.

public interface IEvent
{
   public INode Id { get; }
   public ITripleStore About { get; }
}

I am considering that such interfaces would allow developers to have instant traction with respect to processing individual events or messages. Developers could be provided with semantic starting points, in this case the id's of things that messages' or events' graphs or datasets were primarily about. For example, events or messages could each describe one event, in another sense of the word, occurring in some unfolding story.

I am also recently exploring SPARQL query templates which would allow abstract SPARQL query patterns to be reused across message instances. A SPARQL query template could be instantiated with a message's id to produce a concrete SPARQL query, for example a concrete ASK query about the specific event or message.

A SPARQL query template might be represented as a text string using a popular double-curly-bracket notation, e.g., "{{?variable}}", where template variable parameters could, then, be mechanically substituted with provided arguments to produce syntactically-valid concrete SPARQL queries.

A SPARQL query template, for example, might contain a substring, "{{?id}}", which could be replaced by a particular event's id to produce a concrete query pertaining to that specific event or message.

A SPARQL query object could provide a "Substitute(variable, node)" method, or a similar extension method, for developers to use to replace one SPARQL variable in it with one URI node, returning a SPARQL query object.

I am also interested in state-machines and automata as pertaining to these topics and approaches, e.g., with respect to their uses in processing streams of graphs or datasets.


Best regards,
Adam Sobieski
http://www.phoster.com

Received on Tuesday, 16 December 2025 23:30:21 UTC