Skip to content

Latest commit

 

History

History
520 lines (352 loc) · 10.8 KB

File metadata and controls

520 lines (352 loc) · 10.8 KB

MD-LD After v1.0: Semantic Infrastructure as Readable Text

MD-LD has now crossed an important threshold.

At earlier stages it could be interpreted as:

  • a Markdown extension,
  • an RDF authoring syntax,
  • a compact graph notation,
  • a semantic annotation experiment.

At v1.0, with:

  • deterministic parse ↔ generate cycles,
  • provenance/origin tracking,
  • merge semantics,
  • ontology corpus coverage,
  • append-oriented workflows,
  • sub-100kB zero-dependency runtime,
  • RDF/JS interoperability,

it begins to resemble something larger:

a semantic-native textual infrastructure layer.

This is not a claim about replacing RDF, OWL, SHACL, or existing Semantic Web standards. MD-LD instead changes the human and agent interface to them.

The important shift is not semantic capability alone.

The important shift is that semantic systems become directly writable, inspectable, mergeable, and survivable as ordinary text.


1. The Historical Problem of Semantic Systems

The Semantic Web stack solved many difficult theoretical problems:

  • graph representation,
  • ontology modeling,
  • linked identifiers,
  • schema evolution,
  • provenance,
  • inferencing,
  • validation.

But authoring and operational ergonomics remained difficult.

Most RDF ecosystems historically relied on:

  • verbose serialization formats,
  • specialized tooling,
  • ontology-centric workflows,
  • hidden graph databases,
  • detached authoring interfaces.

As a result, semantics became infrastructural rather than experiential.

Most software today already operates on hidden graphs:

  • social networks,
  • CRMs,
  • document systems,
  • note applications,
  • task systems,
  • APIs,
  • knowledge platforms.

But these semantics remain inaccessible to users and often fragmented internally across:

  • JSON state,
  • relational databases,
  • vector indexes,
  • logs,
  • event streams,
  • hidden metadata layers.

MD-LD suggests a different direction:

human text
→ semantic graph immediately

without requiring an intermediary semantic authoring environment.


2. MD-LD as a Convergence Layer

The key property of MD-LD is not merely RDF serialization.

It is convergence.

A single MD-LD document may simultaneously function as:

  • readable documentation,
  • executable semantic graph,
  • provenance source,
  • ontology module,
  • append-only event stream,
  • synchronization artifact,
  • CRDT merge substrate,
  • agent-readable memory,
  • semantic API surface.

This convergence matters because most modern systems separate:

  • human-readable text,
  • structured state,
  • metadata,
  • provenance,
  • semantic relations,
  • synchronization logic,
  • workflow execution.

MD-LD collapses many of these layers into one coherent textual substrate.


3. Why Readability Changes the Equation

Readability is not cosmetic.

It changes the survivability and ownership characteristics of semantic systems.

Traditional semantic infrastructure often produces:

  • Turtle,
  • RDF/XML,
  • OWL/XML,
  • TriG,
  • generated schemas,
  • opaque graph stores.

These are technically interoperable but rarely cognitively local.

MD-LD changes semantic graphs into something that resembles ordinary authored documents.

Example:

# Create {=as:Create .owl:Class label}

[Indicates that the actor created the object.] {comment @en}

[Activity] {+as:Activity ?subClassOf}

This is simultaneously:

  • human-readable,
  • semantically explicit,
  • graph-valid,
  • ontology-compatible,
  • LLM-readable,
  • merge-friendly.

The graph ceases to feel detached from the text.


4. Ontology Composition as Semantic Gardening

An important shift emerges once ontologies themselves become readable.

Traditional ontology ecosystems often assume:

  • centralized governance,
  • institutional standardization,
  • rigid semantic authority,
  • slow evolution cycles.

MD-LD enables a more compositional model.

Ontologies become reusable textual semantic modules.

Authors can naturally compose vocabularies:

[foaf] <http://xmlns.com/foaf/0.1/>
[prov] <http://www.w3.org/ns/prov#>
[sosa] <http://www.w3.org/ns/sosa/>
[my] <tag:alice.ai,2026:>

# ResearchAgent {=my:agent .foaf:Agent .prov:SoftwareAgent}

[Temperature Sensor] {+my:sensor ?sosa:observes}

[Generated report] {?prov:generated}

without requiring:

  • ontology engineering expertise,
  • RDF-specific editors,
  • graph database tooling,
  • OWL authoring systems.

This changes ontology development from:

centralized ontology engineering

toward:

semantic gardening.

Local semantics can evolve organically while remaining interoperable through shared vocabularies.


5. Existing Ontology Coverage as a Semantic Runtime

The current MD-LD ontology corpus already forms a surprisingly coherent semantic substrate.

Included ontologies cover:

  • RDF / RDFS / OWL,
  • SHACL,
  • PROV-O,
  • SKOS,
  • schema.org,
  • QUDT,
  • FOAF,
  • CIDOC CRM,
  • DCAT / DCTERMS,
  • ActivityStreams 2,
  • Web Annotations,
  • SOSA,
  • Hydra,
  • LexInfo.

Together these cover:

  • identity,
  • provenance,
  • knowledge organization,
  • linguistic semantics,
  • observations,
  • activities,
  • APIs,
  • annotations,
  • measurements,
  • metadata,
  • validation,
  • cultural knowledge.

