Dataset Viewer
Auto-converted to Parquet Duplicate
subject
stringlengths
32
70
predicate
stringclasses
50 values
object
stringlengths
2
1.94k
object_type
stringclasses
3 values
object_datatype
stringclasses
2 values
object_language
stringclasses
0 values
http://purl.obolibrary.org/obo/GO_1901208
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
down regulation of heart looping
literal
null
null
N76c9d0954c60484f8566f37c4b9d1bf9
http://www.w3.org/2002/07/owl#annotatedTarget
up regulation of UDP-glucuronate-4-hydroxybiphenyl glucuronosyltransferase activity
literal
null
null
http://purl.obolibrary.org/obo/GO_1903447
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Class
uri
null
null
N2e00afec46b64914b9d4f5fb73ea6e3c
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:mtg_sensu
literal
null
null
N54cdbb1212444377bb7011886ea34317
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
Nc715de41c7fd4726aa537f2a6dff5e35
http://www.w3.org/1999/02/22-rdf-syntax-ns#first
http://purl.obolibrary.org/obo/GO_0005657
uri
null
null
http://purl.obolibrary.org/obo/GO_0006267
http://www.geneontology.org/formats/oboInOwl#id
GO:0006267
literal
null
null
http://purl.obolibrary.org/obo/GO_1990743
http://www.w3.org/2000/01/rdf-schema#subClassOf
http://purl.obolibrary.org/obo/GO_0036211
uri
null
null
Nd6bc0ceddd44417eabae323b406bffb0
http://www.w3.org/2002/07/owl#intersectionOf
N92d33129492249f195c3aee1b82f51fe
blank_node
null
null
http://purl.obolibrary.org/obo/GO_0031491
http://www.geneontology.org/formats/oboInOwl#hasOBONamespace
molecular_function
literal
null
null
Nbddcc7c0891a48eea9f2a92f3bbd4535
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
http://purl.obolibrary.org/obo/GO_1905617
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Class
uri
null
null
N061dc26205514a1fa143ba6f57e98de9
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Restriction
uri
null
null
http://purl.obolibrary.org/obo/GO_0051256
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
spindle midzone assembly involved in mitosis
literal
null
null
http://purl.obolibrary.org/obo/GO_0033810
http://purl.obolibrary.org/obo/IAO_0000115
Catalysis of the reaction: malonyl-CoA + pelargonidin 3-O-(6-caffeoyl-beta-D-glucoside) 5-O-beta-D-glucoside = CoA + 4'''-demalonylsalvianin.
literal
null
null
N7cc1398025fc48cea22e03f3bacfe873
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:ha
literal
null
null
N3c0527ad4fda498e9751984c31acc607
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Restriction
uri
null
null
N33dbf2780c2543e8bad0527bc2fdaade
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:hjd
literal
null
null
http://purl.obolibrary.org/obo/GO_0090321
http://www.w3.org/2000/01/rdf-schema#subClassOf
N5f6231f561c245b6bcd0715cbbbf59fc
blank_node
null
null
N20daf44b23c14bec9c351ae4f13df0c8
http://www.w3.org/2002/07/owl#annotatedProperty
http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym
uri
null
null
http://purl.obolibrary.org/obo/GO_1900019
http://www.w3.org/2002/07/owl#equivalentClass
Ncbdec768c8ac49d998828edd9ffa6ac1
blank_node
null
null
Nc9948b2bbd73427aa7ea79a94b345cd0
http://www.w3.org/2002/07/owl#annotatedTarget
inhibition of potassium ion export across plasma membrane
literal
null
null
N4264fd3b82ff4f4791eea08d5fd6fcef
http://www.geneontology.org/formats/oboInOwl#hasDbXref
EC:4.2.1.107
literal
null
null
N6edc70f7aedc4d809a247c75dac57771
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:vw
literal
null
null
N1b701c6328304369b461ac3013778138
http://www.w3.org/2002/07/owl#annotatedTarget
A special chromosome region located towards one end of a chromosome that contains dispersed copies of short, repetitive DNA sequences and functions as a cis-acting element essential for presynaptic homologous chromosome pairing and chromosome-nuclear envelope attachment.
literal
null
null
N022fea51eb8e4bb3add69156c729385b
http://www.w3.org/2002/07/owl#annotatedProperty
http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym
uri
null
null
N9defda903b8648f9926c66e5e67614a6
http://www.w3.org/2002/07/owl#annotatedSource
http://purl.obolibrary.org/obo/GO_0015433
uri
null
null
http://purl.obolibrary.org/obo/GO_0047838
http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym
NAD-D-xylose
literal
null
null
N2f14f9fa5c344626bb9c77974e677ec3
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
http://purl.obolibrary.org/obo/GO_1901347
http://www.geneontology.org/formats/oboInOwl#hasOBONamespace
biological_process
literal
null
null
N2e422f0a78e4485e950c270a06419472
http://www.w3.org/1999/02/22-rdf-syntax-ns#rest
N522645075562476cbb3f19b1e8b747ac
blank_node
null
null
http://purl.obolibrary.org/obo/GO_0016512
http://purl.obolibrary.org/obo/IAO_0000115
OBSOLETE. Catalysis of the formation of endothelin 1 by cleavage of the Trp21-Val22 bond in the precursor.
literal
null
null
Nc5c87bff58d545379be5286b5b578de2
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
N18022e90559e43d99d70a3531df757be
http://www.w3.org/2002/07/owl#annotatedProperty
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
uri
null
null
N6ef9e74db976487fa4d4b8e56d0b22fd
http://www.w3.org/2000/01/rdf-schema#label
PKC phosphorylates G alpha (z)
literal
null
null
N37000b2081624dc98bd8698746359a68
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
Nba52b416a7624df387705b67c98b70f5
http://www.w3.org/2002/07/owl#annotatedTarget
upregulation of Atg1p signalling complex formation
literal
null
null
http://purl.obolibrary.org/obo/GO_0036213
http://purl.obolibrary.org/obo/IAO_0000233
https://github.com/geneontology/go-ontology/issues/21855
literal
http://www.w3.org/2001/XMLSchema#anyURI
null
http://purl.obolibrary.org/obo/GO_0004938
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
alpha2 adrenoceptor
literal
null
null
N133f77c763b749b38e046e6d47dc132c
http://www.w3.org/2002/07/owl#annotatedTarget
down regulation of response to toluene
literal
null
null
N7805e3a14ac44cc1ae26fbe135215ec4
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
N623441693ef2433397ef82785c161537
http://www.w3.org/2002/07/owl#annotatedTarget
The process that contributes to the act of creating the structural organization of the cranial nerves. This process pertains to the physical shaping of a rudimentary structure. The cranial nerves are composed of twelve pairs of nerves that emanate from the nervous tissue of the hindbrain. These nerves are sensory, motor, or mixed in nature, and provide the motor and general sensory innervation of the head, neck and viscera. They mediate vision, hearing, olfaction and taste and carry the parasympathetic innervation of the autonomic ganglia that control visceral functions.
literal
null
null
http://purl.obolibrary.org/obo/GO_0090071
http://www.w3.org/2000/01/rdf-schema#label
negative regulation of ribosome biogenesis
literal
null
null
Ncf5c96797fd845c5adf11d476097eff2
http://www.w3.org/2002/07/owl#annotatedSource
http://purl.obolibrary.org/obo/GO_1902000
uri
null
null
N2291e96bba014cdeb56796a7bfe77542
http://www.w3.org/2002/07/owl#annotatedSource
http://purl.obolibrary.org/obo/GO_2000601
uri
null
null
http://purl.obolibrary.org/obo/GO_0098997
http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym
viral penetration via membrane fusion
literal
null
null
http://purl.obolibrary.org/obo/GO_0060933
http://www.w3.org/2000/01/rdf-schema#label
His-Purkinje system cell development
literal
null
null
N7ba4dc08fb30436188c88e2d9d47de57
http://www.w3.org/2002/07/owl#annotatedTarget
activation of maltohexaose transport
literal
null
null
N82791ed1a85a4dd5bca5e29ef78d7a55
http://www.w3.org/2002/07/owl#annotatedTarget
regulation of aflatoxin anabolism
literal
null
null
http://purl.obolibrary.org/obo/GO_0032294
http://www.w3.org/2000/01/rdf-schema#label
peripheral nervous system non-myelinated axon ensheathment
literal
null
null
N79220227dd79484785f8ea316277b05b
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:rl
literal
null
null
http://purl.obolibrary.org/obo/GO_0051362
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
biosynthetic process of protein-protein cross-link via 2-tetrahydropyridinyl-5-imidazolinone glycine
literal
null
null
http://purl.obolibrary.org/obo/GO_0004864
http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym
protein phosphatase 2 inhibitor activity
literal
null
null
http://purl.obolibrary.org/obo/GO_0047325
http://www.geneontology.org/formats/oboInOwl#hasOBONamespace
molecular_function
literal
null
null
Nca6eff5abbff430a9b2391cf2a474b1b
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
N815bec74499540a784bc6e288a2af56d
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:mah
literal
null
null
N939bdd726552461ebb548ce345e78175
http://www.w3.org/2002/07/owl#annotatedTarget
OBSOLETE. Any process that modulates the rate or frequency of cell death. Cell death is the specific activation or halting of processes within a cell so that its vital functions markedly cease, rather than simply deteriorating gradually over time, which culminates in cell death.
literal
null
null
Nff8b006d6f3e4c16815c7cfda18bd9e7
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
http://purl.obolibrary.org/obo/GO_1901225
http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym
downregulation of regulation of transcription from Pol II promoter involved in dorsal vessel development
literal
null
null
N167887ded42d44aeaaf96b140a0b3210
http://www.w3.org/2002/07/owl#annotatedTarget
OBSOLETE. Any process that reduces the number of petals produced in a developing flower.
literal
null
null
http://purl.obolibrary.org/obo/GO_0004773
http://www.geneontology.org/formats/oboInOwl#hasDbXref
MetaCyc:STERYL-SULFATASE-RXN
literal
null
null
http://purl.obolibrary.org/obo/GO_0016459
http://www.w3.org/2000/01/rdf-schema#subClassOf
N8e1881574d13456e82aaa6806977deb1
blank_node
null
null
Nb3033ec7bdf34216a8975dbe899075b6
http://www.w3.org/2002/07/owl#annotatedSource
http://purl.obolibrary.org/obo/GO_1901120
uri
null
null
N640e14597a4a449596df259424cd4be8
http://www.w3.org/2002/07/owl#annotatedSource
http://purl.obolibrary.org/obo/GO_1901465
uri
null
null
N850cf2a58e964e79982f43c51074049c
http://www.w3.org/2002/07/owl#annotatedTarget
OBSOLETE. The fusion of two haploid nuclei to form a single diploid nucleus, as seen in the yeast mating process.
literal
null
null
http://purl.obolibrary.org/obo/GO_0097240
http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym
attachment of chromatin to nuclear envelope
literal
null
null
http://purl.obolibrary.org/obo/GO_1902634
http://www.w3.org/2000/01/rdf-schema#subClassOf
http://purl.obolibrary.org/obo/GO_1902633
uri
null
null
N5f5b146b78db4318b8f209536863a9e1
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:mtg_muscle
literal
null
null
N96be3710cae34cd885137df28c202883
http://www.w3.org/1999/02/22-rdf-syntax-ns#rest
http://www.w3.org/1999/02/22-rdf-syntax-ns#nil
uri
null
null
Naa3954aa1032455aa54564848cc91e4f
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:TermGenie
literal
null
null
Nf64801721c9542a1a74619c89350e448
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
N63ab7e31ae8d4e30834706a1ab563291
http://www.w3.org/2002/07/owl#annotatedTarget
negative regulation of transcription from Pol II promoter by histone modification
literal
null
null
http://purl.obolibrary.org/obo/GO_0019789
http://www.geneontology.org/formats/oboInOwl#hasDbXref
Reactome:R-HSA-4551683
literal
null
null
http://purl.obolibrary.org/obo/GO_0071854
http://www.w3.org/2000/01/rdf-schema#subClassOf
N0876d5627d664c71a08cb7886549bb2e
blank_node
null
null
http://purl.obolibrary.org/obo/GO_0099016
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
evasion of DNA end degradation by host
literal
null
null
http://purl.obolibrary.org/obo/GO_0035034
http://www.w3.org/2000/01/rdf-schema#comment
See also the molecular function term 'histone acetyltransferase activity ; GO:0004402'.
literal
null
null
http://purl.obolibrary.org/obo/GO_2000632
http://www.w3.org/2002/07/owl#equivalentClass
N0d6dd60a28774629bbc643b02aba1877
blank_node
null
null
http://purl.obolibrary.org/obo/GO_0120532
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
glycosaminoglycan-protein linkage region biosynthesis
literal
null
null
Nd1139db8398a4589bdd370821a131f99
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:add
literal
null
null
N0595fc1cf3de44cfa97eedfd440d94c9
http://www.w3.org/2002/07/owl#annotatedTarget
down-regulation of octadecene metabolism
literal
null
null
http://purl.obolibrary.org/obo/GO_0031256
http://www.w3.org/2000/01/rdf-schema#subClassOf
N1210985cafde491595d4c21ff889ed2e
blank_node
null
null
N8c68327a6e7a4bf28082c885a99f7127
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
N31d6f663de40402e93cac0110452615f
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
Nb85c3f6cc29c4539ad92559f2ebf11db
http://www.w3.org/2002/07/owl#annotatedTarget
tensidol A degradation
literal
null
null
N49729c6d646946dc89015212536a9ea9
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:TermGenie
literal
null
null
http://purl.obolibrary.org/obo/GO_0070605
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
regulation of alpha-1,3 glucan metabolic process
literal
null
null
Na7033e0d809a4a1ebe67323aa6a4e91a
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:TermGenie
literal
null
null
http://purl.obolibrary.org/obo/GO_1903147
http://purl.obolibrary.org/obo/IAO_0000115
Any process that stops, prevents or reduces the frequency, rate or extent of mitochondrion degradation by autophagy.
literal
null
null
Nb5147d5fae7f4e27bd2767248107c2fd
http://www.geneontology.org/formats/oboInOwl#hasDbXref
GOC:curators
literal
null
null
http://purl.obolibrary.org/obo/GO_0006608
http://www.geneontology.org/formats/oboInOwl#consider
http://purl.obolibrary.org/obo/GO_0006606
uri
null
null
http://purl.obolibrary.org/obo/GO_0102845
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Class
uri
null
null
Ned8dd7227360425caad19a6b508ffd83
http://www.w3.org/2002/07/owl#annotatedProperty
http://www.geneontology.org/formats/oboInOwl#hasDbXref
uri
null
null
http://purl.obolibrary.org/obo/GO_1900248
http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym
inhibition of cytoplasmic translational elongation
literal
null
null
N92bdf9fa36b749e38838114146ade8d1
http://www.w3.org/2002/07/owl#onProperty
http://purl.obolibrary.org/obo/RO_0002213
uri
null
null
N3ee2dd9f4b2c4c5c8030c9953208c8bf
http://www.geneontology.org/formats/oboInOwl#hasDbXref
PMID:28450737
literal
null
null
http://purl.obolibrary.org/obo/GO_0052346
http://www.w3.org/2002/07/owl#deprecated
true
literal
http://www.w3.org/2001/XMLSchema#boolean
null
Ne430977dc4e04f72bc4575262aa31b16
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Axiom
uri
null
null
http://purl.obolibrary.org/obo/GO_0048773
http://www.geneontology.org/formats/oboInOwl#hasOBONamespace
biological_process
literal
null
null
Nf312b3b7eab04a8c9fc9a81e79414fc9
http://www.w3.org/2002/07/owl#someValuesFrom
http://purl.obolibrary.org/obo/GO_0006283
uri
null
null
N1451ab3ccafa4455b72883c6821b2f2c
http://www.w3.org/2002/07/owl#annotatedProperty
http://purl.obolibrary.org/obo/IAO_0000115
uri
null
null
End of preview. Expand in Data Studio

Gene Ontology

Dataset Description

Biological ontology for gene function hierarchy

Original Source: http://purl.obolibrary.org/obo/go.owl

Dataset Summary

This dataset contains RDF triples from Gene Ontology converted to HuggingFace dataset format for easy use in machine learning pipelines.

  • Format: Originally xml, converted to HuggingFace Dataset
  • Size: 0.05 GB (extracted)
  • Entities: ~44K GO concepts
  • Triples: ~853K
  • Original License: CC BY 4.0

Recommended Use

Biological ontology, gene function annotation

Notes\n\nMonthly updates. OWL format with reasoning support.

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/gene-ontology")

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

# 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: xml
  • Original Size: 0.05 GB
  • Conversion Tool: CleverErnie RDF Pipeline
  • Format Version: 1.0
  • Conversion Date: 2025-11-06

Citation

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

Original Dataset: Gene Ontology URL: http://purl.obolibrary.org/obo/go.owl License: CC BY 4.0

Dataset Preparation

This dataset was prepared using the CleverErnie GISM framework:

# Download original dataset
cleverernie download-dataset -d gene-ontology

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

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

Additional Information

Original Source

http://purl.obolibrary.org/obo/go.owl

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
11