First Edition

SHACL for the Practitioner

Exploring knowledge graphs through the Shapes Constraint Language. A hands-on guide, written and illustrated by hand.

18 Chapters 10 Real-World Stories Exercises Included
Get Your Copy 2026 Conference Offer
SHACL for the Practitioner — book cover

From the Semantic Web to your codebase

SHACL for the Practitioner guides you from the fundamentals of RDF, semantic technologies and knowledge graphs through the full depth of the Shapes Constraint Language, with hand-drawn illustrations, real code, and stories from production.

Written and illustrated by Veronika Heimsbakk, edited by Larry Swanson, with a foreword by Holger Knublauch, one of the original authors of the SHACL specification. The book is typeset in LaTeX with hand-drawn chapter illustrations traced to vector in Inkscape. Every diagram, every unicorn, every page: crafted with care.

Back to Basics

RDF, the Semantic Web, logic and the Resource Description Framework, from scratch.

The Core of SHACL

Shapes, constraint components, SHACL-SPARQL and the SHACL engine explained.

SHACL Stories

Ten real-world case studies from maritime authorities to railway law.

Hands-On

Exercises, logical puzzles, and companion code on GitHub to put theory into practice.

Table of Contents

Three parts, eighteen chapters, plus appendices. From first principles to production-grade stories.

Part I

Back to Basics

  • 1 The Semantic Web
  • 2 The Wonder of Logic
  • 3 Resource Description Framework
Part II

The Core of SHACL

  • 4 A Closed World of Shapes
  • 5 Shapes of SHACL
  • 6 Core Constraint Components
  • 7 SHACL-SPARQL
  • 8 The SHACL Engine
Part III

SHACL Stories

  • 9 Regulatory Simulator
  • 10 Automated Certificates
  • 11 European Parliament Open Data
  • 12 European Railway Law in SHACL
  • 13 An Actor in the Automotive Industry
  • 14 FörderFunke
  • 15 Nakala: RDF to Query UI
  • 16 Urban Data Quality & Compliance
  • 17 eInnsyn
  • 18 Enterprise Tooling for SHACL

SHACL in Production

Guest authors share how SHACL drives data-driven value across industries and organizations worldwide.

Machine-Readable Maritime Regulations

Norwegian Maritime Authority

A SHACL-Powered Knowledge Graph for Open Data

European Parliament

Coding Railway Law in SHACL

European Union Agency for Railways

RDF Dataset to a Query UI in Minutes

Nakala / Huma-Num

Urban Data Quality & Regulatory Compliance

Smart Cities

Enterprise Tooling for SHACL

TopQuadrant

From the community

Reviews, posts and moments from readers around the world.

Andy Fitzgerald
Andy Fitzgerald, PhD LinkedIn
Information Architecture & Content Strategy
10mo

Over the weekend I finished Veronika Heimsbakk's new book "SHACL for the Practitioner." I've been eagerly awaiting this book's publication and delivery from sunny Norway since Veronika first announced its near completion months ago, and the delivered work lives up to my every expectation.

My enthusiasm for this (admittedly niche) topic is twofold: First, SHACL for the Practitioner means that we now have a complete set of approachable, reader-friendly books for the semantic web technologies that form the foundations of knowledge graphs (RDFS, OWL, SPARQL, SHACL).

Second, Veronika's clear, accessible style takes what could quickly become a technically obtuse topic and frames it as a pragmatic, down to earth complement to OWL and RDFS.

While SHACL isn't otherwise a starting place I would recommend to someone new to semantic web technologies, part one of this book, "Back to Basics", is hands down the clearest holistic overview I've seen of what the semantic stack seeks to accomplish and how the technologies fit together. Even if you need to come back to the rest of the book for a second pass after you've covered the other technologies elsewhere, this initial framing provides an admirable map for the rest of the semantic web territory.

Parts two and three provide an introduction to the nuts and bolts of designing, writing, and applying SHACL to validate data (of course), and then a selection of real-world case studies ("SHACL Stories") that illustrate the wide variety of applications for which SHACL provides practical data validation at scale. The coverage of SHACL shapes and constraints is concise and to-the-point, and kept relatable with a common example throughout. Some of the case studies were more accessible to me than others, but I suspect this is just right: everyone will bring their own background and experience to these stories, and there's a range of topics here to accommodate that.

