RE: Semantic Event Systems

"Gist" is a small but general ontology that includes gist:Event as a top-level concept.
See
https://www.semanticarts.com/gist/
and
https://ontologies.semanticarts.com/o/gistCore.ttl
Very respectfully,
-Mark Wallace

From: Adam Sobieski <adamsobieski@hotmail.com>
Sent: Thursday, May 5, 2022 4:28 AM
To: semantic-web@w3.org
Subject: Semantic Event Systems

Semantic Web Interest Group,

Hello. I write, today, about ontologies describing events in the sense of computer software, where software objects can produce, or raise, events and other software objects can subscribe to consume, to receive, or to listen to, these events.
Here is a C# example of a semantic event system:


public interface IHasUri

{

    public Uri Uri { get; }

}



public interface IHasReadOnlyMetadataGraph : IHasUri

{

    public IReadOnlyMetadataGraph Metadata { get; }

}



public interface IEventSource : IHasReadOnlyMetadataGraph

{

    public Task Raise(Uri instance, IReadOnlyMetadataGraph data);



    public bool Subscribe(Uri category, IEventHandler listener);

    public bool Unsubscribe(Uri category, IEventHandler listener);

}



public interface IEventHandler

{

    public Task Handle(IEventSource source, Uri instance, IReadOnlyMetadataGraph data);

}

As one can see, event handlers can subscribe to and unsubscribe from event sources and can do so by specifying entire categories of, or types of, events which they are interested in.
As envisioned, there would be an ontology for these scenarios which would include a top-level type for events, various kinds of events, and relations between things and the events which they produce and consume.
I wonder, have others previously considered these ideas about semantic event systems? Are there any existing ontologies describing software events? Thank you.

Best regards,
Adam Sobieski

Received on Tuesday, 10 May 2022 12:33:51 UTC