RDF/Turtle + SHACL ingestion adapter for the ontology-first compiler.
The adapter parses a real RDF graph with RDF.ex, extracts closed SHACL node
and property shapes, and manufactures the normalized application-profile map
consumed by AshR2RML.Admission. It deliberately does not reason over arbitrary
OWL. Missing closure information is returned as a typed refusal.
Ash-specific relational hints live in the neutral AshR2RML vocabulary:
https://seanchatmangpt.github.io/ash_r2rml#.
Summary
Functions
@spec compile_turtle( String.t(), keyword() ) :: {:ok, AshR2RML.Compilation.t()} | {:error, AshR2RML.Compilation.t() | [AshR2RML.Refusal.t()]}
@spec from_graph( RDF.Data.Source.t(), keyword() ) :: {:ok, map()} | {:error, [AshR2RML.Refusal.t()]}
@spec from_turtle( String.t(), keyword() ) :: {:ok, map()} | {:error, [AshR2RML.Refusal.t()]}