Skip to content
Agentmart
Submit a tool

agriculture-knowledge-graph

Operate the Agriculture_KnowledgeGraph agricultural Neo4j graph, Django demo, entity labeling, crawler, and relation-extraction workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-agriculture-knowledge-graph

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Operate the Agriculture_KnowledgeGraph agricultural Neo4j graph, Django demo, entity labeling, crawler, and relation-extraction workflows.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agriculture-knowledge-graph

What's inside

Skill name
agriculture-knowledge-graph
Description
Operate the Agriculture_KnowledgeGraph agricultural Neo4j graph, Django demo, entity labeling, crawler, and relation-extraction workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
47 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (40)

  • SKILL.md
  • architecture-and-workflows.md · references/
  • installation-and-environment.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_agri_kg_environment.py · scripts/
  • SKILL.md · sub-skills/crawlers-and-wikidata-pipelines/
  • crawler-workflows.md · sub-skills/crawlers-and-wikidata-pipelines/references/
  • troubleshooting.md · sub-skills/crawlers-and-wikidata-pipelines/references/
  • weather-and-attribute-pipelines.md · sub-skills/crawlers-and-wikidata-pipelines/references/
  • wikidata-processing.md · sub-skills/crawlers-and-wikidata-pipelines/references/
  • validate_relation_csvs.py · sub-skills/crawlers-and-wikidata-pipelines/scripts/
  • SKILL.md · sub-skills/entity-labeling-and-ner/
  • entity-labeling-and-ner.md · sub-skills/entity-labeling-and-ner/references/
  • knn-classifier-api.md · sub-skills/entity-labeling-and-ner/references/
  • label-taxonomy.md · sub-skills/entity-labeling-and-ner/references/
  • troubleshooting.md · sub-skills/entity-labeling-and-ner/references/
  • knn_feature_probe.py · sub-skills/entity-labeling-and-ner/scripts/
  • label_file_check.py · sub-skills/entity-labeling-and-ner/scripts/
  • SKILL.md · sub-skills/graph-query-and-data-management/
  • data-formats.md · sub-skills/graph-query-and-data-management/references/
  • neo4j-import-and-query.md · sub-skills/graph-query-and-data-management/references/
  • tree-and-vector-apis.md · sub-skills/graph-query-and-data-management/references/
  • troubleshooting.md · sub-skills/graph-query-and-data-management/references/
  • cypher_import_templates.cypher · sub-skills/graph-query-and-data-management/scripts/
  • tree_api_smoke.py · sub-skills/graph-query-and-data-management/scripts/
  • SKILL.md · sub-skills/relation-extraction-pipeline/
  • data-formats.md · sub-skills/relation-extraction-pipeline/references/
  • dataset-preparation.md · sub-skills/relation-extraction-pipeline/references/
  • pcnn-training.md · sub-skills/relation-extraction-pipeline/references/
  • troubleshooting.md · sub-skills/relation-extraction-pipeline/references/
  • deduplicate_training_rows.sh · sub-skills/relation-extraction-pipeline/scripts/
  • relation_dataset_schema_check.py · sub-skills/relation-extraction-pipeline/scripts/
  • SKILL.md · sub-skills/web-app-service/
  • configuration.md · sub-skills/web-app-service/references/
  • django-routes-and-views.md · sub-skills/web-app-service/references/
  • question-answering-and-tagging.md · sub-skills/web-app-service/references/
  • troubleshooting.md · sub-skills/web-app-service/references/
  • run_django_demo_check.sh · sub-skills/web-app-service/scripts/

SKILL.md (first lines)

# Agriculture_KnowledgeGraph

Use this repo skill when a task involves the Agriculture_KnowledgeGraph / AgriKG research demo: agricultural entity data, Neo4j graph imports and queries, the Django web demo, THULAC/KNN labels, Hudong/Wikidata/weather crawlers, or remote-supervised relation extraction.

## Start by routing the task

- **Graph data, Neo4j import/query, CSV schemas, hierarchy tree, or vector utilities:** use [graph-query-and-data-management](sub-skills/graph-query-and-data-management/SKILL.md).
- **Django demo startup, routes, forms, QA, relation search pages, tagging pages, or preload side effects:** use [web-app-service](sub-skills/web-app-service/SKILL.md).
- **THULAC entity recognition, label ids `0-16`, predicted label files, manual labels, fastText/KNN classifier prerequisites:** use [entity-labeling-and-ner](sub-skills/entity-labeling-and-ner/SKILL.md).
- **Hudong/Baike crawlers, DFS tree crawling, Wikidata property/entity/relation crawlers, weather/attribute pipelines, or generated relation CSV validation:** use [crawlers-and-wikidata-pipelines](sub-skills/crawlers-and-wikidata-pipelines/SKILL.md).
- **Wikidata/Wikipedia sentence alignment, relation dataset TSV/JSON creation, deduplication, Fire preprocessing commands, or TensorFlow PCNN training:** use [relation-extraction-pipeline](sub-skills/relation-extraction-pipeline/SKILL.md).

## Read shared references when needed

- [architecture-and-workflows.md](references/architecture-and-workflows.md) maps the repository components and task order.
- [installation-and-environment.md](references/installation-and-environment.md) explains the un-packaged source layout, old Python/Django stack, optional services, large assets, and dependency choices.
- [troubleshooting.md](references/troubleshooting.md) gives cross-cutting triage and routes symptoms to the right sub-skill.
- [repo-provenance.md](references/repo-provenance.md) records the source snapshot and evidence paths used to create this skill; read it before deciding whether a checkout needs refresh.

## Safe root preflight

Run the bundled checker before broad debugging:

```bash
python scripts/check_agri_kg_environment.py --help
python scripts/check_agri_kg_environment.py --repo-root /path/to/Agriculture_KnowledgeGraph
```

The checker is non-destructive. It imports optional packages, checks expected files when a checkout path is supplied, and can optionally probe local Neo4j/MongoDB sockets. It does not start services, crawl the network, download fastText vectors, connect with credentials, load large models, or train TensorFlow models.

## Repository operating assumptions

- The repo is a legacy source checkout, not a packaged Python distribution. Use workflow-specific dependencies and working directories rather than expecting `pip install -e .`.
- Python 3.7 with Django 1.11-era dependencies is the safest legacy starting point; modern Python may require compatibility patches.
- Neo4j, MongoDB, network crawls, large fastText/vector files, and TensorFlow PCNN training are external prerequisites. Treat them as explicit user-approved steps, not first-line smoke checks.
- Many source modules are path-sensitive or eager at import time. Prefer bundled validators and references before importing modules that start service connections or load large files.
- Do not claim a live graph import, web app, crawl, KNN prediction, or PCNN training run passed unless that exact workflow ran in the active environment.

## Quick task examples

- “Import the AgriKG CSVs into Neo4j” → graph-query-and-data-management, then its Cypher templates.
- “Django route fails before the first page loads” → web-app-service, especially preload troubleshooting.
- “Validate `predict_labels.txt` or explain label 6” → entity-labeling-and-ner.
- “Regenerate or validate `wikidata_relation2.csv`” → crawlers-and-wikidata-pipelines.
- “Convert aligned relation sentences into train/test JSON” → relation-extraction-pipeline.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

agriculture-knowledge-graph skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-agriculture-knowledge-graph (last updated 2026-10-24)