Home / Skills / semantica-agi/semantica

ingest

Ingest data from files, databases, APIs, or streams into Semantica knowledge graphs with schema mapping and entity linking.

skillLicense: MIT Source: semantica-agi/semantica

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit semantica-agi/semantica/plugins/skills/ingest .claude/skills/ingest

Or install it for every project:

npx degit semantica-agi/semantica/plugins/skills/ingest ~/.claude/skills/ingest

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
name: ingest
description: Ingest data from files, databases, APIs, or streams into Semantica knowledge graphs with schema mapping and entity linking.
---

# /semantica:ingest

Ingest new data into the knowledge graph. Usage: `/semantica:ingest <source> [args]`

`$ARGUMENTS` = source type + optional file path, connection string, or dataset identifier.

---

## `file <path> [--format json|csv|yaml|xml]`

Ingest structured data from a local file.

```python
from semantica.ingest import ingest_file

data = ingest_file(file_path=path, method='file', file_format=file_format)
```

Output: imported node/edge count and ingestion summary.

---

## `db <connection> [--query <sql>]`

Ingest data from a database source.

```python
from semantica.ingest import ingest_database

result = ingest_database(connection_string=conn, query=query)
```

Return: rows ingested, mapped entities, and warnings.