Add dataset card with documentation
Browse files
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- feature-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- rdf
|
| 10 |
+
- knowledge-graph
|
| 11 |
+
- semantic-web
|
| 12 |
+
- triples
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1K<n<10K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# WordNet RDF
|
| 18 |
+
|
| 19 |
+
## Dataset Description
|
| 20 |
+
|
| 21 |
+
Lexical database of semantic relations between words (English WordNet 2024)
|
| 22 |
+
|
| 23 |
+
**Original Source:** https://en-word.net/static/english-wordnet-2024.ttl.gz
|
| 24 |
+
|
| 25 |
+
### Dataset Summary
|
| 26 |
+
|
| 27 |
+
This dataset contains RDF triples from WordNet RDF converted to HuggingFace
|
| 28 |
+
dataset format for easy use in machine learning pipelines.
|
| 29 |
+
|
| 30 |
+
- **Format:** Originally turtle, converted to HuggingFace Dataset
|
| 31 |
+
- **Size:** 0.21 GB (extracted)
|
| 32 |
+
- **Entities:** ~120K synsets
|
| 33 |
+
- **Triples:** ~2M
|
| 34 |
+
- **Original License:** CC BY 4.0
|
| 35 |
+
|
| 36 |
+
### Recommended Use
|
| 37 |
+
|
| 38 |
+
Quick validation, linguistic relationships, small-scale testing
|
| 39 |
+
|
| 40 |
+
### Notes
|
| 41 |
+
|
| 42 |
+
Compressed download, automatic extraction. English WordNet 2024 from en-word.net
|
| 43 |
+
|
| 44 |
+
## RDF Format
|
| 45 |
+
|
| 46 |
+
This dataset uses a standard lossless format for representing RDF triples. Each triple is a row with 6 fields:
|
| 47 |
+
- `subject`: Subject URI or blank node
|
| 48 |
+
- `predicate`: Predicate URI
|
| 49 |
+
- `object`: Object value (URI, literal, or blank node)
|
| 50 |
+
- `object_type`: Type of object (`uri`, `literal`, or `blank_node`)
|
| 51 |
+
- `object_datatype`: XSD datatype URI (for typed literals)
|
| 52 |
+
- `object_language`: Language tag (for language-tagged literals)
|
| 53 |
+
|
| 54 |
+
### Loading the Dataset
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
dataset = load_dataset("wordnet")
|
| 60 |
+
for row in dataset["train"]:
|
| 61 |
+
print(f"{row['subject']} {row['predicate']} {row['object']}")
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
## Citation
|
| 65 |
+
|
| 66 |
+
If you use this dataset, please cite the original source:
|
| 67 |
+
|
| 68 |
+
**Dataset:** WordNet RDF
|
| 69 |
+
**URL:** https://en-word.net/static/english-wordnet-2024.ttl.gz
|
| 70 |
+
**License:** CC BY 4.0
|
| 71 |
+
|
| 72 |
+
## Conversion Details
|
| 73 |
+
|
| 74 |
+
- **Converted using:** [RDF to HuggingFace Incremental Converter](https://github.com/CleverThis/cleverernie)
|
| 75 |
+
- **Conversion date:** 2026-01-13
|
| 76 |
+
- **Format version:** 1.0
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
This dataset is part of the CleverThis knowledge graph collection.
|