# SimmerChan/KG-demo-for-movie

从无到有构建一个电影知识图谱，并基于该KG，开发一个简易的KBQA程序。

Repository: https://github.com/SimmerChan/KG-demo-for-movie
Canonical: https://ross.abutalabs.com/products/kg-demo-for-movie
Homepage: https://zhuanlan.zhihu.com/knowledgegraph
Language: Python
License Family: other
Topics: knowledge-graph, question-answering
Last push: 2022-08-06T05:52:54+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3179, "days_push": 1488, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1329, forks 423 (observed 2026-08-28T04:04:23.882269+00:00)

## What it is
A tutorial demo that builds a movie knowledge graph from scratch (MySQL → D2RQ → RDF → Jena Fuseki) and implements a simple KBQA (knowledge-base question answering) program on top of it. It is accompanied by a series of Chinese articles explaining knowledge graph concepts.

## Use cases
- build a knowledge graph from a relational database
- learn knowledge graph question answering
- convert MySQL data to RDF triples
- run a SPARQL endpoint with Jena Fuseki
- learn KBQA with a movie dataset
- understand ontology construction with Protégé

## When to choose
- you are learning knowledge graph fundamentals and want a complete end-to-end example
- you need a reference pipeline from relational data to RDF to question answering
- you want a small working KBQA demo to study and modify

## When to avoid
- you need a production-grade question answering system
- you require a maintained project with a license or active support
- you need modern Python compatibility (the demo targets Python 3.6)

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: search-engine, nlp, web-scraping, data-science
- domain: databases, education, artificial-intelligence
- platform: python, cross-platform
- tags: knowledge-graph, kbqa, question-answering, sparql, jena-fuseki, d2rq, rdf, ontology, streamlit, tutorial, natural-language-processing, docker, web-server

## Member repositories
- SimmerChan/KG-demo-for-movie (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:23.882269+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:37.871038+00:00, confidence not recorded.
  - readme: https://github.com/SimmerChan/KG-demo-for-movie (fetched 2026-08-28T04:04:23.882269+00:00, sha 13a296d8a908)
- Data as of 2026-08-30T08:39:29.467469+00:00.
