Dataset Viewer
Auto-converted to Parquet
subject
stringlengths
29
283
predicate
stringclasses
1 value
object
stringlengths
1
255
object_type
stringclasses
1 value
object_datatype
stringclasses
0 values
object_language
stringclasses
1 value
http://dbpedia.org/resource/(96391)_1998_CZ1
http://www.w3.org/2000/01/rdf-schema#label
(96391) 1998 CZ1
literal
null
en
http://dbpedia.org/resource/.tattoo
http://www.w3.org/2000/01/rdf-schema#label
.tattoo
literal
null
en
http://dbpedia.org/resource/1080s
http://www.w3.org/2000/01/rdf-schema#label
1080s
literal
null
en
http://dbpedia.org/resource/10Gm
http://www.w3.org/2000/01/rdf-schema#label
10Gm
literal
null
en
http://dbpedia.org/resource/%22The_Model%22_Rick_Martel
http://www.w3.org/2000/01/rdf-schema#label
"The Model" Rick Martel
literal
null
en
http://dbpedia.org/resource/%6060s
http://www.w3.org/2000/01/rdf-schema#label
`60s
literal
null
en
http://dbpedia.org/resource/100th_Bombardment_Squadron
http://www.w3.org/2000/01/rdf-schema#label
100th Bombardment Squadron
literal
null
en
http://dbpedia.org/resource/10_Β΅m_(semiconductor_process)
http://www.w3.org/2000/01/rdf-schema#label
10 Β΅m (semiconductor process)
literal
null
en
http://dbpedia.org/resource/-iana
http://www.w3.org/2000/01/rdf-schema#label
-iana
literal
null
en
http://dbpedia.org/resource/'Bras-spungs
http://www.w3.org/2000/01/rdf-schema#label
'Bras-spungs
literal
null
en
http://dbpedia.org/resource/(2E,6E)-farnesyl-diphosphate_diphosphate-lyase_((E)-alpha-bisabolene-forming)
http://www.w3.org/2000/01/rdf-schema#label
(2E,6E)-farnesyl-diphosphate diphosphate-lyase ((E)-alpha-bisabolene-forming)
literal
null
en
http://dbpedia.org/resource/*_(CONFIG.SYS_directive)
http://www.w3.org/2000/01/rdf-schema#label
* (CONFIG.SYS directive)
literal
null
en
http://dbpedia.org/resource/100_(Police_emergency_telephone_number)
http://www.w3.org/2000/01/rdf-schema#label
100 (Police emergency telephone number)
literal
null
en
http://dbpedia.org/resource/100_metres_sprint
http://www.w3.org/2000/01/rdf-schema#label
100 metres sprint
literal
null
en
http://dbpedia.org/resource/.sfk
http://www.w3.org/2000/01/rdf-schema#label
.sfk
literal
null
en
http://dbpedia.org/resource/100_AΓ±os_(song)
http://www.w3.org/2000/01/rdf-schema#label
100 AΓ±os (song)
literal
null
en
http://dbpedia.org/resource/100_Yen_store
http://www.w3.org/2000/01/rdf-schema#label
100 Yen store
literal
null
en
http://dbpedia.org/resource/1093_in_poetry
http://www.w3.org/2000/01/rdf-schema#label
1093 in poetry
literal
null
en
http://dbpedia.org/resource/1120_CE
http://www.w3.org/2000/01/rdf-schema#label
1120 CE
literal
null
en
http://dbpedia.org/resource/107th_Infantry_Regiment_(France)
http://www.w3.org/2000/01/rdf-schema#label
107th Infantry Regiment (France)
literal
null
en
http://dbpedia.org/resource/1/16_note
http://www.w3.org/2000/01/rdf-schema#label
1/16 note
literal
null
en
http://dbpedia.org/resource/(22280)_1985_CD2
http://www.w3.org/2000/01/rdf-schema#label
(22280) 1985 CD2
literal
null
en
http://dbpedia.org/resource/100_Days_(2016_TV_series)
http://www.w3.org/2000/01/rdf-schema#label
100 Days (2016 TV series)
literal
null
en
http://dbpedia.org/resource/(422)_Berolina
http://www.w3.org/2000/01/rdf-schema#label
(422) Berolina
literal
null
en
http://dbpedia.org/resource/107th_Guards_Rifle_Division
http://www.w3.org/2000/01/rdf-schema#label
107th Guards Rifle Division
literal
null
en
http://dbpedia.org/resource/.na
http://www.w3.org/2000/01/rdf-schema#label
.na
literal
null
en
http://dbpedia.org/resource/'Izz_ad-Dawla
http://www.w3.org/2000/01/rdf-schema#label
'Izz ad-Dawla
literal
null
en
http://dbpedia.org/resource/*.*
http://www.w3.org/2000/01/rdf-schema#label
*.*
literal
null
en
http://dbpedia.org/resource/(61349)_2000_PD9
http://www.w3.org/2000/01/rdf-schema#label
(61349) 2000 PD9
literal
null
en
http://dbpedia.org/resource/0.999……
http://www.w3.org/2000/01/rdf-schema#label
0.999……
literal
null
en
http://dbpedia.org/resource/'Tis_the_Season_(Olivia_Newton-John_album)
http://www.w3.org/2000/01/rdf-schema#label
'Tis the Season (Olivia Newton-John album)
literal
null
en
http://dbpedia.org/resource/%22Matthijs_van_der_Meulen%22
http://www.w3.org/2000/01/rdf-schema#label
"Matthijs van der Meulen"
literal
null
en
http://dbpedia.org/resource/10.5420
http://www.w3.org/2000/01/rdf-schema#label
10.5420
literal
null
en
http://dbpedia.org/resource/.NET_Infrastructure
http://www.w3.org/2000/01/rdf-schema#label
.NET Infrastructure
literal
null
en
http://dbpedia.org/resource/100_Next
http://www.w3.org/2000/01/rdf-schema#label
100 Next
literal
null
en
http://dbpedia.org/resource/014_(disambiguation)
http://www.w3.org/2000/01/rdf-schema#label
014 (disambiguation)
literal
null
en
http://dbpedia.org/resource/-dione
http://www.w3.org/2000/01/rdf-schema#label
-dione
literal
null
en
http://dbpedia.org/resource/(555591)_2014_AF61
http://www.w3.org/2000/01/rdf-schema#label
(555591) 2014 AF61
literal
null
en
http://dbpedia.org/resource/1-12cav
http://www.w3.org/2000/01/rdf-schema#label
1-12cav
literal
null
en
http://dbpedia.org/resource/10th_Continental_Regiment
http://www.w3.org/2000/01/rdf-schema#label
10th Continental Regiment
literal
null
en
http://dbpedia.org/resource/'Perpetua'_of_Hippo
http://www.w3.org/2000/01/rdf-schema#label
'Perpetua' of Hippo
literal
null
en
http://dbpedia.org/resource/(You're)_Pushin'_Too_Hard
http://www.w3.org/2000/01/rdf-schema#label
(You're) Pushin' Too Hard
literal
null
en
http://dbpedia.org/resource/103.5_FM_Iqaluit,_Nunavut
http://www.w3.org/2000/01/rdf-schema#label
103.5 FM Iqaluit, Nunavut
literal
null
en
http://dbpedia.org/resource/1/9_(New_York_City_Subway_service)
http://www.w3.org/2000/01/rdf-schema#label
1/9 (New York City Subway service)
literal
null
en
http://dbpedia.org/resource/115a
http://www.w3.org/2000/01/rdf-schema#label
115a
literal
null
en
http://dbpedia.org/resource/.il
http://www.w3.org/2000/01/rdf-schema#label
.il
literal
null
en
http://dbpedia.org/resource/100_greatest_artists_of_our_time
http://www.w3.org/2000/01/rdf-schema#label
100 greatest artists of our time
literal
null
en
http://dbpedia.org/resource/'Aziziya_District
http://www.w3.org/2000/01/rdf-schema#label
'Aziziya District
literal
null
en
http://dbpedia.org/resource/(29165)_1989_UK1
http://www.w3.org/2000/01/rdf-schema#label
(29165) 1989 UK1
literal
null
en
http://dbpedia.org/resource/10th_Armoured_Divisional_Signals
http://www.w3.org/2000/01/rdf-schema#label
10th Armoured Divisional Signals
literal
null
en
http://dbpedia.org/resource/(2867)_Ε teins
http://www.w3.org/2000/01/rdf-schema#label
(2867) Ε teins
literal
null
en
http://dbpedia.org/resource/%22The_Man_From_the_USSR%22_and_Other_Plays:_with_Two_Essays_on_the_Drama
http://www.w3.org/2000/01/rdf-schema#label
"The Man From the USSR" and Other Plays: with Two Essays on the Drama
literal
null
en
http://dbpedia.org/resource/%22What_I_eat_in_a_day%22_video_trend
http://www.w3.org/2000/01/rdf-schema#label
"What I eat in a day" video trend
literal
null
en
http://dbpedia.org/resource/1,3-dimethypentylamine_hydrochloride
http://www.w3.org/2000/01/rdf-schema#label
1,3-dimethypentylamine hydrochloride
literal
null
en
http://dbpedia.org/resource/10_rapid
http://www.w3.org/2000/01/rdf-schema#label
10 rapid
literal
null
en
http://dbpedia.org/resource/(WTGB)
http://www.w3.org/2000/01/rdf-schema#label
(WTGB)
literal
null
en
http://dbpedia.org/resource/10.51697
http://www.w3.org/2000/01/rdf-schema#label
10.51697
literal
null
en
http://dbpedia.org/resource/1051_Imperial_election
http://www.w3.org/2000/01/rdf-schema#label
1051 Imperial election
literal
null
en
http://dbpedia.org/resource/0031/2:_The_Adventures_of_James_Bond_Jr.
http://www.w3.org/2000/01/rdf-schema#label
0031/2: The Adventures of James Bond Jr.
literal
null
en
http://dbpedia.org/resource/1-Chloro-2,3-dibromopropane
http://www.w3.org/2000/01/rdf-schema#label
1-Chloro-2,3-dibromopropane
literal
null
en
http://dbpedia.org/resource/106th_United_States_Colored_Infantry
http://www.w3.org/2000/01/rdf-schema#label
106th United States Colored Infantry
literal
null
en
http://dbpedia.org/resource/(65706)_1992_NA
http://www.w3.org/2000/01/rdf-schema#label
(65706) 1992 NA
literal
null
en
http://dbpedia.org/resource/'Aha_Makhav
http://www.w3.org/2000/01/rdf-schema#label
'Aha Makhav
literal
null
en
http://dbpedia.org/resource/111th_Reconnaissance_Squadron
http://www.w3.org/2000/01/rdf-schema#label
111th Reconnaissance Squadron
literal
null
en
http://dbpedia.org/resource/(You_Make_Me_Feel_Like_A)_Natural_Woman
http://www.w3.org/2000/01/rdf-schema#label
(You Make Me Feel Like A) Natural Woman
literal
null
en
http://dbpedia.org/resource/10.1111
http://www.w3.org/2000/01/rdf-schema#label
10.1111
literal
null
en
http://dbpedia.org/resource/.308_win
http://www.w3.org/2000/01/rdf-schema#label
.308 win
literal
null
en
http://dbpedia.org/resource/(Don't_Fear)_The_Roofer
http://www.w3.org/2000/01/rdf-schema#label
(Don't Fear) The Roofer
literal
null
en
http://dbpedia.org/resource/1,2-Benzisothiazolin-3-one
http://www.w3.org/2000/01/rdf-schema#label
1,2-Benzisothiazolin-3-one
literal
null
en
http://dbpedia.org/resource/-400ER
http://www.w3.org/2000/01/rdf-schema#label
-400ER
literal
null
en
http://dbpedia.org/resource//NWDOS/
http://www.w3.org/2000/01/rdf-schema#label
/NWDOS/
literal
null
en
http://dbpedia.org/resource/10.3202
http://www.w3.org/2000/01/rdf-schema#label
10.3202
literal
null
en
http://dbpedia.org/resource/1000_Thalai_Vaangi_Apoorva_Chinthamani
http://www.w3.org/2000/01/rdf-schema#label
1000 Thalai Vaangi Apoorva Chinthamani
literal
null
en
http://dbpedia.org/resource/(Not)_The_Love_of_My_Life_(Yuna_song)
http://www.w3.org/2000/01/rdf-schema#label
(Not) The Love of My Life (Yuna song)
literal
null
en
http://dbpedia.org/resource/10.2898
http://www.w3.org/2000/01/rdf-schema#label
10.2898
literal
null
en
http://dbpedia.org/resource/10160_Totoro
http://www.w3.org/2000/01/rdf-schema#label
10160 Totoro
literal
null
en
http://dbpedia.org/resource/08-Rodham
http://www.w3.org/2000/01/rdf-schema#label
08-Rodham
literal
null
en
http://dbpedia.org/resource/(29124)_1984_SW6
http://www.w3.org/2000/01/rdf-schema#label
(29124) 1984 SW6
literal
null
en
http://dbpedia.org/resource/10.53031
http://www.w3.org/2000/01/rdf-schema#label
10.53031
literal
null
en
http://dbpedia.org/resource/10.5750
http://www.w3.org/2000/01/rdf-schema#label
10.5750
literal
null
en
http://dbpedia.org/resource/10.36110
http://www.w3.org/2000/01/rdf-schema#label
10.36110
literal
null
en
http://dbpedia.org/resource/10th_Scripps_National_Spelling_Bee
http://www.w3.org/2000/01/rdf-schema#label
10th Scripps National Spelling Bee
literal
null
en
http://dbpedia.org/resource/'s-⁠Gravenhage
http://www.w3.org/2000/01/rdf-schema#label
's-⁠Gravenhage
literal
null
en
http://dbpedia.org/resource/(Khandavprastha)
http://www.w3.org/2000/01/rdf-schema#label
(Khandavprastha)
literal
null
en
http://dbpedia.org/resource/101_(album)
http://www.w3.org/2000/01/rdf-schema#label
101 (album)
literal
null
en
http://dbpedia.org/resource/10th_LG_Cup
http://www.w3.org/2000/01/rdf-schema#label
10th LG Cup
literal
null
en
http://dbpedia.org/resource/1-800-ABCDEFG
http://www.w3.org/2000/01/rdf-schema#label
1-800-ABCDEFG
literal
null
en
http://dbpedia.org/resource/...La_bocca_mi_bacio_tutto_tremante
http://www.w3.org/2000/01/rdf-schema#label
...La bocca mi bacio tutto tremante
literal
null
en
http://dbpedia.org/resource/(35281)_1996_SD6
http://www.w3.org/2000/01/rdf-schema#label
(35281) 1996 SD6
literal
null
en
http://dbpedia.org/resource/10th_Light_Dragoons
http://www.w3.org/2000/01/rdf-schema#label
10th Light Dragoons
literal
null
en
http://dbpedia.org/resource/117th_Regiment_of_Foot_(disambiguation)
http://www.w3.org/2000/01/rdf-schema#label
117th Regiment of Foot (disambiguation)
literal
null
en
http://dbpedia.org/resource/1000K
http://www.w3.org/2000/01/rdf-schema#label
1000K
literal
null
en
http://dbpedia.org/resource/.38-55_WCF
http://www.w3.org/2000/01/rdf-schema#label
.38-55 WCF
literal
null
en
http://dbpedia.org/resource/10_Warn.
http://www.w3.org/2000/01/rdf-schema#label
10 Warn.
literal
null
en
http://dbpedia.org/resource/100_Cycle_Challenge
http://www.w3.org/2000/01/rdf-schema#label
100 Cycle Challenge
literal
null
en
http://dbpedia.org/resource/(92587)_2000_PH9
http://www.w3.org/2000/01/rdf-schema#label
(92587) 2000 PH9
literal
null
en
http://dbpedia.org/resource/(119070)_2001_KP77
http://www.w3.org/2000/01/rdf-schema#label
(119070) 2001 KP77
literal
null
en
http://dbpedia.org/resource/%22lawyers_military_defense_committee%22
http://www.w3.org/2000/01/rdf-schema#label
"lawyers military defense committee"
literal
null
en
http://dbpedia.org/resource/10.19041
http://www.w3.org/2000/01/rdf-schema#label
10.19041
literal
null
en
http://dbpedia.org/resource/106th_Observation_Squadron
http://www.w3.org/2000/01/rdf-schema#label
106th Observation Squadron
literal
null
en
End of preview. Expand in Data Studio

DBpedia English Labels

Dataset Description

Entity labels from DBpedia (English)

Original Source: https://downloads.dbpedia.org/repo/dbpedia/generic/labels/2022.12.01/labels_lang=en.ttl.bz2

Dataset Summary

This dataset contains RDF triples from DBpedia English Labels converted to HuggingFace dataset format for easy use in machine learning pipelines.

  • Format: Originally turtle, converted to HuggingFace Dataset
  • Size: 1.0 GB (extracted)
  • Entities: ~9.5M
  • Triples: ~9.5M
  • Original License: CC BY-SA 3.0

Recommended Use

Entity naming, label learning, medium-scale training

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/dbpedia-labels-en")

# 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/dbpedia-labels-en", "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/dbpedia-labels-en")

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

Citation

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

Original Dataset: DBpedia English Labels URL: https://downloads.dbpedia.org/repo/dbpedia/generic/labels/2022.12.01/labels_lang=en.ttl.bz2 License: CC BY-SA 3.0

Dataset Preparation

This dataset was prepared using the CleverErnie GISM framework:

# Download original dataset
cleverernie download-dataset -d dbpedia-labels-en

# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset.py \
    datasets/dbpedia-labels-en/[file] \
    hf_datasets/dbpedia-labels-en \
    --format turtle

# Upload to HuggingFace Hub
python scripts/upload_all_datasets.py --dataset dbpedia-labels-en

Additional Information

Original Source

https://downloads.dbpedia.org/repo/dbpedia/generic/labels/2022.12.01/labels_lang=en.ttl.bz2

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
88