# `Gno.Store.Adapters.Fuseki`
[🔗](https://github.com/rdf-elixir/gno/blob/v0.1.0/lib/gno/store_adapters/fuseki.ex#L1)

A `Gno.Store.Adapter` implementation for [Apache Jena Fuseki](https://jena.apache.org/documentation/fuseki2/).

## Manifest Configuration

    @prefix gno:  <http://gno.app/> .
    @prefix gnoa: <http://gno.app/ns/adapter/> .

    <Fuseki> a gnoa:Fuseki
        ; gno:storeEndpointScheme "http"         # optional (default: "http")
        ; gno:storeEndpointHost "localhost"      # optional (default: "localhost")
        ; gno:storeEndpointPort 3030             # optional (default: 3030)
        ; gno:storeEndpointDataset "my-dataset"  # required
    .

## Administration

This adapter also provides access to Fuseki's
[HTTP Administration Protocol](https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html)
for dataset management, server health checks, statistics, and backups.

# `t`

```elixir
@type t() :: %Gno.Store.Adapters.Fuseki{
  __additional_statements__: term(),
  __id__: term(),
  dataset: term(),
  default_graph_semantics_config: term(),
  graph_store_endpoint: term(),
  host: term(),
  port: term(),
  query_endpoint: term(),
  scheme: term(),
  update_endpoint: term(),
  userinfo: term()
}
```

# `admin_base`

Returns the Fuseki HTTP Administration API base endpoint.

# `all_datasets_info`

Fetches all datasets from the Fuseki admin endpoint.

# `all_stats`

Fetches statistics for all datasets.

# `backup_endpoint`

Returns the backup endpoint for the adapter's dataset.

# `backup_endpoint`

Returns the backup endpoint for a specific dataset.

# `backups_list_endpoint`

Returns the backups list endpoint.

# `build`

# `build`

# `build!`

# `build!`

# `build_id`

# `compact_endpoint`

Returns the compact endpoint for the adapter's dataset.

# `compact_endpoint`

Returns the compact endpoint for a specific dataset.

# `dataset_admin_endpoint`

Returns the dataset-specific admin endpoint for the adapter's dataset.

# `dataset_admin_endpoint`

Returns the dataset-specific admin endpoint for a given dataset name.

# `dataset_info`

Fetches information for the adapter's dataset.

# `dataset_info`

Fetches information for a specific dataset.

# `dataset_stats`

Fetches statistics for the adapter's dataset.

# `dataset_stats`

Fetches statistics for a specific dataset.

# `dataset_stats_endpoint`

Returns the statistics endpoint for the adapter's dataset.

# `dataset_stats_endpoint`

Returns the statistics endpoint for a specific dataset.

# `datasets_admin_endpoint`

Returns the datasets endpoint for dataset management operations.

# `from`

```elixir
@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}
```

# `from!`

```elixir
@spec from!(Grax.Schema.t()) :: t()
```

# `graph_semantics`

Returns the graph semantics for a specific adapter instance.

Checks the `default_graph_semantics_config` manifest property first,
falling back to `default_graph_semantics/0`.

# `load`

```elixir
@spec load(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: {:ok, t()} | {:error, any()}
```

# `load!`

```elixir
@spec load!(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: t()
```

# `metrics`

Fetches server metrics.

# `metrics_endpoint`

Returns the metrics endpoint.

# `ping`

Checks if the Fuseki server is available by pinging it.

# `ping?`

# `ping_endpoint`

Returns the ping endpoint for server health checks.

# `server_endpoint`

Returns the server information endpoint.

# `server_info`

Fetches server information from the Fuseki admin endpoint.

# `sleep_endpoint`

Returns the sleep endpoint.

# `stats_endpoint`

Returns the statistics endpoint for all datasets.

# `task_endpoint`

Returns the task-specific endpoint for a given task ID.

# `task_info`

Fetches information about a specific task.

# `tasks_endpoint`

Returns the tasks endpoint for monitoring background operations.

# `tasks_info`

Fetches information about running tasks.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
