File size: 1,939 Bytes
0d58326
 
a050aaf
 
 
0d58326
a050aaf
0d58326
 
a050aaf
 
 
 
 
 
 
 
 
0d58326
 
a050aaf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Wikidata Knowledge Graph Explorer
emoji: 🌐
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
short_description: 13 entities, 395 Wikidata statements live.
tags:
- knowledge-graph
- wikidata
- sparql
- semantic-web
- linked-data
- neo-genesis
---

# Wikidata Knowledge Graph Explorer

A Gradio UI to browse, inspect, and visualize the **Neo Genesis** knowledge graph
on Wikidata: 13 entities (parent organization + founder + 11 SBUs) with **395
statements** across 21+ properties.

Data is queried from the live [Wikidata Query Service](https://query.wikidata.org/sparql)
at cold start, cached 5 min via `functools.lru_cache`. No paid APIs.

## Tabs
1. **Browse** β€” table of all 13 entities sorted by statement count, with EN/KO labels and Wikidata links.
2. **Entity Detail** β€” pick a Q-ID, see all statements grouped by property (P31, P159, P571, P856, P112, P1830, P3320, etc.).
3. **Graph View** β€” force-directed networkx + plotly visualization of P112 / P361 / P1830 / P127 / P3320 relationships.
4. **About** β€” Q-ID registry, sameAs cross-linking explanation, and links back to neogenesis.app + 6 HF datasets + 2 companion Spaces.

## The 13 Q-IDs
- [Q139569680](https://www.wikidata.org/wiki/Q139569680) β€” Neo Genesis (parent)
- [Q139569708](https://www.wikidata.org/wiki/Q139569708) β€” Yesol Heo (founder, P112)
- Q139569710 / 711 / 712 / 715 / 716 / 718 / 720 / 724 / 725 / 726 / 727 β€” 11 SBUs

All registered 2026-04-27 via BotPassword + `wbeditentity` API directly.

## Stack
- `gradio==5.9.1` (Python 3.13 native)
- `pandas` + `plotly` (browse + graph)
- `networkx` (force-directed layout)
- `requests` / `urllib` (SPARQL queries)

## License
- App code: **MIT** (this Space)
- Data: **CC0** (Wikidata is public domain)

## Operator
- [neogenesis.app](https://neogenesis.app)
- HuggingFace: [neogenesislab](https://huggingface.co/neogenesislab)