Skip to content
cccskills
FreePublished on GitHub

agriculture-knowledge-graph

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

The English summary is being prepared. Showing the original description.

Works withMongoDB
See how to install

Files included (40)

  • SKILL.md4.2 KB
  • references/architecture-and-workflows.md3.6 KB
  • references/installation-and-environment.md3.8 KB
  • references/repo-provenance.md3.5 KB
  • references/repo-routing-metadata.json551 B
  • references/troubleshooting.md3.8 KB
  • scripts/check_agri_kg_environment.py6.5 KB
  • sub-skills/crawlers-and-wikidata-pipelines/references/crawler-workflows.md7.4 KB
  • sub-skills/crawlers-and-wikidata-pipelines/references/troubleshooting.md5.1 KB
  • sub-skills/crawlers-and-wikidata-pipelines/references/weather-and-attribute-pipelines.md4.1 KB
  • sub-skills/crawlers-and-wikidata-pipelines/references/wikidata-processing.md4.5 KB
  • sub-skills/crawlers-and-wikidata-pipelines/scripts/validate_relation_csvs.py14.1 KB
  • sub-skills/crawlers-and-wikidata-pipelines/SKILL.md3.6 KB
  • sub-skills/entity-labeling-and-ner/references/entity-labeling-and-ner.md3.4 KB
  • sub-skills/entity-labeling-and-ner/references/knn-classifier-api.md2.6 KB
  • sub-skills/entity-labeling-and-ner/references/label-taxonomy.md2.3 KB
  • sub-skills/entity-labeling-and-ner/references/troubleshooting.md2.4 KB
  • sub-skills/entity-labeling-and-ner/scripts/knn_feature_probe.py9.4 KB
  • sub-skills/entity-labeling-and-ner/scripts/label_file_check.py3.7 KB
  • sub-skills/entity-labeling-and-ner/SKILL.md2.0 KB
  • sub-skills/graph-query-and-data-management/references/data-formats.md4.7 KB
  • sub-skills/graph-query-and-data-management/references/neo4j-import-and-query.md7.4 KB
  • sub-skills/graph-query-and-data-management/references/tree-and-vector-apis.md3.6 KB
  • sub-skills/graph-query-and-data-management/references/troubleshooting.md5.8 KB
  • sub-skills/graph-query-and-data-management/scripts/cypher_import_templates.cypher5.8 KB
  • sub-skills/graph-query-and-data-management/scripts/tree_api_smoke.py7.3 KB
  • sub-skills/graph-query-and-data-management/SKILL.md2.4 KB
  • sub-skills/relation-extraction-pipeline/references/data-formats.md6.3 KB
  • sub-skills/relation-extraction-pipeline/references/dataset-preparation.md6.2 KB
  • sub-skills/relation-extraction-pipeline/references/pcnn-training.md6.8 KB
  • sub-skills/relation-extraction-pipeline/references/troubleshooting.md7.8 KB
  • sub-skills/relation-extraction-pipeline/scripts/deduplicate_training_rows.sh3.0 KB
  • sub-skills/relation-extraction-pipeline/scripts/relation_dataset_schema_check.py18.3 KB
  • sub-skills/relation-extraction-pipeline/SKILL.md2.8 KB
  • sub-skills/web-app-service/references/configuration.md2.2 KB
  • sub-skills/web-app-service/references/django-routes-and-views.md3.5 KB
  • sub-skills/web-app-service/references/question-answering-and-tagging.md3.1 KB
  • sub-skills/web-app-service/references/troubleshooting.md2.4 KB
  • sub-skills/web-app-service/scripts/run_django_demo_check.sh6.8 KB
  • sub-skills/web-app-service/SKILL.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.
  • Django demo startup, routes, forms, QA, relation search pages, tagging pages, or preload side effects: use web-app-service.
  • THULAC entity recognition, label ids 0-16, predicted label files, manual labels, fastText/KNN classifier prerequisites: use entity-labeling-and-ner.
  • Hudong/Baike crawlers, DFS tree crawling, Wikidata property/entity/relation crawlers, weather/attribute pipelines, or generated relation CSV validation: use crawlers-and-wikidata-pipelines.
  • Wikidata/Wikipedia sentence alignment, relation dataset TSV/JSON creation, deduplication, Fire preprocessing commands, or TensorFlow PCNN training: use relation-extraction-pipeline.

Read shared references when needed

Safe root preflight

Run the bundled checker before broad debugging:

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill