Ontology to describe JSAP files and related concepts.

This document is a work in progress

Introduction

"Longer intro text shown in the Introduction section."@en

Axiomatization

Classes

Consumer

IRI: https://onto.vaimee.com/jsap#Consumer

A component of the PAC architecture that either makes a SPARQL subscription or a SPARQL update, but not both.
Sub-class ofPac Component
Enumeration members

Forced Binding

IRI: https://onto.vaimee.com/jsap#ForcedBinding

Represents a forced variable binding used in a SPARQL operation within a JSAP.
Sub-class ofSPARQL Fragment
Super-class ofLiteral FB
URI FB

JSAP

IRI: https://onto.vaimee.com/jsap#JSAP

Defines a JSAP (JSON SPARQL Application Profile). JSAP describes an application based on the SPARQL Event Processing Architecture (SEPA) and following the application design pattern named PAC (Producer-Aggregator-Consumer).
In the domain ofhas component
has namespace
includes operation
In the range ofis operation of

Literal FB

IRI: https://onto.vaimee.com/jsap#LiteralFB

A forced binding whose value is a literal.
Sub-class ofForced Binding
In the domain ofdata type
default value

Namespace

IRI: https://onto.vaimee.com/jsap#Namespace

Represents an RDF namespace. They allow grouping related terms (classes and properties) under a common base URI.
In the domain ofprefix
In the range ofhas namespace

Operation

IRI: https://onto.vaimee.com/jsap#Operation

An abstract superclass representing any operation described in a JSAP.
Super-class ofRule
SPARQL Operation
In the domain ofhas FB
is operation of
sparql
uses snippet
In the range ofincludes operation

Pac Component

IRI: https://onto.vaimee.com/jsap#PacComponent

A component in a JSAP application following the PAC (Producer-Aggregator-Consumer) architectural pattern.
Super-class ofhttps://onto.vaimee.com/jsap#Aggregator
Consumer
Producer
In the domain ofperforms query
performs subscription
performs update
In the range ofhas component

Producer

IRI: https://onto.vaimee.com/jsap#Producer

A component of the PAC architecture that makes exactly one SPARQL update and no subscription.
Sub-class ofPac Component
Enumeration members

Query

IRI: https://onto.vaimee.com/jsap#Query

A SPARQL operation that retrieves information from a knowledge base without modifying it. Examples include SELECT, ASK, and CONSTRUCT queries.
Sub-class ofSPARQL Operation
In the range ofperforms query
performs subscription

Rule

IRI: https://onto.vaimee.com/jsap#Rule

A general-purpose rule defined within a JSAP configuration. A rule can express declarative logic or behavior that triggers specific operations (e.g., updates) under certain conditions.
Sub-class ofOperation

SPARQL Fragment

IRI: https://onto.vaimee.com/jsap#SPARQLFragment

Defines a fragment of SPARQL that can be inserted into queries or updates, typically through variable substitution or templating mechanisms.
Super-class ofForced Binding
Snippet

SPARQL Operation

IRI: https://onto.vaimee.com/jsap#SPARQLOperation

Abstract superclass for SPARQL-based operations. It encompasses both queries and updates that interact with the RDF knowledge base using SPARQL 1.1 syntax.
Sub-class ofOperation
Super-class ofQuery
Update

Snippet

IRI: https://onto.vaimee.com/jsap#Snippet

Represents a reusable SPARQL code fragment that can be included in one or more operations.
Sub-class ofSPARQL Fragment
In the domain ofsnippet body
In the range ofuses snippet

Update

IRI: https://onto.vaimee.com/jsap#Update

A SPARQL operation that modifies the knowledge base by inserting, deleting, or updating triples. Examples include INSERT DATA, DELETE DATA, and DELETE/INSERT operations.
Sub-class ofSPARQL Operation
In the range ofperforms update

URI FB

IRI: https://onto.vaimee.com/jsap#UriFB

A forced binding whose value is a URI.
Sub-class ofForced Binding
In the domain ofdefault value

Object Properties

has component

IRI: https://onto.vaimee.com/jsap#hasComponent

Inferred link: a JSAP is associated with a PAC component if the component uses an operation defined within the JSAP.
Domain includesJSAP
Range includesPac Component

has namespace

IRI: https://onto.vaimee.com/jsap#hasNamespace

Links a JSAP instance to a RDF namespace.
Domain includesJSAP
Range includesNamespace

includes operation

IRI: https://onto.vaimee.com/jsap#includesOperation

Associates a JSAP with the operations it contains,
Domain includesJSAP
Range includesOperation

is operation of

IRI: https://onto.vaimee.com/jsap#isOperationOf

Indicates that a given operation is used from a JSAP.
Domain includesOperation
Range includesJSAP

performs query

IRI: https://onto.vaimee.com/jsap#performsQuery

Declares that the PAC component performs a SPARQL query operation to retrieve data from the knowledge graph.
Domain includesPac Component
Range includesQuery

performs subscription

IRI: https://onto.vaimee.com/jsap#performsSubscription

Declares that the PAC component performs a SPARQL subscription operation to continuously monitor changes in the knowledge graph. It is typically used to trigger reactive behavior.
Domain includesPac Component
Range includesQuery

performs update

IRI: https://onto.vaimee.com/jsap#performsUpdate

Declares that the PAC component performs a SPARQL update operation that modifies the knowledge graph (e.g., INSERT, DELETE). Each component can make at most one update.
Domain includesPac Component
Range includesUpdate

uses snippet

IRI: https://onto.vaimee.com/jsap#usesSnippet

Indicates that the operation reuses a predefined SPARQL snippet.
Domain includesOperation
Range includesSnippet

Datatype Properties

default value

IRI: https://onto.vaimee.com/jsap#defaultValue

The value assigned to the variable in the binding.
Domain includesLiteral FB
URI FB
Range includes

name

IRI: https://onto.vaimee.com/jsap#name

The name of the variable being bound.
Domain includesConsumer Data Type Forced Binding JSAP Literal FB Namespace Operation Pac Component Producer Query Rule SPARQL Fragment SPARQL Operation Snippet Update URI FB data type default value has component has FB has namespace includes operation is operation of name performs query performs subscription performs update prefix snippet body sparql uses snippet
Range includeshttp://www.w3.org/2001/XMLSchema#string

prefix

IRI: https://onto.vaimee.com/jsap#prefix

Represents the shorthand prefix used for the namespace (e.g., 'rdf', 'schema').
Domain includesNamespace
Range includeshttp://www.w3.org/2001/XMLSchema#string

snippet body

IRI: https://onto.vaimee.com/jsap#snippetBody

The SPARQL code fragment that can be reused in operations.
Domain includesSnippet
Range includeshttp://www.w3.org/2001/XMLSchema#string

sparql

IRI: https://onto.vaimee.com/jsap#sparql

The SPARQL query or update string.
Domain includesOperation
Range includeshttp://www.w3.org/2001/XMLSchema#string

Named Individuals