axiothOntology Hub

Ontologies / spin

SPIN Inferencing Vocabulary

Original text (English), from: LOV catalogueAn RDF Schema that can be used to attach constraints and rules to RDFS classes, and to encapsulate reusable SPARQL queries into functions and templates.

Namespace IRI
http://spinrdf.org/spin#
Type
Vocabulary
Field
Semantic web core
Version
1.3.2
Licence statement
License not verified
Standard or contact
Not registered
Definition file check
File parsed · Nov 30, 2026 UTC
Collected from
Linked Open Vocabularies (LOV)
Also listed in
Bioregistry

At a glance

Derived from the parsed definition file, not written by an editor.

Classes
16
Properties
26
Triples in file
350
Connections
13
Papers and standards
0

Counted as stated directly in the definition file, within its own namespace, without imports or inference. The file also declares 0 terms from other namespaces.

Central classes

The classes with the most subclass and property links.

TemplateConstraint violationFunctionModuleRule propertyTable data provider

Top of the hierarchy

Classes with subclasses but no parent inside this file.

ModuleTable data provider

What it lets you say

Properties read as domain, property, range.

  • Rule propertynext rule propertyRule property
  • Constraint violationfixUpdate template
  • Table data providercolumnColumn
  • Constraint violationviolation levelConstraint violation level

Class hierarchy

Open a class to follow its subclasses downward. The number is how many direct subclasses it has.

  • Module2
    • Template4
      • Ask template
      • Construct template
      • Select template
      • Update template
    • Function1
      • Magic property
  • Table data provider1
    • Select template

Class graph

Select a class to read its original definition and the properties attached to it. Drag to move, scroll to zoom.

subclass of (child to parent)property (domain to range)

All 16 classes
TermOriginal definition
Constraint violation
spin:ConstraintViolation
An object that can be created by spin:constraints to provide information about a constraint violation.
Template
spin:Template
The metaclass of SPIN templates. Templates are classes that are instances of this class. A template represents a reusable SPARQL query or update request that can be parameterized with arguments. Templates can be instantiated in places where normally a SPARQL query or update request is used, in particular as spin:rules
Function
spin:Function
Metaclass for functions that can be used in SPARQL expressions (e.g. FILTER or BIND). The function themselves are classes that are instances of this metaclass. Function calls are instances of the function classes, with property values for the arguments.
Module
spin:Module
An abstract building block of a SPARQL system. A Module can take Arguments as input and applies them on an input RDF Graph. The Arguments should be declared as spin:constraints.
Column
spin:Column
Provides metadata about a column in the result set of a (SPARQL) query, for example of the body queries of SPIN templates. Columns can define human-readable labels that serve as column titles, using rdfs:label.
Rule property
spin:RuleProperty
The metaclass of spin:rule and its subproperties. spin:RuleProperties can have additional metadata attached to them.
Table data provider
spin:TableDataProvider
An abstraction of objects that can produce tabular data. This serves as a base class of spin:SelectTemplate, because SELECT queries can produce tables with columns for each result variable. However, other types of TableDataProviders are conceivable by other frameworks, and this class may prove as a useful shared founda
Rule
spin:Rule
Groups together the kinds of SPARQL commands that can appear as SPIN rules and constructors: CONSTRUCT, DELETE WHERE and DELETE/INSERT. This class is never to be instantiated directly.
Constraint violation level
spin:ConstraintViolationLevel
The type of the supported levels of constraint violations, including spin:Error and spin:Warning.
Update template
spin:UpdateTemplate
A SPIN template that has an UPDATE command as its body.
Select template
spin:SelectTemplate
A SPIN template that wraps a SELECT query.
Magic property
spin:MagicProperty
Not registered
Construct template
spin:ConstructTemplate
Not registered
Ask template
spin:AskTemplate
A SPIN template that wraps an ASK query.
Modules
spin:Modules
An "artificial" parent class for all Functions and Templates.
Library ontology
spin:LibraryOntology
A marker class that can be attached to base URIs (ontologies) to instruct SPIN engines that this ontology only contains a library of SPIN declarations. Library Ontologies should be ignored by SPIN inference engines even if they have been imported by a domain model. For example, a SPIN version of OWL RL may contain all
All 26 properties
TermOriginal definition
body
spin:body
The body of a Function or Template. This points to a Query instance. For Functions, this is limited to either ASK or SELECT type queries. If the body is the ASK function then the return value is xsd:boolean. Otherwise, the SELECT query must have a single return variable. The first binding of this SELECT query will be r
update
spin:update
Can be used to point from any resource to an Update.
command
spin:command
Can be used to link a resource with a SPARQL query or update request (sp:Command).
return type
spin:returnType
The return type of a Function, e.g. xsd:string.
system property
spin:systemProperty
An "abstract" base property that groups together those system properties that the user will hardly ever need to see in property trees. This property may be dropped in future versions of this ontology - right now it's mainly here for convenience.
violation value
spin:violationValue
An optional attribute of ConstraintViolations to point at a specific RDF node that caused the violation. Should be accessible from the root via the violationPath.
violation root
spin:violationRoot
The root resource of the violation (often ?this in the constraint body).
private
spin:private
Can be set to true to indicate that a SPIN function or template is only meant to be used as a helper of other modules, but not directly. Among others, this allows user interfaces to filter out private modules. Furthermore, it tells potential users of this module that they should avoid using this module, as it may not b
next rule property
spin:nextRuleProperty
Can be used to link two sub-properties of spin:rule (or spin:rule itself) to instruct the SPIN engine to execute one set of rules before another one. The values of the subject property will be executed before those of the object property.
label template
spin:labelTemplate
A template string for displaying instantiations of a module in human-readable form. The template may contain the argument variable names in curly braces to support substitution. For example, "The number of values of the {?arg1} property."
constructor
spin:constructor
Can be used to attach a "constructor" to a class. A constructor is a SPARQL CONSTRUCT query or INSERT/DELETE Update operation that can add initial values to the current instance. At execution time, the variable ?this is bound to the current instance. Tools can call constructors of a class and its superclasses when an i
violation path
spin:violationPath
An optional attribute of ConstraintViolations to provide a path expression from the root resource to the value that is invalid. If this is a URI then the path represents the predicate of a subject/predicate combination. Otherwise it should be a blank node of type sp:Path.
abstract
spin:abstract
Can be set to true to indicate that this module shall not be instantiated. Abstract modules are only there to organize other modules into hierarchies.
fix
spin:fix
Can be used to link a ConstraintViolation with one or more UPDATE Templates that would help fix the violation.
column width
spin:columnWidth
The preferred width of the associated Column, for display purposes. Values in pixels (rendering engines may multiply the values depending on resolution).
column index
spin:columnIndex
The index of a column (from left to right) starting at 0.
column
spin:column
Can link a TableDataProvider (esp. SelectTemplate) with one or more columns that provide metadata for rendering purposes. Columns can be sorted by their spin:columnIndex (which must align with the ordering of variables in the SELECT query starting with 0). Not all result variables of the underlying query need to have a
symbol
spin:symbol
The symbol of a function, e.g. "=" for the eq function.
violation level
spin:violationLevel
An optional attribute of ConstraintViolations to point at a violation level (such as Error and Warning). Defaults to spin:Error.
column type
spin:columnType
The datatype or resource type of a spin:Column. For example this is useful as metadata to inform a rendering engine that numeric columns (e.g. xsd:float) need to be right-aligned.
constraint
spin:constraint
Links a class with constraints on its instances. The values of this property are "axioms" expressed as CONSTRUCT or ASK queries where the variable ?this refers to the instances of the surrounding class. ASK queries must evaluate to false for each member of this class - returning true means that the instance ?this viola
query
spin:query
Can be used to point from any resource to a Query.
violation source
spin:violationSource
Can be used to link a spin:ConstraintViolation with the query or template call that caused it. This property is typically filled in automatically by the constraint checking engine and does not need to be set manually. However, it can be useful to learn more about the origin of a violation.
this unbound
spin:thisUnbound
Can be set to true for SPIN rules and constraints that do not require pre-binding the variable ?this with all members of the associated class. This flag should only be set to true if the WHERE clause is sufficiently strong to only bind instances of the associated class, or its subclasses. In those cases, the engine can
cachable
spin:cachable
Can be set to true to instruct the SPIN engine that it may cache the results of all calls to the associated function. Functions should only be marked as cachable if the same combination of input arguments always returns the same result. Functions that query a graph or other background data that may change over time sho
rule property max iteration count
spin:rulePropertyMaxIterationCount
Can be attached to spin:rule (or subclasses thereof) to instruct a SPIN rules engine that it shall only execute the rules max times. If no value is specified, then the rules will be executed with no specific limit.

