acrion commited on
Commit
d0c71bb
·
1 Parent(s): f4bacef

Add pruned Wikidata binary and README

Browse files
Files changed (2) hide show
  1. README.md +59 -0
  2. wikidata-20251222-pruned.bin +3 -0
README.md CHANGED
@@ -1,3 +1,62 @@
1
  ---
2
  license: cc-by-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-4.0
3
+ task_categories:
4
+ - graph-ml
5
+ language:
6
+ - en
7
+ tags:
8
+ - semantic-network
9
+ - knowledge-graph
10
+ - wikidata
11
+ - graph-ml
12
+ - semantic-inference
13
+ - token-compression
14
+ pretty_name: 'zelph Binaries: Semantic Networks from Knowledge Bases (e.g., Wikidata)'
15
+ size_categories:
16
+ - 100M<n<1B
17
  ---
18
+
19
+ # zelph Binaries Dataset
20
+
21
+ This dataset provides pre-compiled binary files (.bin) for use with [zelph](https://github.com/acrio/zelph), a sophisticated semantic network system.
22
+ These binaries are derived from large knowledge bases like Wikidata, optimized for fast loading and efficient querying.
23
+
24
+ ## Dataset Description
25
+
26
+ zelph binaries enable users to work with semantic networks without the need to import raw dumps (e.g., JSON files), which can take hours.
27
+ Instead, these .bin files load in minutes, though they require substantial RAM.
28
+
29
+ The dataset includes both full and pruned variants:
30
+
31
+ - **Full binaries**: Contain the complete network, suitable for comprehensive use but demanding high RAM (Wikidata: ~ 210 GB RAM).
32
+ - **Pruned binaries**: Reduced versions with removed domains (e.g., biology, chemistry, astronomy) to lower RAM requirements (~ 16 GB RAM) while preserving core connections.
33
+
34
+ For detailed information on each binary, including sizes, creation dates, pruning details, and updates, visit [https://zelph.org/binaries](https://zelph.org/binaries).
35
+
36
+ ## How to Use
37
+
38
+ 1. Download the desired .bin file from this dataset.
39
+ 2. In zelph interactive mode, load it with:
40
+ ```
41
+ .load /path/to/your-file.bin
42
+ ```
43
+ 3. Run queries, define rules, perform inferences or run complete scripts (see [zelph on GitHub](https://github.com/acrion/zelph?tab=readme-ov-file#performing-inference) for details).
44
+
45
+ ## LLM-Friendly Outputs
46
+
47
+ zelph can generate rule-based inferences in a compressed text format optimized for LLM training or processing.
48
+ This uses a token encoder that maps Wikidata IDs (Q/P) to compact UTF-8 symbols (CJK range), reducing input length while preserving structure.
49
+
50
+ This feature is currently focused on Wikidata, but it can be adapted for similar use cases.
51
+ Use it to export inferences from loaded binaries for LLM datasets – see the [command documentation on GitHub](https://github.com/acrion/zelph?tab=readme-ov-file#exporting-deduced-facts-to-file) for details.
52
+
53
+ ## Citation
54
+ If you use this dataset, cite as:
55
+ ```
56
+ @dataset{zelph,
57
+ author = {Stefan Zipproth},
58
+ title = {zelph Binaries Dataset},
59
+ year = {2026},
60
+ url = {https://huggingface.co/datasets/acrion/zelph}
61
+ }
62
+ ```
wikidata-20251222-pruned.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49c6b5553bb93f2c0909c8b6c86cf02a12dd076c550b0b0b7567b1d542ca832d
3
+ size 4350008326