Dataset Viewer
Auto-converted to Parquet Duplicate
subject
stringlengths
29
97
predicate
stringclasses
107 values
object
stringlengths
0
9.16k
object_type
stringclasses
2 values
object_datatype
stringclasses
6 values
object_language
stringclasses
0 values
http://purl.uniprot.org/embl-cds/BAA29801.1
http://purl.uniprot.org/core/sequenceDiscrepancy
http://purl.uniprot.org/uniprot/O58441#EMBL_BAA29801.1
uri
null
null
http://purl.uniprot.org/uniprot/Q46BF1
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/Q46BF1#SIPEA403ECFEA2D9529
uri
null
null
http://purl.uniprot.org/uniprot/O27495
http://purl.uniprot.org/core/recommendedName
http://purl.uniprot.org/uniprot/O27495#SIP8AE236E78D24799A
uri
null
null
http://purl.uniprot.org/gene3d/1.10.455.10
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q97CD9-1#Gene3D_1.10.455.10_match_1
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.D4GPU7_up.annotation_49632156E5A11A5A
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/#_kb.A6USJ0_up.classifiedWith_obo.GO_0043816
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/A6USJ0
uri
null
null
http://purl.uniprot.org/position/22858066268664878tt194
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Position
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q6KZ42_up.classifiedWith_obo.GO_0008967
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q6KZ42#attribution-8AEC0CC661531CFE2FAE4F290FCF9B78
uri
null
null
http://purl.uniprot.org/uniprot/A6VGD1#SIPC46C1A11C0ED8A49
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Similarity_Annotation
uri
null
null
http://purl.uniprot.org/position/22857954314499630tt158
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Position
uri
null
null
http://purl.uniprot.org/uniprot/#_C92F7A887390D3A1_rdfs.comment_1D9B563E9156CDCD
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/B8GKG7#SIPA50C3A669B03ECBD
uri
null
null
http://purl.uniprot.org/uniprot/Q6L1S1
http://purl.uniprot.org/core/existence
http://purl.uniprot.org/core/Inferred_from_Homology_Existence
uri
null
null
http://purl.uniprot.org/uniprot/Q5JDI6#context-MD573AF6B79C10A6CD9F7030F51D2BC0AAE
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Strain
uri
null
null
http://purl.uniprot.org/position/22861407806042670tt1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.A4G0E3_up.annotation_195BC98EC86A45B1
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/Q2NGH3#SIP23942577579DF235
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/uniprot/A4FWE6#SIPF1AF1AF801C58C45
http://www.w3.org/2000/01/rdf-schema#comment
Catalyzes the ATP- and formate-dependent formylation of 5-aminoimidazole-4-carboxamide-1-beta-d-ribofuranosyl 5'-monophosphate (AICAR) to 5-formaminoimidazole-4-carboxamide-1-beta-d-ribofuranosyl 5'-monophosphate (FAICAR) in the absence of folates.
literal
null
null
http://rdf.ebi.ac.uk/resource/ensembl.transcript/BAA30753
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/EnsemblBacteria
uri
null
null
http://purl.uniprot.org/annotation/PRO_0000092143
http://purl.uniprot.org/core/mass
29422
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/uniprot/A0B5W6
http://purl.uniprot.org/core/classifiedWith
http://purl.uniprot.org/keywords/1185
uri
null
null
http://purl.uniprot.org/uniprot/A6UW07
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/interpro/IPR009080
uri
null
null
http://purl.uniprot.org/position/18630478120171310tt19
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Position
uri
null
null
http://purl.uniprot.org/uniprot/#_4C578CF48658F36D_up.fullName_E1D9C22ABFA07388
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/#_1DBC7B054058D98C_rdfs.comment_FC31D6D43D45316A
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
Binds 2 magnesium ions per subunit.
literal
null
null
http://purl.uniprot.org/position/22291731595671598tt237
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/uniprot/Q58444#attribution-C3D7C4369B112A9C88EEE0BF8DD9F8C9
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000305
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q51798_up.annotation_97FE3704979AD9EC
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/uniprot/Q51798#SIP56EBFD74FAD8D4FF
uri
null
null
http://purl.uniprot.org/inparanoid/Q58555
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/InParanoid
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.O58877_up.annotation_5986810424334B35
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/annotation
uri
null
null
http://purl.uniprot.org/supfam/SSF53271
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/B9LUS0-1#SUPFAM_SSF53271_match_1
uri
null
null
http://purl.uniprot.org/uniprot/#_B426A9AF06404E24_up.ecName_5.3.3.2
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/A6UW89#SIP7EC25C059A93B577
uri
null
null
http://purl.uniprot.org/uniprot/#_71DCCC6D85FDB32D_rdfs.comment_9891B0BBBBD35694
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/A6USL5#SIPACCA7156161974EA
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.B6YVU5_up.annotation_098B3FD8BD3314A1
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/annotation
uri
null
null
http://purl.uniprot.org/range/22571011878040110tt169tt171
http://biohackathon.org/resource/faldo#end
http://purl.uniprot.org/position/22571011878040110tt171
uri
null
null
http://purl.uniprot.org/uniprot/Q97CT6#gene-MD54BDF51C8469F4BF29E80BCB2C325399B
http://purl.uniprot.org/core/orfName
TVG0012665
literal
null
null
http://purl.uniprot.org/uniprot/#_kb.P62011_up.classifiedWith_obo.GO_0003735
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0003735
uri
null
null
http://purl.uniprot.org/embl/M96826
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Genomic_DNA
uri
null
null
http://purl.uniprot.org/uniprot/Q3IRE7
http://purl.uniprot.org/core/classifiedWith
http://purl.uniprot.org/keywords/648
uri
null
null
http://purl.uniprot.org/uniprot/Q2NE13
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/interpro/IPR002314
uri
null
null
http://purl.uniprot.org/uniprot/A7I6S5
http://purl.uniprot.org/core/classifiedWith
http://purl.obolibrary.org/obo/GO_0006014
uri
null
null
http://purl.uniprot.org/alphafolddb/Q2NI84
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.Q2FN10_up.classifiedWith_obo.GO_0006207
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q2FN10
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q8PU77_up.classifiedWith_obo.GO_0006228
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0006228
uri
null
null
http://purl.uniprot.org/uniprot/#_1609133742F1C920_FFA56BCD0169E5A3_gap
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
gap
literal
null
null
http://purl.uniprot.org/uniprot/O29689#SIP06550298ACB7F9B4
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Function_Annotation
uri
null
null
http://purl.uniprot.org/uniprot/Q9HHE9
http://purl.uniprot.org/core/classifiedWith
http://purl.uniprot.org/keywords/614
uri
null
null
https://purl.expasy.org/hamap/signature/MF_01404
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q8TXD4-1#HAMAP_MF_01404_match_1
uri
null
null
http://purl.uniprot.org/uniprot/#_435E0D4D39A0B5E0_ECA11A063956BBD5_9655A6EDB68BC0AE
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/cellularComponent
uri
null
null
http://purl.uniprot.org/uniprot/D2RWE9#SIPB04A60E358990B90
http://purl.uniprot.org/core/shortName
LP guanylyltransferase
literal
null
null
http://purl.uniprot.org/uniprot/#_kb.A6USY3_up.annotation_AA12C61B77A5BF0F
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/uniprot/A6USY3#SIP17279D7830053847
uri
null
null
http://purl.uniprot.org/uniprot/#_Q9HH82-citation-10430560
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/Q9V050
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q9V050#attribution-DC036A124EC8E88DF072B29F6D9BB9FE
uri
null
null
http://purl.uniprot.org/range/22291744380301614tt259tt265
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/E7FHX6
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/prints/PR00379
uri
null
null
http://purl.uniprot.org/embl-cds/CCE70825.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/isoforms/Q57926-1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Simple_Sequence
uri
null
null
http://purl.uniprot.org/uniprot/Q8PZN4#gene-MD56C51096BC321B633225DBE9C10D1A91C
http://purl.uniprot.org/core/locusName
MM_0458
literal
null
null
http://purl.uniprot.org/uniprot/A6UTP9
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/kegg/mae:Maeo_0282
uri
null
null
http://purl.uniprot.org/uniprot/C6A2L3
http://purl.uniprot.org/core/classifiedWith
http://purl.obolibrary.org/obo/GO_0003723
uri
null
null
http://purl.uniprot.org/uniprot/A6UQL8#SIP861E91FCCA1316D2
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/uniprot/Q8U2A9
http://purl.uniprot.org/core/sequence
http://purl.uniprot.org/isoforms/Q8U2A9-1
uri
null
null
http://purl.uniprot.org/uniprot/Q46BC9
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/smart/SM01386
uri
null
null
http://purl.uniprot.org/range/22858066253132078tt43tt43
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22858066253132078tt43
uri
null
null
http://purl.uniprot.org/position/22856880793204270tt1
http://biohackathon.org/resource/faldo#position
1
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/isoforms/Q2FQL9-1
http://purl.uniprot.org/core/modified
2006-03-21
literal
http://www.w3.org/2001/XMLSchema#date
null
http://purl.uniprot.org/uniprot/#_kb.Q3ISC9_up.annotation_27701919B274089F
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q3ISC9#attribution-B5DA28722728ED32CCA6219CB01A7E44
uri
null
null
http://purl.uniprot.org/uniprot/Q6M115#attribution-5C16262BCF875340867BE01F9A572408
http://purl.uniprot.org/core/source
https://purl.expasy.org/hamap/rule/MF_01824
uri
null
null
http://purl.uniprot.org/uniprot/Q58361#SIP40C7004C7561A39A
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22857988607193390tt30tt47
uri
null
null
http://purl.uniprot.org/uniprot/B9LRS2
http://purl.uniprot.org/core/encodedBy
http://purl.uniprot.org/uniprot/B9LRS2#gene-MD5BC2C1A824A795FA2E0C14344DEC6A442
uri
null
null
http://purl.uniprot.org/annotation/PRO_0000442424
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22861407789398318tt1tt265
uri
null
null
http://purl.uniprot.org/uniprot/Q58869#SIP1A1204D1308116E4
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Binding_Site_Annotation
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.A5UN82_up.annotation_F291DC7DCE5440FD
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/A5UN82
uri
null
null
http://purl.uniprot.org/uniprot/Q97CR6#attribution-DDF476211FD5F73FBEB212F417435007
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000255
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.O58052_up.annotation_FAE8DFFEF1C05197
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/annotation
uri
null
null
http://purl.uniprot.org/position/22862511863444526tt115
http://biohackathon.org/resource/faldo#position
115
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/paxdb/187420-MTH_807
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Resource
uri
null
null
http://purl.uniprot.org/position/22862455859852334tt512
http://biohackathon.org/resource/faldo#reference
http://purl.uniprot.org/isoforms/Q9HP84-1
uri
null
null
http://purl.uniprot.org/position/22858117490685230tt8
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/refseq/WP_011018401.1
http://purl.uniprot.org/core/translatedFrom
http://purl.uniprot.org/refseq/NC_003551.1#WP_011018401.1_CDS
uri
null
null
http://purl.uniprot.org/uniprot/#_Q6M1B0-citation-17010158
http://purl.uniprot.org/core/scope
GENE NAME
literal
null
null
http://purl.uniprot.org/uniprot/#_kb.O58584_up.annotation_9110368C63ECF26A
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/O58584
uri
null
null
http://purl.uniprot.org/smart/SM01194
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/A4G0A4-1#SMART_SM01194_match_1
uri
null
null
http://purl.uniprot.org/refseq/WP_011449212.1
http://purl.uniprot.org/core/translatedFrom
http://purl.uniprot.org/refseq/NC_007796.1#WP_011449212.1_CDS
uri
null
null
http://purl.uniprot.org/uniprot/P33957#attribution-EDB215DC9F563634525A4E64DFD472AC
http://purl.uniprot.org/core/manual
true
literal
http://www.w3.org/2001/XMLSchema#boolean
null
http://purl.uniprot.org/cdd/cd07079
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q12TF9-1#CDD_cd07079_match_1
uri
null
null
http://purl.uniprot.org/uniprot/Q8TX79
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/refseq/WP_011019165.1
uri
null
null
http://purl.uniprot.org/position/22862511863904046tt207
http://biohackathon.org/resource/faldo#reference
http://purl.uniprot.org/isoforms/Q9UZR7-1
uri
null
null
http://purl.uniprot.org/uniprot/#_Q49156-citation-8159166
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q49156
uri
null
null
http://purl.uniprot.org/position/22295004260151854tt649
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Position
uri
null
null
http://purl.uniprot.org/position/22861407921386798tt75
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/uniprot/O26153
http://purl.uniprot.org/core/created
2013-10-16
literal
http://www.w3.org/2001/XMLSchema#date
null
http://purl.uniprot.org/uniprot/#_88B1DB3C8F7E88BA_up.shortName_ThrRS
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q3IRE7#SIPF68A9EA59F6B756F
uri
null
null
http://purl.uniprot.org/position/22576513630089262tt197
http://biohackathon.org/resource/faldo#position
197
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/position/22573219424187182tt197
http://biohackathon.org/resource/faldo#reference
http://purl.uniprot.org/isoforms/P29573-1
uri
null
null
http://purl.uniprot.org/uniprot/#_176E155B51B121EB_up.ecName_2.1.3.3
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/22854784914895150tt161
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Position
uri
null
null
http://purl.uniprot.org/position/22857988590546990tt48
http://biohackathon.org/resource/faldo#position
48
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/uniprot/#_A6FCA5408DC06160_up.locusName_TK1777
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q6I7B6#gene-MD55A6350B70E42156B5659FFEA5C264DEC
uri
null
null
http://purl.uniprot.org/uniprot/#_2F94F133D17F53A1_up.fullName_DA08D32D317501CD
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/fullName
uri
null
null
http://purl.uniprot.org/position/22857958542226478tt1031
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
End of preview. Expand in Data Studio

uniprotkb_reviewed_archea_methanobacteriati_3366610_0

Dataset Description

Comprehensive protein knowledgebase with functional annotations

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

Dataset Summary

This dataset contains RDF triples from uniprotkb_reviewed_archea_methanobacteriati_3366610_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_methanobacteriati_3366610_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_methanobacteriati_3366610_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_methanobacteriati_3366610_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: 2026-01-08

Citation

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

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

# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset_unified.py \
    datasets/uniprotkb_reviewed_archea_methanobacteriati_3366610_0/[file] \
    hf_datasets/uniprotkb_reviewed_archea_methanobacteriati_3366610_0 \
    --format xml \
    --strategy auto

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

Additional Information

Original Source

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

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
10