I'm a hands-on learner, so I'm going to need to crack open a text editor to get a feel for some of these patterns and approaches, but I couldn't ask for a better introduction to this space. If you're like me and have been itching to round out your semantic web knowledge with SHACL, this is a fantastic place to start.

Thanks for a welcoming and informed introduction to SHACL, Veronika!

SHACL for the Practitioner on Andy's desk
101 reactions · 12 comments · 8 reposts
Paco Nathan
Paco Nathan
Author · 10 books · 60 followers
★★★★★ · January 18, 2026

This book provides a guided tour through the world of SHACL, developing themes with clear and highly accessible examples and illustrations. The material is super useful for anyone working with graph technologies, in terms of data quality, auditing, and so on -- though also increasingly in terms of inference. The latter half is a collection of case studies for production use cases.

SHACL is a locus for some of the most interesting and pragmatic work in semantic technologies currently, and Veronika Heimsbakk has consistently been one of the instructors/authors in the world about this.

Goodreads
FD
Fred Dirkse LinkedIn
Enterprise Security Architect at Fiserv
11mo

Got my copy yesterday, exciting fit for the classic bookends: Semantic Web for the Working Ontologist & Learning SPARQL

Veronika at the SHACL book launch in Oslo, October 2025
Book launch with the Knowledge Graph Oslo community, October 2025
Alexander Belin
Alexander Belin LinkedIn
Enterprise Knowledge Architect, Certified Knowledge Manager, Lead Level ...
10mo

Just got my copy of "SHACL for the Practitioner", and look at this!
A handwritten note, a bookmark, and the cutest stickers ever ("Messy data? Not on my shape" one is my favorite 😂).

Veronika Heimsbakk thank you for making it feel so personal.

Can't wait to dive in!

Stay sharp, stay shaped!

#SHACL #SemanticWeb #RDF #KnowledgeGraphs

Alexander's copy with handwritten note, bookmark and stickers
14 reactions · 1 comment
Book stand at Connected Data London 2025
Book stand at Connected Data London, December 2025
Dean Allemang with SHACL for the Practitioner
Dean Allemang — co-author of Semantic Web for the Working Ontologist — with his copy

The Specifications

Everything you need to know before ordering.

Author
Veronika Heimsbakk
Editor
Larry Swanson
Published
November 2025, Oslo
Publisher
Author self-publish
ISBN (Paperback)
978-82-694212-0-0
ISBN (Digital)
978-82-694212-1-7
Editions
Paperback & PDF
Price
kr 399.00 NOK

Frequently Asked

Common questions about ordering, shipping and the e-book.

I didn't receive my e-book instantly. What's up?

Each PDF copy is personally generated with your name watermarked on the file. Due to this manual process, the e-book will not be delivered instantly. Please make sure your e-mail address is correct at checkout.

I ordered the paperback ages ago. Where is it?

Paperback copies are shipped from Norway. Due to the costs of distribution as a private person, there is only simplified tracking. The book should be sent 1-3 days after purchase domestically, but international shipments vary depending on customs and location.

Shipments to the U.S.: anything I should know?

Due to customs regulations from the U.S. to Norway, there have been experiences of empty envelopes arriving or shipments lost. Please let the author know if this happens to you.

Do I have to pay customs and VAT?

The author handles distribution personally. There are no straight-out-of-the-box solutions for paying VAT to the buyer's local country. This is highlighted during the purchase process.

Do you accept PayPal?

Yes! The checkout accepts card and PayPal accounts. If you are not comfortable using PayPal, you can use Vipps (Norway/Sweden) or bank transfer. Reach out directly for details.

Ready to master SHACL?

Available as paperback and personalised PDF, shipped from Oslo, Norway.
kr 399.00 NOK · Prices in the list below include postage and shipping, not local VAT.

Prefer another method? Get in touch for Vipps or bank transfer.