Datasets:
subject
stringlengths 32
42
| predicate
stringclasses 10
values | object
stringlengths 1
56
| object_type
stringclasses 2
values | object_datatype
stringclasses 3
values | object_language
stringclasses 0
values |
|---|---|---|---|---|---|
http://purl.uniprot.org/uniprot/A0A8F1N268
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A6T1NPL1
|
http://purl.uniprot.org/core/version
|
4
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A4R5J9N6
|
http://purl.uniprot.org/core/version
|
13
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A951HQF1
|
http://purl.uniprot.org/core/mnemonic
|
A0A951HQF1_9PROT
|
literal
| null | null |
http://purl.uniprot.org/uniprot/Y5BCT5
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A2L2KX03
|
http://purl.uniprot.org/core/created
|
2018-04-25
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A7X5DF30
|
http://purl.uniprot.org/core/version
|
13
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A8G7RX73
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/V2MWJ5
|
http://purl.uniprot.org/core/created
|
2014-01-22
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A8T9EPC8
|
http://purl.uniprot.org/core/version
|
7
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A2I8S655
|
http://purl.uniprot.org/core/created
|
2018-03-28
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A5B9WMW5
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A6N7SP98
|
http://purl.uniprot.org/core/mnemonic
|
A0A6N7SP98_9CLOT
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A7V7D8U4
|
http://purl.uniprot.org/core/mnemonic
|
A0A7V7D8U4_UNCPL
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A0Q2BG91
|
http://purl.uniprot.org/core/mnemonic
|
A0A0Q2BG91_ACIPI
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A969Z6C9
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A0T5RBH9
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A3M9HPS0
|
http://purl.uniprot.org/core/created
|
2019-02-13
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A514ZV85
|
http://purl.uniprot.org/core/created
|
2019-10-16
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/V8U5D1
|
http://purl.uniprot.org/core/created
|
2014-02-19
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A0V8I8F1
|
http://purl.uniprot.org/core/modified
|
2016-11-02
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/S6E1M1
|
http://purl.uniprot.org/core/mnemonic
|
S6E1M1_LACAI
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A409QYG7
|
http://purl.uniprot.org/core/modified
|
2019-12-11
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A6V2YQN4
|
http://purl.uniprot.org/core/mnemonic
|
A0A6V2YQN4_9STRA
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A891N3E4
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A7U8RY32
|
http://purl.uniprot.org/core/mnemonic
|
A0A7U8RY32_ECOLX
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A7Y8HM04
|
http://purl.uniprot.org/core/version
|
15
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A3Q9RTG2
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A6M3UWD7
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A822KKM9
|
http://purl.uniprot.org/core/version
|
4
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/W4W8H1
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A7U9G0J9
|
http://purl.uniprot.org/core/version
|
8
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/K1AHE2
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A0N9K2E3
|
http://purl.uniprot.org/core/modified
|
2016-05-11
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/E4IA77
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A0G1NSD6
|
http://purl.uniprot.org/core/created
|
2015-07-22
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/I4TFJ9
|
http://purl.uniprot.org/core/version
|
21
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A2K7VLC5
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A9X6K332
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A117SB31
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A372UW65
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A092FBK3
|
http://purl.uniprot.org/core/created
|
2014-11-26
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A6A7WIK0
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A940RNS6
|
http://purl.uniprot.org/core/mnemonic
|
A0A940RNS6_SPHSX
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A0G8D515
|
http://purl.uniprot.org/core/version
|
2
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A042A1Y0
|
http://purl.uniprot.org/core/modified
|
2015-04-01
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A3KLM7
|
http://purl.uniprot.org/core/modified
|
2007-04-17
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/R8PNE8
|
http://purl.uniprot.org/core/mnemonic
|
R8PNE8_BACCE
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A0C3I0I4
|
http://purl.uniprot.org/core/mnemonic
|
A0A0C3I0I4_9RHOO
|
literal
| null | null |
http://purl.uniprot.org/uniprot/M9E6Y7
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A7U6D560
|
http://purl.uniprot.org/core/replacedBy
|
http://purl.uniprot.org/uniprot/A0AAN1PUC6
|
uri
| null | null |
http://purl.uniprot.org/uniprot/U7WMS7
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A4T4DMK2
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A0U4V5B4
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A2K4FX20
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A2C9Z8R3
|
http://purl.uniprot.org/core/modified
|
2025-04-23
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A143QCJ5
|
http://purl.uniprot.org/core/version
|
23
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A2X0UKL9
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A404DF76
|
http://purl.uniprot.org/core/created
|
2019-05-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0AAW7SEG0
|
http://purl.uniprot.org/core/created
|
2024-11-27
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A3P0P7D7
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/F9I050
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Protein
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A369T3Y7
|
http://purl.uniprot.org/core/mnemonic
|
A0A369T3Y7_9CREN
|
literal
| null | null |
http://purl.uniprot.org/uniprot/I6BBN4
|
http://purl.uniprot.org/core/created
|
2012-09-05
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/W4BIK2
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A7W4GDE7
|
http://purl.uniprot.org/core/mnemonic
|
A0A7W4GDE7_9GAMM
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A9E4LUR0
|
http://purl.uniprot.org/core/mnemonic
|
A0A9E4LUR0_9PROT
|
literal
| null | null |
http://purl.uniprot.org/uniprot/H3X6Y1
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A1F8J3X5
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/U6QE27
|
http://purl.uniprot.org/core/mnemonic
|
U6QE27_SALET
|
literal
| null | null |
http://purl.uniprot.org/uniprot/I6PWI3
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A1G1BY37
|
http://purl.uniprot.org/core/version
|
30
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A9E2LRA4
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A7G5ZCV5
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A0P1IYA2
|
http://purl.uniprot.org/core/modified
|
2019-01-16
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/T1XR32
|
http://purl.uniprot.org/core/modified
|
2015-04-01
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A018JLI6
|
http://purl.uniprot.org/core/version
|
5
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/E9W8F2
|
http://purl.uniprot.org/core/created
|
2011-05-03
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A520Z2L9
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0AAT9IFN2
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/X7KB98
|
http://purl.uniprot.org/core/created
|
2014-06-11
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0AAQ0U463
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A3N6GN49
|
http://purl.uniprot.org/core/mnemonic
|
A0A3N6GN49_9ACTN
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A2D8FEC0
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A4R3IZW2
|
http://purl.uniprot.org/core/mnemonic
|
A0A4R3IZW2_9ACTN
|
literal
| null | null |
http://purl.uniprot.org/uniprot/Y8E2W0
|
http://purl.uniprot.org/core/created
|
2014-06-11
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A0G3Y7B3
|
http://purl.uniprot.org/core/modified
|
2016-01-20
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A080U3M3
|
http://purl.uniprot.org/core/mnemonic
|
A0A080U3M3_BACCE
|
literal
| null | null |
http://purl.uniprot.org/uniprot/A0A1N7CC53
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/T7F0L5
|
http://purl.uniprot.org/core/version
|
6
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A8I0SSY0
|
http://purl.uniprot.org/core/reviewed
|
false
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A3S4Z438
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A975MUN7
|
http://purl.uniprot.org/core/modified
|
2025-10-08
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A658RXS4
|
http://purl.uniprot.org/core/mnemonic
|
A0A658RXS4_STACC
|
literal
| null | null |
http://purl.uniprot.org/uniprot/V7TWM1
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/T0TXG3
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://purl.uniprot.org/core/Member_Of_Redudant_Proteome
|
uri
| null | null |
http://purl.uniprot.org/uniprot/A0A226ZDX9
|
http://purl.uniprot.org/core/created
|
2017-10-25
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
http://purl.uniprot.org/uniprot/A0A7C5A7X4
|
http://purl.uniprot.org/core/version
|
16
|
literal
|
http://www.w3.org/2001/XMLSchema#int
| null |
http://purl.uniprot.org/uniprot/A0A0A4RFF0
|
http://purl.uniprot.org/core/obsolete
|
true
|
literal
|
http://www.w3.org/2001/XMLSchema#boolean
| null |
http://purl.uniprot.org/uniprot/A0A1A0EF36
|
http://purl.uniprot.org/core/created
|
2016-10-05
|
literal
|
http://www.w3.org/2001/XMLSchema#date
| null |
uniprotkb_obsolete_entries_260000000
Dataset Description
Comprehensive protein knowledgebase with functional annotations
Original Source: ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_obsolete_entries_260000000.rdf.xz
Dataset Summary
This dataset contains RDF triples from uniprotkb_obsolete_entries_260000000 converted to HuggingFace dataset format for easy use in machine learning pipelines.
- Format: Originally rdf, converted to HuggingFace Dataset
- Size: 0.392 GB (extracted)
- Entities: ~90M protein entries
- Triples: ~3.4B
- Original License: CC BY 4.0
Recommended Use
Protein research, molecular biology, functional genomics
Notes: High quality with manual curation for Swiss-Prot entries. Updated every 8 weeks.
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/uniprotkb_obsolete_entries_260000000")
# 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/uniprotkb_obsolete_entries_260000000", "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/uniprotkb_obsolete_entries_260000000")
# 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: rdf
- Original Size: 0.392 GB
- Conversion Tool: CleverErnie RDF Pipeline
- Format Version: 1.0
- Conversion Date: 2025-12-29
Citation
If you use this dataset, please cite the original source:
Original Dataset: uniprotkb_obsolete_entries_260000000 URL: ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_obsolete_entries_260000000.rdf.xz 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 uniprotkb_obsolete_entries_260000000 -o datasets/
# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset.py \
datasets/uniprotkb_obsolete_entries_260000000/[file] \
hf_datasets/uniprotkb_obsolete_entries_260000000 \
--format xml
# Upload to HuggingFace Hub
python scripts/upload_all_datasets.py --dataset uniprotkb_obsolete_entries_260000000
Additional Information
Original Source
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
- 32