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 |
|---|---|---|---|---|---|
https://en-word.net/lemma/configurationism#configurationism-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-11478361-n
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
https://en-word.net/id/oewn-11482925-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b283289
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/lemma/allergic#allergic-oewn-02623070-a
|
uri
| null | null |
https://en-word.net/lemma/dental_hygienist#dental_hygienist-n-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
dental hygienist
|
literal
| null |
en
|
n5f28a129149449e4a0d9bda758d98198b528271
|
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-04318623-n
|
http://www.w3.org/2004/02/skos/core#inScheme
|
https://en-word.net/
|
uri
| null | null |
https://en-word.net/id/oewn-06191860-n
|
https://globalwordnet.github.io/schemas/wn#has_domain_topic
|
https://en-word.net/id/oewn-05694495-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b161582
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
the condition of having submitted to control by someone or something else
|
literal
| null |
en
|
https://en-word.net/id/oewn-01051399-n
|
http://www.w3.org/2004/02/skos/core#inScheme
|
https://en-word.net/
|
uri
| null | null |
https://en-word.net/lemma/authorise#authorise-oewn-00804987-v
|
https://globalwordnet.github.io/schemas/wn#other
|
https://en-word.net/lemma/authorisation#authorisation-oewn-01140991-n
|
uri
| null | null |
https://en-word.net/id/oewn-14281678-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/tolbooth#tolbooth-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/tolbooth#tolbooth-oewn-04456561-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/padrone#padrone-n
|
uri
| null | null |
https://en-word.net/lemma/state-supported#state-supported-s
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b478367
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-12582925-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/pocket#pocket-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/doss_down#doss_down-v
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b54013
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
attempting to or designed to prevent an opponent from winning or scoring
|
literal
| null |
en
|
https://en-word.net/id/oewn-09905992-n
|
https://globalwordnet.github.io/schemas/wn#domain_topic
|
https://en-word.net/id/oewn-08215965-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b553810
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
uri
| null | null |
https://en-word.net/id/oewn-01943670-v
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
https://en-word.net/id/oewn-01943033-v
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b519765
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-15165704-n
|
uri
| null | null |
https://en-word.net/lemma/credit_balance#credit_balance-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/id/oewn-00143890-s
|
https://globalwordnet.github.io/schemas/wn#definition
|
n5f28a129149449e4a0d9bda758d98198b6209
|
blank_node
| null | null |
n5f28a129149449e4a0d9bda758d98198b514441
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#derivation
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b312013
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-03600930-n
|
uri
| null | null |
https://en-word.net/lemma/burden#burden-v-lemma
|
http://www.w3.org/ns/lemon/ontolex#writtenRep
|
burden
|
literal
| null |
en
|
n5f28a129149449e4a0d9bda758d98198b415801
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#holo_part
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b116375
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
a Chadic language spoken in the Mandara mountains in Cameroon; has only two vowels
|
literal
| null |
en
|
n5f28a129149449e4a0d9bda758d98198b312562
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-03632523-n
|
uri
| null | null |
https://en-word.net/id/oewn-00417406-r
|
https://globalwordnet.github.io/schemas/wn#ili
|
http://globalwordnet.org/ili/i20990
|
uri
| null | null |
https://en-word.net/lemma/Old_World_leishmaniasis#Old_World_leishmaniasis-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Old_World_leishmaniasis#Old_World_leishmaniasis-oewn-14204669-n
|
uri
| null | null |
https://en-word.net/id/oewn-09605297-n
|
https://globalwordnet.github.io/schemas/wn#domain_topic
|
https://en-word.net/id/oewn-08000298-n
|
uri
| null | null |
https://en-word.net/id/oewn-01314022-s
|
https://globalwordnet.github.io/schemas/wn#example
|
n5f28a129149449e4a0d9bda758d98198b45070
|
blank_node
| null | null |
https://en-word.net/lemma/anaphrodisia#anaphrodisia-n
|
http://www.w3.org/ns/lemon/ontolex#canonicalForm
|
https://en-word.net/lemma/anaphrodisia#anaphrodisia-n-lemma
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b275189
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/lemma/Australian_spelling#Australian_spelling-oewn-84746436-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b304482
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-92427456-n
|
uri
| null | null |
https://en-word.net/lemma/computer_virus#computer_virus-oewn-06597992-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-06597992-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b544040
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-00636421-s
|
uri
| null | null |
https://en-word.net/id/oewn-00619229-n
|
https://globalwordnet.github.io/schemas/wn#definition
|
n5f28a129149449e4a0d9bda758d98198b25457
|
blank_node
| null | null |
n5f28a129149449e4a0d9bda758d98198b553031
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-00799022-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b394047
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-08908068-n
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/legislator#legislator-n
|
uri
| null | null |
https://en-word.net/id/oewn-00734044-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-00743612-n
|
uri
| null | null |
https://en-word.net/id/oewn-01560454-a
|
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/id/oewn-15245539-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/lemma/La_Plata#La_Plata-oewn-09433436-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-09433436-n
|
uri
| null | null |
https://en-word.net/lemma/intent#intent-oewn-00165213-s
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b7087
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
a clip-on bow tie
|
literal
| null |
en
|
n5f28a129149449e4a0d9bda758d98198b339085
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-05045748-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b188277
|
http://www.w3.org/2000/01/rdf-schema#label
|
Somebody ----s something
|
literal
| null |
en
|
https://en-word.net/id/oewn-01030024-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-01031438-n
|
uri
| null | null |
https://en-word.net/id/oewn-07951148-n
|
http://purl.org/dc/terms/subject
|
noun.food
|
literal
| null | null |
n5f28a129149449e4a0d9bda758d98198b514197
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-14788999-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b312100
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-03605830-n
|
uri
| null | null |
https://en-word.net/lemma/memoir#memoir-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/memoir#memoir-oewn-06421830-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b223494
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#holo_member
|
uri
| null | null |
https://en-word.net/lemma/moral_principle#moral_principle-oewn-05964886-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-05964886-n
|
uri
| null | null |
https://en-word.net/lemma/bacchic#bacchic-oewn-00801277-s
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-00801277-s
|
uri
| null | null |
https://en-word.net/lemma/cat_and_rat#cat_and_rat-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/cat_and_rat#cat_and_rat-oewn-00485543-n
|
uri
| null | null |
https://en-word.net/id/oewn-03024107-a
|
http://www.w3.org/2004/02/skos/core#inScheme
|
https://en-word.net/
|
uri
| null | null |
https://en-word.net/id/oewn-11629926-n
|
https://globalwordnet.github.io/schemas/wn#hyponym
|
https://en-word.net/id/oewn-11631053-n
|
uri
| null | null |
https://en-word.net/lemma/Egyptian_corn#Egyptian_corn-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Egyptian_corn#Egyptian_corn-oewn-12158308-n
|
uri
| null | null |
https://en-word.net/id/oewn-00868841-n
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
https://en-word.net/id/oewn-00865191-n
|
uri
| null | null |
https://en-word.net/id/oewn-11042305-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b58007
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
|
regard with feelings of respect and reverence; consider hallowed or exalted or be in awe of
|
literal
| null |
en
|
n5f28a129149449e4a0d9bda758d98198b257824
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#similar
|
uri
| null | null |
https://en-word.net/id/oewn-02646743-n
|
https://globalwordnet.github.io/schemas/wn#holo_member
|
https://en-word.net/id/oewn-02646619-n
|
uri
| null | null |
https://en-word.net/id/oewn-05447158-n
|
https://globalwordnet.github.io/schemas/wn#partOfSpeech
|
https://globalwordnet.github.io/schemas/wn#noun
|
uri
| null | null |
https://en-word.net/id/oewn-02766797-a
|
http://purl.org/dc/terms/subject
|
adj.pert
|
literal
| null | null |
https://en-word.net/id/oewn-11221051-n
|
http://purl.org/dc/terms/subject
|
noun.person
|
literal
| null | null |
n5f28a129149449e4a0d9bda758d98198b455381
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-11022418-n
|
uri
| null | null |
https://en-word.net/lemma/Acanthoscelides_obtectus#Acanthoscelides_obtectus-n
|
http://www.w3.org/ns/lemon/ontolex#sense
|
https://en-word.net/lemma/Acanthoscelides_obtectus#Acanthoscelides_obtectus-oewn-02185294-n
|
uri
| null | null |
https://en-word.net/lemma/phantom_limb_pain#phantom_limb_pain-oewn-05733082-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/lemma/thank_offering#thank_offering-oewn-13294073-n
|
http://www.w3.org/ns/lemon/ontolex#isLexicalizedSenseOf
|
https://en-word.net/id/oewn-13294073-n
|
uri
| null | null |
https://en-word.net/lemma/enlightenment#enlightenment-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b525238
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/lemma/tyrannise#tyrannise-oewn-02593331-v
|
uri
| null | null |
https://en-word.net/lemma/genus_Krigia#genus_Krigia-n
|
http://www.w3.org/ns/lemon/ontolex#canonicalForm
|
https://en-word.net/lemma/genus_Krigia#genus_Krigia-n-lemma
|
uri
| null | null |
https://en-word.net/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/Celastrus_orbiculatus#Celastrus_orbiculatus-n
|
uri
| null | null |
https://en-word.net/lemma/Donnian#Donnian-a
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b191572
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#similar
|
uri
| null | null |
https://en-word.net/id/oewn-07095537-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalConcept
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b428488
|
http://www.w3.org/ns/lemon/vartrans#category
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
uri
| null | null |
https://en-word.net/id/oewn-01713938-n
|
https://globalwordnet.github.io/schemas/wn#hypernym
|
https://en-word.net/id/oewn-01660364-n
|
uri
| null | null |
https://en-word.net/lemma/calendar#calendar-oewn-00680900-v
|
https://globalwordnet.github.io/schemas/wn#derivation
|
https://en-word.net/lemma/calendar#calendar-oewn-08283770-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b253994
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-02071627-n
|
uri
| null | null |
https://en-word.net/lemma/round-faced#round-faced-oewn-00237415-s
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalSense
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b221136
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-01507886-v
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b264004
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-02261432-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b264358
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#SenseRelation
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b327458
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-04495786-n
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b556164
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/lemma/expansible#expansible-oewn-00847802-s
|
uri
| null | null |
https://en-word.net/lemma/tent-caterpillar_moth#tent-caterpillar_moth-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/
|
http://www.w3.org/ns/lemon/lime#entry
|
https://en-word.net/lemma/breach#breach-n
|
uri
| null | null |
https://en-word.net/lemma/Prototheria#Prototheria-n
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/lemon/ontolex#LexicalEntry
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b540274
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/lemma/indomitable#indomitable-oewn-00572363-s
|
uri
| null | null |
https://en-word.net/id/oewn-11012188-n
|
https://globalwordnet.github.io/schemas/wn#ili
|
http://globalwordnet.org/ili/i95219
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b264848
|
http://www.w3.org/ns/lemon/vartrans#target
|
https://en-word.net/id/oewn-02277816-s
|
uri
| null | null |
n5f28a129149449e4a0d9bda758d98198b342814
|
http://www.w3.org/ns/lemon/vartrans#source
|
https://en-word.net/id/oewn-00265209-n
|
uri
| null | null |
https://en-word.net/id/oewn-00348511-r
|
https://globalwordnet.github.io/schemas/wn#ili
|
http://globalwordnet.org/ili/i20528
|
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-13
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_unified.py \
datasets/wordnet/[file] \
hf_datasets/wordnet \
--format turtle \
--strategy auto
# 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_unified.py - Dataset format: Single 'data' split with all triples
- Strategy: Auto-selected based on dataset size and format
Maintenance
This dataset is maintained by the CleverThis organization.
- Downloads last month
- 8