- From: Mark Wallace <mark.wallace@semanticarts.com>
- Date: Tue, 10 May 2022 12:33:36 +0000
- To: Adam Sobieski <adamsobieski@hotmail.com>, "semantic-web@w3.org" <semantic-web@w3.org>
- Message-ID: <BN6PR11MB4019D03FFC323B099AD05233E1C99@BN6PR11MB4019.namprd11.prod.outlook.com>
"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