Skip to content
@OO-LD

OO-LD

Object Oriented Linked Data (OO-LD)

Open community to develop schemas and tools to link object oriented programming with linked data & the semantic web.

OO-LD (Object-Oriented Linked Data) is a unified framework that combines JSON Schema and JSON-LD to enable object-oriented linked data modeling without reinventing the wheel. By embedding JSON-LD contexts within JSON Schema documents, OO-LD allows for the simultaneous definition of data structure and semantics in a single source.

Why OO-LD?

  • Standards-Based: Strictly adheres to W3C standards (JSON-LD 1.1, JSON-SCHEMA 2020-12) - no new language to learn
  • Tool Compatibility: Works with all existing JSON-SCHEMA and JSON-LD tooling
  • Web-Native: Schemas follow linked data principles, making them retrievable over the web for flexible composition
  • Multi-Purpose: Use the same schema for validation, RDF generation, code generation, UI generation, and API definitions
  • Developer-Friendly: Compatible with LLM APIs, OpenAPI, and modern development workflows

Quick Start

Here's a minimal OO-LD schema (Person.schema.json):

{
  "@context": {
    "schema": "http://schema.org/",
    "name": "schema:name"
  },
  "$id": "Person.schema.json",
  "title": "Person",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "First and Last name"
    }
  }
}

This file is simultaneously a JSON Schema (defines structure) and a JSON-LD context (provides semantics). Notice how @context maps the name property to schema:name, enabling both validation and RDF generation from the same source.

Try it yourself:

  • UI and RDF generation: OO-LD Playground - Interactive examples with UI and RDF generation
  • Code and RDF generation: Python Playground - Advanced examples with code generation
  • Full Tutorial - Step-by-step guide with working examples

Use Cases

  • Research Data Management: OpenSemanticLab uses OO-LD for LIMS, ELN, and knowledge bases
  • API Development: Generate OpenAPI specs with embedded semantic contexts
  • LLM Integration: Use schemas directly for structured LLM output

Resources

Documentation

Tools

Reference Implementations

Related Projects

Get Involved


Start exploring: Try the interactive playground or check out the specification.

Pinned Loading

  1. schema schema Public

    The Object Oriented Linked Data Schema

    20

  2. playground playground Public

    Combines the JSON-SCHEMA editor and JSON-LD playground

    HTML 3 4

  3. oold-python oold-python Public

    Linked data class python package

    Python 5 2

Repositories

Showing 10 of 14 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…