Dataset Viewer
Auto-converted to Parquet Duplicate
subject
stringlengths
19
111
predicate
stringclasses
118 values
object
stringlengths
0
36k
object_type
stringclasses
2 values
object_datatype
stringclasses
6 values
object_language
stringclasses
0 values
http://purl.uniprot.org/range/22862391336251438tt339tt358
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/Q9Y5K1
http://purl.uniprot.org/core/oldMnemonic
SP11_HUMAN
literal
null
null
http://purl.uniprot.org/embl/BC131799
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/MRNA
uri
null
null
http://purl.uniprot.org/uniprot/Q5DTU0
http://purl.uniprot.org/core/conflictingSequence
http://purl.uniprot.org/uniprot/Q5DTU0#SIP8D1834B399AC4250
uri
null
null
http://purl.uniprot.org/embl-cds/BAC25322.1
http://purl.uniprot.org/core/sequenceDiscrepancy
http://purl.uniprot.org/uniprot/Q3UKJ7#EMBL_BAC25322.1
uri
null
null
http://purl.uniprot.org/uniprot/A4K2X5#SIP7B4CD9749C47216E
http://www.w3.org/2000/01/rdf-schema#comment
WAP 1
literal
null
null
http://purl.uniprot.org/position/22852465245696302tt263
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/Q9R172#attribution-A23A881D6BB47621964D42363CC4ACDC
http://purl.uniprot.org/core/source
http://purl.uniprot.org/sam/MobiDB-lite
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q8CGY8_up.classifiedWith_obo.GO_0098978
http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
http://purl.uniprot.org/core/classifiedWith
uri
null
null
http://purl.uniprot.org/range/22860329885578542tt231tt231
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Region
uri
null
null
http://purl.uniprot.org/position/22579790757638702tt73
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/Q5XFY4
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/panther/PTHR12767:SF11
uri
null
null
http://purl.uniprot.org/isoforms/P25159-2
http://www.w3.org/2004/02/skos/core#prefLabel
B
literal
null
null
http://purl.uniprot.org/uniprot/#_kb.P60270_up.isolatedFrom_tissue.1109
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/tissues/1109
uri
null
null
http://purl.uniprot.org/uniprot/Q9CWV4
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/veupathdb/HostDB:ENSMUSG00000046942
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q5SXM2_up.annotation_B5306A7FB8F0C4F4
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q5SXM2#attribution-F1ED622C16A5CBF528EF0FDA09EF3C10
uri
null
null
http://purl.uniprot.org/uniprot/#_C73B203559D9BCBE_up.context_06F5F1907A40B3BD
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/C0HKM3#attribution-6FD33A1E24EC8DA97AC2AD76B1CD74E5
uri
null
null
http://purl.uniprot.org/uniprot/#_EDB009B58DF5F8C8_90BE42743953BDE0_4AC36C3CBA2427AF
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q8R4T9#SIPA25E178528647A84
uri
null
null
http://purl.uniprot.org/uniprot/P48679
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/P48679#SIP6220767FCF66FC26
uri
null
null
http://purl.uniprot.org/uniprot/#_Q8IU26-citation-14523554
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/citations/14523554
uri
null
null
http://purl.uniprot.org/isoforms/P01177-1
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
MAGPSLACCLLGLLALTSACYIQNCPLGGKRAVLDLDVRKCLPCGPGGKGRCFGPSICCGDELGCFVGTAEALRCQEENYLPSPCQSGQKPCGSEGRCAAAGICCNPDGCRFDPACDPEATFSQR
literal
null
null
http://purl.uniprot.org/uniprot/P82159
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/P82159#SIPD2FF3FFC565B7C26
uri
null
null
http://purl.uniprot.org/uniprot/P08775
http://purl.uniprot.org/core/citation
http://purl.uniprot.org/citations/19468303
uri
null
null
http://purl.uniprot.org/pfam/PF00531
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q13158-1#Pfam_PF00531_match_1
uri
null
null
http://purl.uniprot.org/uniprot/P17646
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/P17646#SIPCB61A734F0C4E6D0
uri
null
null
http://rdf.wwpdb.org/pdb/8JWS
http://purl.uniprot.org/core/method
http://purl.uniprot.org/core/X-Ray_Crystallography
uri
null
null
http://purl.uniprot.org/uniprot/Q6P0E8#attribution-B1173712290FD2B95AA2CFBCD6874F84
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000318
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q96EE3_up.annotation_ADA586A7175F044B
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q96EE3
uri
null
null
http://purl.uniprot.org/uniprot/P85765#SIP995DBE13153594F4
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/Q6P8I6
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/bgee/ENSMUSG00000020544
uri
null
null
http://purl.uniprot.org/uniprot/Q5ZKQ8#SIPFD44C35D1FD0E355
http://purl.uniprot.org/core/cellularComponent
http://purl.uniprot.org/locations/151
uri
null
null
http://purl.uniprot.org/position/22859066727936046tt2616
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.Q8HZT6_up.classifiedWith_obo.GO_0035115
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0035115
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P02828_up.classifiedWith_obo.GO_0016887
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0016887
uri
null
null
http://purl.uniprot.org/uniprot/#_66ADBD7C8F9003C1_ECA11A063956BBD5_0AD494B8C8945D9B
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/locations/86
uri
null
null
http://rdf.ebi.ac.uk/resource/ensembl.transcript/ENST00000375398.6
http://purl.uniprot.org/core/translatedTo
http://rdf.ebi.ac.uk/resource/ensembl.protein/ENSP00000364547.3
uri
null
null
http://purl.uniprot.org/range/22574297494204974tt375tt634
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#Region
uri
null
null
http://purl.uniprot.org/position/22289506752673838tt1553
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://biohackathon.org/resource/faldo#ExactPosition
uri
null
null
http://purl.uniprot.org/range/22862520384828974tt223tt231
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22862520384828974tt223
uri
null
null
http://purl.uniprot.org/uniprot/Q9QZS3#SIPE54BFCE2FD7F7A88
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Alternative_Splicing_Annotation
uri
null
null
http://purl.uniprot.org/embl-cds/BAE35568.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/range/22577587439088430tt14tt14
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22577587439088430tt14
uri
null
null
http://purl.uniprot.org/opentargets/ENSG00000161217
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.P40692_up.annotation_E614937C92994EB1
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/P40692
uri
null
null
http://purl.uniprot.org/uniprot/P02724#attribution-CC85DFA92D45A096C62B5009A71F219A
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000269
uri
null
null
http://purl.uniprot.org/uniprot/Q5BL81#SIPC03CBCCD31B80673
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Transmembrane_Annotation
uri
null
null
http://purl.uniprot.org/funcoup/Q08274
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/22853573347258926tt31
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.Q498E0_up.annotation_EAE0AB95F1765F96
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q498E0#attribution-3EC7456A9103929A651C59A52E836E04
uri
null
null
http://purl.uniprot.org/uniprot/#_4AA93A21DE23385D_rdfs.comment_67E4D76CCE652E1F
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q9EPC2#attribution-0AF60FA044FF8F88F8BBAA382A5B08E4
uri
null
null
http://purl.uniprot.org/smart/SM00852
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q8NFF5-1#SMART_SM00852_match_1
uri
null
null
http://purl.uniprot.org/position/18348969184015150tt1
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/#_C0DF9F3A3640410C_rdfs.comment_D5102836AD52CFC0
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
Dermonecrotic toxins cleave the phosphodiester linkage between the phosphate and headgroup of certain phospholipids (sphingolipid and lysolipid substrates), forming an alcohol (often choline) and a cyclic phosphate (By similarity). This toxin acts on sphingomyelin (SM) (By similarity). It may also act on ceramide phosphoethanolamine (CPE), lysophosphatidylcholine (LPC) and lysophosphatidylethanolamine (LPE), but not on lysophosphatidylserine (LPS), and lysophosphatidylglycerol (LPG) (By similarity). It acts by transphosphatidylation, releasing exclusively cyclic phosphate products as second products (By similarity). Induces dermonecrosis, hemolysis, increased vascular permeability, edema, inflammatory response, and platelet aggregation (By similarity).
literal
null
null
http://purl.uniprot.org/intact/1211484-10173507
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Interaction
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P16442_up.annotation_a.VAR_003413
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/P16442#attribution-D35DF4F573A1DAECAD48CF2424948134
uri
null
null
http://purl.uniprot.org/uniprot/#_Q8R4I7-citation-15464227
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/citations/15464227
uri
null
null
http://purl.uniprot.org/uniprot/P48230#context-MD5349E1CA20C053613CEF4D266EDD41764
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Tissue
uri
null
null
http://purl.uniprot.org/uniprot/Q6EER3
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/uniprot/Q6EER3#SIP8E880B32A89BB4A7
uri
null
null
http://purl.uniprot.org/uniprot/Q5PQL3
http://purl.uniprot.org/core/citation
http://purl.uniprot.org/citations/15489334
uri
null
null
http://purl.uniprot.org/position/22859058137674542tt247
http://biohackathon.org/resource/faldo#position
247
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/uniprot/Q6P4M5
http://purl.uniprot.org/core/encodedBy
http://purl.uniprot.org/uniprot/Q6P4M5#gene-MD5DDCEFC05D64A48242FDF1F23CE00EAEB
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P14152_up.isolatedFrom_tissue.956
http://purl.uniprot.org/core/citation
http://purl.uniprot.org/citations/21183079
uri
null
null
http://purl.uniprot.org/range/22571016105506606tt10tt15
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22571016105506606tt10
uri
null
null
http://purl.uniprot.org/uniprot/P31213
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/annotation/VAR_077552
uri
null
null
http://purl.uniprot.org/gene3d/3.30.160.60
http://purl.uniprot.org/core/signatureSequenceMatch
http://purl.uniprot.org/isoforms/Q5R8X1-1#Gene3D_3.30.160.60_match_4
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.P78344_up.annotation_8334C0017E49EB25
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/uniprot/P78344#SIP2893D3AA0FB63B92
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q9ESL4_up.classifiedWith_obo.GO_0007010
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0007010
uri
null
null
http://purl.uniprot.org/position/22297233449235502tt385
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/Q33976#gene-MD51FC9D4B7D097F8356361EF179A72D133
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Gene
uri
null
null
http://purl.uniprot.org/uniprot/Q8VCT3#SIPACCE66DF9302943D
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Cofactor_Annotation
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.O13186_up.annotation_4CBF7CA1B99A6370
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.uniprot.org/uniprot/O13186#SIPF8F32F7FD064E949
uri
null
null
http://purl.uniprot.org/iptmnet/P61366
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.Q8K440_up.classifiedWith_obo.GO_0005886
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q8K440#attribution-68097C5C9D39FEEE8BE013645ACBBDD4
uri
null
null
http://purl.uniprot.org/uniprot/P86465
http://purl.uniprot.org/core/alternativeName
http://purl.uniprot.org/uniprot/P86465#SIP5B4FBC3D98F14FA8
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q80W00_up.annotation_E32B02720AED2C21
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/22859226130428718tt189tt215
http://biohackathon.org/resource/faldo#begin
http://purl.uniprot.org/position/22859226130428718tt189
uri
null
null
http://purl.uniprot.org/position/18635950428075310tt30
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/Q9CZU6#SIP11C1A54079452A1E
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.uniprot.org/core/Annotation
uri
null
null
http://purl.uniprot.org/uniprot/Q8WWI1
http://purl.uniprot.org/core/annotation
http://purl.uniprot.org/annotation/VSP_055683
uri
null
null
http://purl.uniprot.org/uniprot/#_69E562A16CFF65AF_ECA11A063956BBD5_D086654D51A2A594
http://purl.uniprot.org/core/attribution
http://purl.uniprot.org/uniprot/Q64441#attribution-31DF06DC49E41632F32D223E711BB0FB
uri
null
null
http://purl.uniprot.org/uniprot/Q9HBE1#SIP9957598B07BCB1CB
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22862455625822510tt41tt130
uri
null
null
http://purl.uniprot.org/uniprot/D2H526
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://purl.uniprot.org/panther/PTHR24056
uri
null
null
http://purl.uniprot.org/uniprot/B6DCY6#SIP6AC433347A76ACD5
http://purl.uniprot.org/core/fullName
U8-lycotoxin-Ls1f
literal
null
null
http://purl.uniprot.org/uniprot/Q15935#SIP01962833F58B1AD5
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22853577776248110tt464tt486
uri
null
null
http://purl.uniprot.org/uniprot/Q3SZP0
http://purl.uniprot.org/core/classifiedWith
http://purl.uniprot.org/keywords/1017
uri
null
null
http://purl.uniprot.org/uniprot/O60733#attribution-642ADC5A27F79FDE0BE2505EFD3A9728
http://purl.uniprot.org/core/manual
true
literal
http://www.w3.org/2001/XMLSchema#boolean
null
http://purl.uniprot.org/uniprot/#_6A3DAF50AB603CAA_rdfs.comment_F7354E13FA16CC53
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/P30357#SIPA352FC6ACC5FBB86
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22574280247424814tt53tt77
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q8BGP6_up.annotation_3989B30D4A28A730
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.Q63932_up.classifiedWith_obo.GO_0005794
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/Q63932
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.Q60795_up.classifiedWith_obo.GO_0045893
http://www.w3.org/1999/02/22-rdf-syntax-ns#object
http://purl.obolibrary.org/obo/GO_0045893
uri
null
null
http://purl.uniprot.org/uniprot/#_FBE59EBDAD8302D1_ECA11A063956BBD5_8278C0C73D427387
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/22859178648287278tt136
http://biohackathon.org/resource/faldo#position
136
literal
http://www.w3.org/2001/XMLSchema#int
null
http://purl.uniprot.org/uniprot/Q8BRH4#SIP9BE4BE6D96E92DD3
http://purl.uniprot.org/core/substitution
V
literal
null
null
http://purl.uniprot.org/uniprot/Q92765#SIPD78C7546F309EB71
http://purl.uniprot.org/core/range
http://purl.uniprot.org/range/22862360951010606tt35tt35
uri
null
null
http://purl.uniprot.org/uniprot/Q618H8#attribution-68097C5C9D39FEEE8BE013645ACBBDD4
http://purl.org/dc/terms/creator
http://purl.uniprot.org/goa-projects/UniProtKB
uri
null
null
http://nextprot.org/rdf/entry/NX_O14530
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/neXtProt
uri
null
null
http://purl.uniprot.org/uniprot/#_kb.A0A1C3NSL9_up.annotation_5133A69C3CFFF5C1
http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
http://purl.uniprot.org/uniprot/A0A1C3NSL9
uri
null
null
http://purl.uniprot.org/uniprot/Q5XXA6#attribution-00E3DC3BC17165535F2E29AA474F2075
http://purl.uniprot.org/core/evidence
http://purl.obolibrary.org/obo/ECO_0000269
uri
null
null
http://purl.uniprot.org/emdb/EMD-39917
http://purl.uniprot.org/core/database
http://purl.uniprot.org/database/EMDB
uri
null
null
End of preview. Expand in Data Studio

UniProt RDF

Dataset Description

Comprehensive protein knowledgebase with functional annotations

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

Dataset Summary

This dataset contains RDF triples from UniProt RDF 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/uniprot")

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

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

Citation

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

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

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

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

Additional Information

Original Source

ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/rdf/uniprotkb_reviewed_eukaryota_opisthokonta_metazoa_33208_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
30