This is no longer merely “ontology conversion.”

It begins to resemble:

a semantic runtime environment.


6. Why ActivityStreams, Web Annotations, SOSA, and Hydra Matter

Several ontologies become especially important in combination with MD-LD.

ActivityStreams 2

ActivityStreams introduces semantic event chronology:

  • actions,
  • state transitions,
  • workflows,
  • notifications,
  • agent activities.

Combined with append-oriented MD-LD documents, this creates readable semantic event systems.


Web Annotations

Web Annotation introduces:

  • semantic span attachment,
  • contextual overlays,
  • discourse anchoring,
  • linked commentary.

Combined with MD-LD span topology/origin tracking, annotations become navigable semantic discourse structures.

This is highly relevant for long-context agent systems.


SOSA

SOSA introduces:

  • observations,
  • sensors,
  • measurements,
  • world-state reporting.

This shifts MD-LD toward:

semantic world-state infrastructure.


Hydra

Hydra introduces executable semantic affordances:

  • APIs,
  • operations,
  • expected inputs,
  • return types,
  • navigable hypermedia semantics.

Combined with MD-LD readability, APIs become semantically inspectable documents rather than hidden server contracts.


7. Agent-Native Properties

MD-LD appears unusually compatible with LLM-based systems.

This is not because LLMs “understand RDF.”

It is because MD-LD aligns with several properties that language models naturally benefit from:

  • textual continuity,
  • repeated structural motifs,
  • explicit symbolic grounding,
  • local semantic coherence,
  • append-only histories,
  • deterministic syntax.

Typical AI stacks today fragment state across:

  • prompts,
  • vector databases,
  • hidden graphs,
  • JSON state,
  • logs,
  • tool calls.

MD-LD suggests a unified substrate where:

  • memory,
  • provenance,
  • annotations,
  • observations,
  • workflows,
  • identities,
  • semantic relations

all coexist in one readable structure.

For agents, this is significant because:

state and meaning become co-located.


8. MD-LD as Local-First Semantic Infrastructure

The parser/generator architecture changes deployment assumptions.

MD-LD currently provides:

  • zero dependencies,
  • platform-agnostic ESM,
  • sub-100kB runtime,
  • streaming-friendly parsing,
  • deterministic generation,
  • offline-safe operation.

This enables:

  • browser-native semantic systems,
  • edge semantic runtimes,
  • local-first applications,
  • filesystem-native graph persistence,
  • IndexedDB/localStorage graph state,
  • Git-native semantic workflows.

Unlike many graph systems, MD-LD state remains:

  • readable,
  • editable,
  • diffable,
  • portable,
  • inspectable,
  • archive-friendly.

This matters because plain text tends to outlive platforms.


9. Relationship to SQLite and Embedded Datastores

MD-LD is not a replacement for high-performance relational databases.

But it competes in a different category:

  • semantic local-first systems,
  • knowledge management,
  • append-oriented state,
  • graph-native applications,
  • offline collaboration,
  • semantic notebooks,
  • agent memory systems.

Traditional embedded storage systems optimize:

  • query performance,
  • transactions,
  • indexing,
  • binary compactness.

MD-LD instead optimizes:

  • semantic transparency,
  • human inspectability,
  • mergeability,
  • provenance continuity,
  • textual durability,
  • semantic composability.

For many emerging applications, especially agent-oriented systems, these tradeoffs may be preferable.


10. The Spec as Living Semantic Infrastructure

A major shift occurs once specifications themselves are authored in MD-LD.

The specification ceases to be:

  • static prose,
  • detached documentation,
  • disconnected examples.

Instead it becomes:

  • executable ontology,
  • semantic test corpus,
  • provenance source,
  • agent-readable reference graph,
  • self-hosting semantic system.

The document itself becomes:

both specification and semantic proof-of-concept.

This introduces semantic reflexivity:

  • the language describes itself,
  • the ontology structures itself,
  • the graph documents itself.

Very few systems operate this way.


11. Democratization of Semantics

The long-term importance of MD-LD may not be technical superiority alone.

It may instead be:

semantic accessibility.

Historically:

  • databases hid semantics,
  • APIs hid relations,
  • SaaS platforms hid graphs,
  • ontology tooling isolated semantic systems from ordinary authorship.

MD-LD potentially re-textualizes semantics.

That means:

  • ordinary documents can become semantic systems,
  • local notes can become interoperable graphs,
  • workflows can become append-only semantic narratives,
  • agents can operate over readable state,
  • ontologies can evolve organically.

This lowers the barrier between:

  • text,
  • graph,
  • execution,
  • memory,
  • provenance,
  • synchronization.

12. What MD-LD Appears to Become

At v1.0, MD-LD increasingly resembles:

Existing paradigm MD-LD role
Markdown human semantic authoring
RDF graph substrate
Git semantic history
CRDTs merge evolution
notebooks executable narrative
ontologies composable semantic modules
event sourcing semantic chronology
agent memory semantic persistence
local-first systems portable semantic state

This does not replace the Semantic Web stack.

Instead, it changes how semantic systems are authored, evolved, shared, and inhabited.

The central idea is deceptively simple:

semantic infrastructure becomes ordinary readable text again.

That shift may ultimately matter more than any individual syntax feature.