Dataset Viewer
Auto-converted to Parquet Duplicate
subject
stringlengths
29
87
predicate
stringclasses
74 values
object
stringlengths
1
1.24k
object_type
stringclasses
2 values
object_datatype
stringclasses
4 values
object_language
stringclasses
0 values
http://purl.uniprot.org/embl-cds/AAR39194.1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Nucleotide_Resource
uri
null
null
http://purl.uniprot.org/uniprot/Q74N58
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q74N58#attribution-A969DEE2FB45E2286857B21AD327A51B
uri
null
null
http://purl.uniprot.org/uniprot/#_5624755CFEE66931_up.fullName_D9E27126C49E3C80
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
Small ribosomal subunit protein eS24
literal
null
null
http://purl.uniprot.org/uniprot/Q74M51
http://purl.uniprot.org/core/classifiedWith
http://purl.obolibrary.org/obo/GO_0006412
uri
null
null
http://purl.uniprot.org/uniprot/#_ADAADAF7AB8F44C8_ECA11A063956BBD5_0AD494B8C8945D9B
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MJ7_up.classifiedWith_obo.GO_0046961
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74MJ7
uri
null
null
http://purl.uniprot.org/uniprot/#_Q74NK2-citation-14566062
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/citations/14566062
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MP4_up.annotation_3AD48505CC91281C
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74M64_up.classifiedWith_obo.GO_0006281
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/classifiedWith
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74NA6_up.annotation_7DA0DB3F5E53CFB8
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74NA6
uri
null
null
http://purl.uniprot.org/supfam/SSF55282
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q74N79-1#SUPFAM_SSF55282_match_1
uri
null
null
http://purl.uniprot.org/uniprot/Q74MH2#SIP548B63262CA02544
http://purl.uniprot.org/core/enzymeClass
http://purl.uniprot.org/enzyme/3.1.26.11
uri
null
null
http://purl.uniprot.org/uniprot/Q74MP5#SIPF02552657F50343E
http://www.w3.org/2004/02/skos/core#closeMatch
http://purl.uniprot.org/enzyme/3.4.25.1#SIPC4F9DC763185FEFF
uri
null
null
http://purl.uniprot.org/uniprot/Q74MI5
http://purl.uniprot.org/core/modified
2025-02-05
literal
http://www.w3.org/2001/XMLSchema#date
null
http://purl.uniprot.org/uniprot/Q74M64#SIPA09A2B0149761E30
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22860170886788142tt421tt421
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MJ7_up.annotation_E813D355DBE24D48
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74MJ7
uri
null
null
http://purl.uniprot.org/uniprot/P61240#SIP3701F4092D52509D
http://purl.uniprot.org/core/fullName
Small ribosomal subunit protein eS31
literal
null
null
http://purl.uniprot.org/uniprot/Q74MZ3
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/interpro/IPR016481
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MX2_up.classifiedWith_obo.GO_0000702
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/classifiedWith
uri
null
null
http://purl.uniprot.org/panther/PTHR45674:SF7
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MH2_up.annotation_8C5EDD4B31086ED3
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74NA9_up.classifiedWith_obo.GO_0003677
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0003677
uri
null
null
http://purl.uniprot.org/uniprot/Q74N90
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/Q74N90#SIPAAA4317C4597F782
uri
null
null
http://purl.uniprot.org/interpro/IPR036217
http://www.w3.org/2000/01/rdf-schema#comment
MethylDNA_cys_MeTrfase_DNAb
literal
null
null
http://purl.uniprot.org/uniprot/#_8C81DBF5F0AAAD6F_up.fullName_aIF2-beta
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
aIF2-beta
literal
null
null
http://purl.uniprot.org/uniprot/Q74MW8
http://purl.uniprot.org/core/proteome
http://purl.uniprot.org/proteomes/UP000000578#Chromosome
uri
null
null
http://purl.uniprot.org/interpro/IPR043140
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/uniprot/Q74MP5#SIPF02552657F50343E
http://purl.uniprot.org/core/enzymeClass
http://purl.uniprot.org/enzyme/3.4.25.1
uri
null
null
http://purl.uniprot.org/position/22860170887967278tt59
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/string/228908.NEQ333
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/STRING
uri
null
null
http://purl.uniprot.org/position/22860170886723630tt131
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
https://purl.expasy.org/hamap/signature/MF_00369
http://www.w3.org/2000/01/rdf-schema#comment
Ribosomal_eL21
literal
null
null
http://purl.uniprot.org/uniprot/Q74MN9#SIP451F20082ACF02A3
http://purl.uniprot.org/core/cellularComponent
http://purl.uniprot.org/locations/86
uri
null
null
http://purl.uniprot.org/annotation/PRO_0000137648
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22860170886721582tt1tt94
uri
null
null
http://rdf.ebi.ac.uk/resource/ensembl.transcript/AAR39295
http://purl.uniprot.org/core/translatedTo
http://rdf.ebi.ac.uk/resource/ensembl.protein/AAR39295
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74N29_up.enzyme_E1610C49A87420FD
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P62132_up.annotation_CE4AB346427B7379
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/P62132
uri
null
null
http://purl.uniprot.org/uniprot/Q74M79#attribution-36ACEE4FCA951EE10D45D9735FF72CE2
http://purl.uniprot.org/core/manual
true
literal
http://www.w3.org/2001/XMLSchema#boolean
null
http://purl.uniprot.org/range/22860170888099630tt3tt8
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22860170888099630tt3
uri
null
null
http://purl.uniprot.org/patric/fig%7C228908.8.peg.470
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/uniprot/#_7B811049EB54CC79_up.fullName_75A79BED0980FD71
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
50S ribosomal protein L6
literal
null
null
http://purl.uniprot.org/uniprot/P60346#SIP3C4193C6C9140529
http://purl.uniprot.org/core/fullName
tRNA pseudouridine(55) synthase
literal
null
null
http://purl.uniprot.org/uniprot/Q74MB5
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/Q74MB5#SIP3FE0E8268072C7F4
uri
null
null
http://purl.uniprot.org/isoforms/Q74MH8-1
http://purl.uniprot.org/core/mass
16425
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/smr/P60458
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/SMR
uri
null
null
http://purl.uniprot.org/range/22860170887705390tt151tt154
http://biohackathon.org/resource/faldo#end
http://purl.uniprot.org/position/22860170887705390tt154
uri
null
null
http://purl.uniprot.org/uniprot/#_Q74M79-citation-20929866
http://purl.uniprot.org/core/context
http://purl.uniprot.org/uniprot/Q74M79#context-MD5241C4FAEF3AD4B5035AD0260DCF2FD4B
uri
null
null
http://purl.uniprot.org/position/22860170888099630tt120
http://biohackathon.org/resource/faldo#reference
http://purl.uniprot.org/isoforms/Q74MJ7-1
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MJ7_up.annotation_26836BDE000985E7
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q74MJ7#attribution-C6D3CF680C89E2F47AB326A2BF7FA269
uri
null
null
http://purl.uniprot.org/uniprot/Q74NF7#context-MD5241C4FAEF3AD4B5035AD0260DCF2FD4B
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Strain
uri
null
null
http://purl.uniprot.org/uniprot/#_Q74NF3-citation-14566062
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P60851_up.classifiedWith_obo.GO_0003723
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/classifiedWith
uri
null
null
http://purl.uniprot.org/interpro/IPR001515
http://www.w3.org/2000/01/rdf-schema#comment
Ribosomal_eL32
literal
null
null
http://purl.uniprot.org/uniprot/#_7657BF67CF88597B_rdfs.comment_93329A6FD4FB6DC8
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q74MD4#attribution-B8789F4B57203217FD322553170E5D06
uri
null
null
http://purl.uniprot.org/embl-cds/AAR39321.1
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/EMBL
uri
null
null
http://purl.uniprot.org/uniprot/Q74M72#SIP9F01D06868555670
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Domain_Extent_Annotation
uri
null
null
http://purl.uniprot.org/uniprot/#_57485FC0156DEB17_up.ecName_5.4.99.27
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/P60348#SIP3FA894CE440126C6
uri
null
null
http://purl.uniprot.org/supfam/SSF54980
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MA7_up.annotation_941F4F77AA7C8CA8
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/uniprot/Q74MA7#SIP59D7DF5CF5EE9B56
uri
null
null
http://purl.uniprot.org/uniprot/#_Q74MB1-citation-14566062
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/range/22860170889082414tt28tt28
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22860170889082414tt28
uri
null
null
http://purl.uniprot.org/uniprot/Q74N24#SIPFEB150FF68DB9C27
http://purl.uniprot.org/core/fullName
Translation initiation factor 5A
literal
null
null
http://purl.uniprot.org/embl-cds/AAR39236.1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Nucleotide_Resource
uri
null
null
http://purl.uniprot.org/uniprot/Q74NH9#SIPF99FEF1E66F211D3
http://www.w3.org/2000/01/rdf-schema#comment
Part of the 50S ribosomal subunit.
literal
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MV8_up.classifiedWith_obo.GO_0022625
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0022625
uri
null
null
http://purl.uniprot.org/uniprot/Q74MH2#attribution-E7C78FE57EB218DAB60CA5558A2F2E8D
http://purl.uniprot.org/core/manual
true
literal
http://www.w3.org/2001/XMLSchema#boolean
null
http://purl.uniprot.org/uniprot/#_kb.Q74MP4_up.annotation_BFFBF82F79FFE0B1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/position/22860170887509038tt47
http://biohackathon.org/resource/faldo#position
47
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/position/22860170903237678tt1
http://biohackathon.org/resource/faldo#position
1
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/uniprot/Q74MJ7#SIP0FA78F7E13C39073
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22860170888099630tt23tt26
uri
null
null
http://purl.uniprot.org/uniprot/Q74N77#attribution-8E46A4482B9627E70753146E6F0A49F8
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000305
uri
null
null
http://purl.uniprot.org/gene3d/3.30.420.40
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/Gene3D
uri
null
null
http://purl.uniprot.org/uniprot/Q74MH3#SIP0A3738E4AFE44A69
http://purl.uniprot.org/core/catalyticActivity
http://purl.uniprot.org/uniprot/Q74MH3#SIPEFC30F3CFD677E6B
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P61942_up.annotation_7D10658AC37EE1A4
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/P61942
uri
null
null
http://purl.uniprot.org/range/22860170887705390tt52tt63
http://biohackathon.org/resource/faldo#end
http://purl.uniprot.org/position/22860170887705390tt63
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MZ1_up.classifiedWith_obo.GO_0046872
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74MZ1
uri
null
null
http://purl.uniprot.org/uniprot/Q74MI6#context-MD5241C4FAEF3AD4B5035AD0260DCF2FD4B
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Strain
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74NE6_up.classifiedWith_obo.GO_0008270
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74NE6
uri
null
null
http://purl.uniprot.org/uniprot/#_876278C1CA2A5098_rdfs.comment_60128655F0B0F56B
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74NA6#SIP0A8DC0EE22A09847
uri
null
null
http://purl.uniprot.org/ncbifam/NF001669
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/P61240-1#NCBIfam_NF001669_match_1
uri
null
null
http://purl.uniprot.org/range/22860170886918958tt114tt114
http://biohackathon.org/resource/faldo#end
http://purl.uniprot.org/position/22860170886918958tt114
uri
null
null
http://purl.uniprot.org/uniprot/Q74N46
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q74N46#attribution-BCD67FFDCAB6DDEA2C9B27B77B8BED1D
uri
null
null
http://purl.uniprot.org/uniprot/#_5117F30F351660A0_rdfs.comment_881E59518AE4FFE2
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/P61151#SIPB86BDB3330745F23
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MB1_up.classifiedWith_obo.GO_0000178
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74MB1
uri
null
null
http://purl.uniprot.org/interpro/IPR002143
http://www.w3.org/2000/01/rdf-schema#comment
Ribosomal_uL1
literal
null
null
http://purl.uniprot.org/cdd/cd07901
http://www.w3.org/2000/01/rdf-schema#comment
Adenylation_DNA_ligase_Arch_LigB
literal
null
null
http://purl.uniprot.org/alphafolddb/P61240
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/range/22860170888099630tt218tt222
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Region
uri
null
null
http://purl.uniprot.org/uniprot/Q74M95#SIP5C49E97EEEC99B58
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Structured_Name
uri
null
null
http://purl.uniprot.org/gene3d/1.10.1410.30
http://www.w3.org/2000/01/rdf-schema#comment
CCA tRNA nucleotidyltransferase, domain 2
literal
null
null
http://purl.uniprot.org/uniprot/Q74M52
http://purl.uniprot.org/core/encodedBy
http://purl.uniprot.org/uniprot/Q74M52#gene-MD5A38DDD65069096C03A45259992F1DFDD
uri
null
null
http://purl.uniprot.org/uniprot/#_94611967FCDE34B3_up.fullName_7E97928F31E43701
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q74N24#SIPFEB150FF68DB9C27
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MJ7_up.annotation_F76D40549EF40E18
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/annotation
uri
null
null
http://purl.uniprot.org/uniprot/#_65FF752BB2542D5E_rdfs.comment_8DB3D577E14838B6
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
uri
null
null
http://purl.uniprot.org/panther/PTHR11700
http://www.w3.org/2000/01/rdf-schema#comment
30S RIBOSOMAL PROTEIN S10 FAMILY MEMBER
literal
null
null
http://purl.uniprot.org/embl-cds/AAR39114.1
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/EMBL
uri
null
null
http://purl.uniprot.org/interpro/IPR023935
http://www.w3.org/2000/01/rdf-schema#comment
Rep_factor-C_lsu
literal
null
null
http://purl.uniprot.org/alphafolddb/Q74NE6
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/uniprot/#_6102DEA7A96532EF_up.fullName_0D29747E95256B61
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/P60408#attribution-7377742883DC9316360504369FB4CA26
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q74MI6_up.classifiedWith_obo.GO_0003924
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/classifiedWith
uri
null
null
End of preview. Expand in Data Studio

