The current generation of Semantic Web languages is well suited to link data and to define domain concepts and relationships. However, real-world applications that operate on those linked data models typically need higher expressivity than what is provided by OWL and RDF Schema alone. SPIN is an open-source framework that supports the use of SPARQL to define business rules and constraint checks on Semantic Web models with object-oriented modeling techniques. This simple yet powerful mechanism makes it possible to define self-describing domain models that can then be used by generic software components such as user interface renderers, schema mappers and workflow engines. Instead of hard-coding behavior in languages like Java, SPIN makes it possible to declaratively define complex business rules and processes. SPIN can also be used to define new higher-level modeling languages with built-in semantics.
- Sets the stage with a quick review of SPARQL (incl. CONSTRUCT keyword)
- Introduces SPIN as a mechanism to attach SPARQL queries to class definitions
- Shows how to define new SPARQL functions and reusable query templates with SPIN
- Demonstrates the use of SPIN for tasks ranging from unit conversion to computer games
- Shows how the ideas of SPIN give rise to a new software development paradigm around self-describing linked data models