wordnet-test / README.md
sasukae's picture
Add dataset card with documentation
e27f226 verified
metadata
license: cc-by-4.0
task_categories:
  - text-generation
  - feature-extraction
language:
  - en
tags:
  - rdf
  - knowledge-graph
  - semantic-web
  - triples
size_categories:
  - 1K<n<10K

WordNet RDF

Dataset Description

Lexical database of semantic relations between words (English WordNet 2024)

Original Source: https://en-word.net/static/english-wordnet-2024.ttl.gz

Dataset Summary

This dataset contains RDF triples from WordNet RDF converted to HuggingFace dataset format for easy use in machine learning pipelines.

  • Format: Originally turtle, converted to HuggingFace Dataset
  • Size: 0.21 GB (extracted)
  • Entities: ~120K synsets
  • Triples: ~2M
  • Original License: CC BY 4.0

Recommended Use

Quick validation, linguistic relationships, small-scale testing

Notes

Compressed download, automatic extraction. English WordNet 2024 from en-word.net

RDF Format

This dataset uses a standard lossless format for representing RDF triples. Each triple is a row with 6 fields:

  • subject: Subject URI or blank node
  • predicate: Predicate URI
  • object: Object value (URI, literal, or blank node)
  • object_type: Type of object (uri, literal, or blank_node)
  • object_datatype: XSD datatype URI (for typed literals)
  • object_language: Language tag (for language-tagged literals)

Loading the Dataset

from datasets import load_dataset

dataset = load_dataset("wordnet")
for row in dataset["train"]:
    print(f"{row['subject']} {row['predicate']} {row['object']}")

Citation

If you use this dataset, please cite the original source:

Dataset: WordNet RDF URL: https://en-word.net/static/english-wordnet-2024.ttl.gz License: CC BY 4.0

Conversion Details


This dataset is part of the CleverThis knowledge graph collection.