add README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,55 @@
|
|
| 1 |
---
|
| 2 |
title: Wikidata Knowledge Graph Explorer
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Wikidata Knowledge Graph Explorer
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.9.1
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: 13 entities, 395 Wikidata statements live.
|
| 12 |
+
tags:
|
| 13 |
+
- knowledge-graph
|
| 14 |
+
- wikidata
|
| 15 |
+
- sparql
|
| 16 |
+
- semantic-web
|
| 17 |
+
- linked-data
|
| 18 |
+
- neo-genesis
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Wikidata Knowledge Graph Explorer
|
| 22 |
+
|
| 23 |
+
A Gradio UI to browse, inspect, and visualize the **Neo Genesis** knowledge graph
|
| 24 |
+
on Wikidata: 13 entities (parent organization + founder + 11 SBUs) with **395
|
| 25 |
+
statements** across 21+ properties.
|
| 26 |
+
|
| 27 |
+
Data is queried from the live [Wikidata Query Service](https://query.wikidata.org/sparql)
|
| 28 |
+
at cold start, cached 5 min via `functools.lru_cache`. No paid APIs.
|
| 29 |
+
|
| 30 |
+
## Tabs
|
| 31 |
+
1. **Browse** β table of all 13 entities sorted by statement count, with EN/KO labels and Wikidata links.
|
| 32 |
+
2. **Entity Detail** β pick a Q-ID, see all statements grouped by property (P31, P159, P571, P856, P112, P1830, P3320, etc.).
|
| 33 |
+
3. **Graph View** β force-directed networkx + plotly visualization of P112 / P361 / P1830 / P127 / P3320 relationships.
|
| 34 |
+
4. **About** β Q-ID registry, sameAs cross-linking explanation, and links back to neogenesis.app + 6 HF datasets + 2 companion Spaces.
|
| 35 |
+
|
| 36 |
+
## The 13 Q-IDs
|
| 37 |
+
- [Q139569680](https://www.wikidata.org/wiki/Q139569680) β Neo Genesis (parent)
|
| 38 |
+
- [Q139569708](https://www.wikidata.org/wiki/Q139569708) β Yesol Heo (founder, P112)
|
| 39 |
+
- Q139569710 / 711 / 712 / 715 / 716 / 718 / 720 / 724 / 725 / 726 / 727 β 11 SBUs
|
| 40 |
+
|
| 41 |
+
All registered 2026-04-27 via BotPassword + `wbeditentity` API directly.
|
| 42 |
+
|
| 43 |
+
## Stack
|
| 44 |
+
- `gradio==5.9.1` (Python 3.13 native)
|
| 45 |
+
- `pandas` + `plotly` (browse + graph)
|
| 46 |
+
- `networkx` (force-directed layout)
|
| 47 |
+
- `requests` / `urllib` (SPARQL queries)
|
| 48 |
+
|
| 49 |
+
## License
|
| 50 |
+
- App code: **MIT** (this Space)
|
| 51 |
+
- Data: **CC0** (Wikidata is public domain)
|
| 52 |
+
|
| 53 |
+
## Operator
|
| 54 |
+
- [neogenesis.app](https://neogenesis.app)
|
| 55 |
+
- HuggingFace: [neogenesislab](https://huggingface.co/neogenesislab)
|