subject
stringlengths 20
185
| predicate
stringclasses 53
values | object
stringlengths 1
508
| object_type
stringclasses 3
values | object_datatype
stringclasses 1
value | object_language
stringclasses 1
value |
|---|---|---|---|---|---|
ne4d8fd98736a4f2d9dcbfb81ca618012b478478
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-12591208-n
|
uri
| null | null |
https://en-word.net/lemma/propagation#propagation-n-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
propagation
|
literal
| null |
en
|
https://en-word.net/lemma/scaleless#scaleless-oewn-00148927-s
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-00148927-s
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b352714
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-05813910-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b205768
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#SenseRelation
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b48284
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
an order in the subclass Cnidosporidia, characterized by complex spores having at least one infective amoeboid sporoplasm and one or more polar capsules containing coiled, extrusible filaments (Myxosporidia)
|
literal
| null |
en
|
ne4d8fd98736a4f2d9dcbfb81ca618012b547011
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/lemma/indecisive#indecisive-oewn-00688760-a
|
uri
| null | null |
https://en-word.net/id/oewn-02731335-v
|
http://purl.org/dc/terms/subject
|
verb.stative
|
literal
| null | null |
https://en-word.net/id/oewn-15188204-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-15189152-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b246482
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-01936848-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b232808
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-01712617-s
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b268927
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-02351692-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b224258
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-01559703-v
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b441325
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-10291148-n
|
uri
| null | null |
https://en-word.net/id/oewn-13798542-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalConcept
|
uri
| null | null |
https://en-word.net/lemma/spastic_paralysis#spastic_paralysis-oewn-14118135-n
|
https://globalwordnet.github.io/schemas/wn#derivation
|
https://en-word.net/lemma/spastic#spastic-oewn-03131276-a
|
uri
| null | null |
https://en-word.net/id/oewn-03868196-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-92463064-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/ASCII_character#ASCII_character-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b401050
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-08455832-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b552028
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#similar
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/spasmolysis#spasmolysis-n
|
uri
| null | null |
https://en-word.net/lemma/infant_mortality_rate#infant_mortality_rate-n-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
infant mortality rate
|
literal
| null |
en
|
https://en-word.net/id/oewn-00046739-r
|
https://globalwordnet.github.io/schemas/wn#example
|
ne4d8fd98736a4f2d9dcbfb81ca618012b1902
|
blank_node
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/sleepy_dick#sleepy_dick-n
|
uri
| null | null |
https://en-word.net/lemma/idle_talk#idle_talk-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/idle_talk#idle_talk-oewn-07151837-n
|
uri
| null | null |
https://en-word.net/id/oewn-02923467-n
|
https://globalwordnet.github.io/schemas/wn#definition
|
ne4d8fd98736a4f2d9dcbfb81ca618012b87629
|
blank_node
| null | null |
https://en-word.net/lemma/piezo_effect#piezo_effect-oewn-11511708-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b522570
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-15292923-n
|
uri
| null | null |
https://en-word.net/id/oewn-03214387-n
|
http://purl.org/dc/terms/subject
|
noun.artifact
|
literal
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b294194
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/lemma/acronym#acronym-oewn-07106330-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b328860
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#mero_part
|
uri
| null | null |
https://en-word.net/lemma/bowling_ball#bowling_ball-oewn-02885542-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
https://en-word.net/id/oewn-15113671-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-15113236-n
|
uri
| null | null |
https://en-word.net/lemma/genus_Podilymbus#genus_Podilymbus-oewn-02053575-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b297651
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
uri
| null | null |
https://en-word.net/id/oewn-01165418-n
|
https://globalwordnet.github.io/schemas/wn#ili
|
http://globalwordnet.org/ili/i41492
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b494462
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-92419120-n
|
uri
| null | null |
https://en-word.net/lemma/Equisetatae#Equisetatae-n
|
http://www.w3.org/ns/lemon/ontolex#canonicalForm
|
https://en-word.net/lemma/Equisetatae#Equisetatae-n-lemma
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b189704
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/lemma/acquire#acquire-oewn-02215637-v
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b225969
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
uri
| null | null |
https://en-word.net/id/oewn-00190641-r
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#adverb
|
uri
| null | null |
https://en-word.net/lemma/toll_agent#toll_agent-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/sadden#sadden-oewn-01817020-v
|
https://globalwordnet.github.io/schemas/wn#antonym
|
https://en-word.net/lemma/gladden#gladden-oewn-01817466-v
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b496799
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-13664755-n
|
uri
| null | null |
https://en-word.net/id/oewn-02432868-s
|
https://globalwordnet.github.io/schemas/wn#example
|
ne4d8fd98736a4f2d9dcbfb81ca618012b75742
|
blank_node
| null | null |
https://en-word.net/id/oewn-02764839-n
|
https://globalwordnet.github.io/schemas/wn#definition
|
ne4d8fd98736a4f2d9dcbfb81ca618012b84615
|
blank_node
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b239791
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-01827796-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b83365
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
of or relating to or resembling a cyst
|
literal
| null |
en
|
https://en-word.net/id/oewn-00313517-n
|
http://purl.org/dc/terms/subject
|
noun.act
|
literal
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b129137
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
a rocky region in the southern Transvaal in northeastern South Africa; contains rich gold deposits and coal and manganese
|
literal
| null |
en
|
https://en-word.net/lemma/Kastler#Kastler-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Kastler#Kastler-oewn-11117515-n
|
uri
| null | null |
https://en-word.net/id/oewn-09723453-n
|
http://purl.org/dc/terms/subject
|
noun.person
|
literal
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b121657
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
(Italian) a small dumpling made of potato or flour or semolina that is boiled or baked and is usually served with a sauce or with grated cheese
|
literal
| null |
en
|
https://en-word.net/lemma/Shoshonean_language#Shoshonean_language-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Shoshonean_language#Shoshonean_language-oewn-06928089-n
|
uri
| null | null |
https://en-word.net/lemma/anti-democracy#anti-democracy-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/anti-democracy#anti-democracy-oewn-92438175-n
|
uri
| null | null |
https://en-word.net/lemma/police_cruiser#police_cruiser-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/powerful#powerful-s
|
http://www.w3.org/ns/lemon/ontolex#canonicalForm
|
https://en-word.net/lemma/powerful#powerful-s-lemma
|
uri
| null | null |
https://en-word.net/id/oewn-12885123-n
|
https://globalwordnet.github.io/schemas/wn#holo_member
|
https://en-word.net/id/oewn-12858787-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/precipitateness#precipitateness-n
|
uri
| null | null |
https://en-word.net/id/oewn-03982463-n
|
https://globalwordnet.github.io/schemas/wn#definition
|
ne4d8fd98736a4f2d9dcbfb81ca618012b97038
|
blank_node
| null | null |
https://en-word.net/lemma/Myrica_cerifera#Myrica_cerifera-oewn-11762044-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-11762044-n
|
uri
| null | null |
https://en-word.net/lemma/corymbose#corymbose-a
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b301996
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#SenseRelation
|
uri
| null | null |
https://en-word.net/id/oewn-07886710-n
|
https://globalwordnet.github.io/schemas/wn#definition
|
ne4d8fd98736a4f2d9dcbfb81ca618012b122783
|
blank_node
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b517309
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-14983197-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b342570
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b410871
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#has_domain_region
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/Assuan#Assuan-n
|
uri
| null | null |
https://en-word.net/lemma/Chassidism#Chassidism-oewn-06244411-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-06244411-n
|
uri
| null | null |
https://en-word.net/id/oewn-13061731-n
|
http://purl.org/dc/terms/subject
|
noun.plant
|
literal
| null | null |
https://en-word.net/lemma/glistering#glistering-s-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
glistering
|
literal
| null |
en
|
https://en-word.net/lemma/stonewall#stonewall-v
|
http://www.w3.org/ns/lemon/ontolex#canonicalForm
|
https://en-word.net/lemma/stonewall#stonewall-v-lemma
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b75674
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
open formally
|
literal
| null |
en
|
https://en-word.net/lemma/Gagarin#Gagarin-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/perplexedly#perplexedly-oewn-00422436-r
|
https://globalwordnet.github.io/schemas/wn#pertainym
|
https://en-word.net/lemma/perplexed#perplexed-oewn-01770155-a
|
uri
| null | null |
https://en-word.net/id/oewn-01147123-v
|
http://purl.org/dc/terms/subject
|
verb.competition
|
literal
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b287174
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#derivation
|
uri
| null | null |
https://en-word.net/lemma/Alismataceae#Alismataceae-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Alismataceae#Alismataceae-oewn-12632576-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b417113
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/lemma/laugh#laugh-oewn-00031813-v
|
uri
| null | null |
https://en-word.net/id/oewn-01139527-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalConcept
|
uri
| null | null |
https://en-word.net/lemma/propitiousness#propitiousness-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
https://en-word.net/lemma/salad_dressing#salad_dressing-oewn-07848878-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b548072
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-00662334-n
|
uri
| null | null |
https://en-word.net/id/oewn-00227504-s
|
https://globalwordnet.github.io/schemas/wn#example
|
ne4d8fd98736a4f2d9dcbfb81ca618012b9956
|
blank_node
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b52980
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
a genus of Hirundinidae
|
literal
| null |
en
|
https://en-word.net/lemma/raving#raving-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
https://en-word.net/id/oewn-14054153-n
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
https://en-word.net/id/oewn-05653884-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b534771
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#SenseRelation
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b237512
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#derivation
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b139620
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
a person who is skilled at planning tactics
|
literal
| null |
en
|
ne4d8fd98736a4f2d9dcbfb81ca618012b478120
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-12566140-n
|
uri
| null | null |
https://en-word.net/lemma/carunculate#carunculate-a-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
carunculate
|
literal
| null |
en
|
https://en-word.net/id/oewn-09942644-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/American_spelling#American_spelling-oewn-87027384-n
|
https://globalwordnet.github.io/schemas/wn#is_exemplified_by
|
https://en-word.net/lemma/savior#savior-oewn-10573233-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/imperialist#imperialist-a
|
uri
| null | null |
https://en-word.net/id/oewn-06730109-n
|
https://globalwordnet.github.io/schemas/wn#is_exemplified_by
|
https://en-word.net/id/oewn-10048363-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b254905
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b494239
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-13533928-n
|
uri
| null | null |
ne4d8fd98736a4f2d9dcbfb81ca618012b338649
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#SenseRelation
|
uri
| null | null |
https://en-word.net/id/oewn-11676574-n
|
https://globalwordnet.github.io/schemas/wn#ili
|
http://globalwordnet.org/ili/i98620
|
uri
| null | null |
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
Dataset Format: Lossless RDF Representation
This dataset uses a standard lossless format for representing RDF (Resource Description Framework) data in HuggingFace Datasets. All semantic information from the original RDF knowledge graph is preserved, enabling perfect round-trip conversion between RDF and HuggingFace formats.
Schema
Each RDF triple is represented as a row with 6 fields:
| Field | Type | Description | Example |
|---|---|---|---|
subject |
string | Subject of the triple (URI or blank node) | "http://schema.org/Person" |
predicate |
string | Predicate URI | "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" |
object |
string | Object of the triple | "John Doe" or "http://schema.org/Thing" |
object_type |
string | Type of object: "uri", "literal", or "blank_node" |
"literal" |
object_datatype |
string | XSD datatype URI (for typed literals) | "http://www.w3.org/2001/XMLSchema#integer" |
object_language |
string | Language tag (for language-tagged literals) | "en" |
Example: RDF Triple Representation
Original RDF (Turtle):
<http://example.org/John> <http://schema.org/name> "John Doe"@en .
HuggingFace Dataset Row:
{
"subject": "http://example.org/John",
"predicate": "http://schema.org/name",
"object": "John Doe",
"object_type": "literal",
"object_datatype": None,
"object_language": "en"
}
Loading the Dataset
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("CleverThis/wordnet")
# Access the data
data = dataset["data"]
# Iterate over triples
for row in data:
subject = row["subject"]
predicate = row["predicate"]
obj = row["object"]
obj_type = row["object_type"]
print(f"Triple: ({subject}, {predicate}, {obj})")
print(f" Object type: {obj_type}")
if row["object_language"]:
print(f" Language: {row['object_language']}")
if row["object_datatype"]:
print(f" Datatype: {row['object_datatype']}")
Converting Back to RDF
The dataset can be converted back to any RDF format (Turtle, N-Triples, RDF/XML, etc.) with zero information loss:
from datasets import load_dataset
from rdflib import Graph, URIRef, Literal, BNode
def convert_to_rdf(dataset_name, output_file="output.ttl", split="data"):
"""Convert HuggingFace dataset back to RDF Turtle format."""
# Load dataset
dataset = load_dataset(dataset_name)
# Create RDF graph
graph = Graph()
# Convert each row to RDF triple
for row in dataset[split]:
# Subject
if row["subject"].startswith("_:"):
subject = BNode(row["subject"][2:])
else:
subject = URIRef(row["subject"])
# Predicate (always URI)
predicate = URIRef(row["predicate"])
# Object (depends on object_type)
if row["object_type"] == "uri":
obj = URIRef(row["object"])
elif row["object_type"] == "blank_node":
obj = BNode(row["object"][2:])
elif row["object_type"] == "literal":
if row["object_datatype"]:
obj = Literal(row["object"], datatype=URIRef(row["object_datatype"]))
elif row["object_language"]:
obj = Literal(row["object"], lang=row["object_language"])
else:
obj = Literal(row["object"])
graph.add((subject, predicate, obj))
# Serialize to Turtle (or any RDF format)
graph.serialize(output_file, format="turtle")
print(f"Exported {len(graph)} triples to {output_file}")
return graph
# Usage
graph = convert_to_rdf("CleverThis/wordnet", "reconstructed.ttl")
Information Preservation Guarantee
This format preserves 100% of RDF information:
- ✅ URIs: Exact string representation preserved
- ✅ Literals: Full text content preserved
- ✅ Datatypes: XSD and custom datatypes preserved
(e.g.,
xsd:integer,xsd:dateTime) - ✅ Language Tags: BCP 47 language tags preserved (e.g.,
@en,@fr,@ja) - ✅ Blank Nodes: Node structure preserved (identifiers may change but graph isomorphism maintained)
Round-trip guarantee: Original RDF → HuggingFace → Reconstructed RDF produces semantically identical graphs.
Querying the Dataset
You can filter and query the dataset like any HuggingFace dataset:
from datasets import load_dataset
dataset = load_dataset("CleverThis/wordnet")
# Find all triples with English literals
english_literals = dataset["data"].filter(
lambda x: x["object_type"] == "literal" and x["object_language"] == "en"
)
print(f"Found {len(english_literals)} English literals")
# Find all rdf:type statements
type_statements = dataset["data"].filter(
lambda x: "rdf-syntax-ns#type" in x["predicate"]
)
print(f"Found {len(type_statements)} type statements")
# Convert to Pandas for analysis
import pandas as pd
df = dataset["data"].to_pandas()
# Analyze predicate distribution
print(df["predicate"].value_counts())
Dataset Format
The dataset contains all triples in a single data split, suitable for machine learning tasks such as:
- Knowledge graph completion
- Link prediction
- Entity embedding
- Relation extraction
- Graph neural networks
Format Specification
For complete technical documentation of the RDF-to-HuggingFace format, see:
📖 RDF to HuggingFace Format Specification
The specification includes:
- Detailed schema definition
- All RDF node type mappings
- Performance benchmarks
- Edge cases and limitations
- Complete code examples
Conversion Metadata
- Source Format: turtle
- Original Size: 0.21 GB
- Conversion Tool: CleverErnie RDF Pipeline
- Format Version: 1.0
- Conversion Date: 2026-01-07
Citation
If you use this dataset, please cite the original source:
Original Dataset: WordNet RDF URL: https://en-word.net/static/english-wordnet-2024.ttl.gz License: CC BY 4.0
Dataset Preparation
This dataset was prepared using the CleverErnie GISM framework:
# Download original dataset
python scripts/rdf_dataset_downloader.py wordnet -o datasets/
# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset.py \
datasets/wordnet/[file] \
hf_datasets/wordnet \
--format turtle
# Upload to HuggingFace Hub
python scripts/upload_all_datasets.py --dataset wordnet
Additional Information
Original Source
https://en-word.net/static/english-wordnet-2024.ttl.gz
Conversion Details
- Converted using: CleverErnie GISM
- Conversion script:
scripts/convert_rdf_to_hf_dataset.py - Dataset format: Single 'data' split with all triples
Maintenance
This dataset is maintained by the CleverThis organization.
- Downloads last month
- -