AshR2RML.Resource.Info (AshR2RML v26.8.22)

Copy Markdown View Source

Public introspection over the normalized mapping IR.

Summary

Functions

mapped?(resource)

mapping(resource)

@spec mapping(module()) :: AshR2RML.Mapping.Resource.t() | nil

mapping!(resource)

mapping_result(resource)

@spec mapping_result(module()) ::
  {:ok, AshR2RML.Mapping.Resource.t()} | {:error, AshR2RML.Refusal.t()}

sparql_queries(resource)

@spec sparql_queries(module()) :: [AshR2RML.Dsl.SparqlQuery.t()]