Connections

Relations stated in a definition file or an official registry. Each row shows where the statement comes from.

sprdfxsdrutooslogcprfaldotmodqcscsn.orderscsn.coretno.ploutosshapiwoc.ontologysqls4acspin

Ontology with a stated relationPaper or standardRepositorySimilarity candidate (computed)

Show the evidence table (13 rows)
DirectionOntologyRelationEvidence
This → otherSPIN SPARQL Syntaximportsdefinition file
owl:imports <http://spinrdf.org/sp>
This → otherThe RDF Concepts Vocabularyreuses terms (2 terms)definition file
type, Property
This → otherXML Schemareuses terms (3 terms)definition file
boolean, string, integer
Other → thisTest-Driven Data Debugging Ontologyreuses terms (2 terms)definition file
ConstraintViolation, violationRoot
Other → thisOSLO Exchange Standardreuses terms (1 term)definition file
imports
Other → thisoeGOV Government Core Ontologyimportsdefinition file
owl:imports <http://spinrdf.org/spin>
Other → thisProperty Reification Vocabularyreuses terms (1 term)definition file
imports
Other → thisFeature Annotation Location Description Ontologyreuses terms (1 term)definition file
imports
Other → thisTranslational Medicine Ontologyreuses terms (1 term)definition file
imports
Other → thisThe Data Quality Constraints Libraryimportsdefinition file
owl:imports <http://spinrdf.org/spin>
Other → thisSmart Connected Supplier Network (SCSN) ORDER ontologyreuses terms (1 term)definition file
imports
Other → thisSmart Connected Supplier Network (SCSN) CORE ontologyreuses terms (1 term)definition file
imports
Other → thisPloutos Common Semantic Modelreuses terms (1 term)definition file
imports

Similarity candidates

Candidates are ranked by shared words in descriptions and term labels. They are a starting point for your own check, not a statement of equivalence, compatibility or official relation.

Similar ontologies

Similar papers and standards

Papers and standards

No paper or standard is linked yet. A missing paper is not a defect: an official specification can serve as evidence.

Files and repository

Check record

  1. Fetch fileDone
  2. Parse RDFDone
  3. Extract termsDone

A parsed file means it could be read. It does not vouch for logical consistency or modelling quality.

Definition file check
File parsed
Checked at
Nov 30, 2026 UTC
Format
Turtle
Parser
n3
Size
24,921 B
SHA-256
a466052e58b298989578f9ef52291417630c95d4681af25e4584d7c1e54706ec
Note
This is the latest version archived by LOV, not a file fetched from the publisher.

LOV page for this vocabulary

Bioregistry page for this resource