uniprotkb_reviewed_archea_nanobdellati_1783276_0

Dataset Description

Comprehensive protein knowledgebase with functional annotations

Original Source: ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_reviewed_archea_nanobdellati_1783276_0.rdf.xz

Dataset Summary

This dataset contains RDF triples from uniprotkb_reviewed_archea_nanobdellati_1783276_0 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_reviewed_archea_nanobdellati_1783276_0")

# 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_reviewed_archea_nanobdellati_1783276_0", "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_reviewed_archea_nanobdellati_1783276_0")

# 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-30

Citation

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

Original Dataset: uniprotkb_reviewed_archea_nanobdellati_1783276_0 URL: ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_reviewed_archea_nanobdellati_1783276_0.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_reviewed_archea_nanobdellati_1783276_0 -o datasets/

# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset.py \
    datasets/uniprotkb_reviewed_archea_nanobdellati_1783276_0/[file] \
    hf_datasets/uniprotkb_reviewed_archea_nanobdellati_1783276_0 \
    --format xml

# Upload to HuggingFace Hub
python scripts/upload_all_datasets.py --dataset uniprotkb_reviewed_archea_nanobdellati_1783276_0

Additional Information

Original Source

ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_reviewed_archea_nanobdellati_1783276_0.rdf.xz

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
9