Datasets:
subject stringlengths 21 124 | predicate stringclasses 19 values | object stringlengths 2 4.22k | object_type stringclasses 2 values | object_datatype stringclasses 0 values | object_language stringclasses 1 value |
|---|---|---|---|---|---|
https://schema.org/ListenAction | http://www.w3.org/2000/01/rdf-schema#label | ListenAction | literal | null | null |
https://schema.org/eligibleCustomerType | http://www.w3.org/2000/01/rdf-schema#label | eligibleCustomerType | literal | null | null |
https://schema.org/expressedIn | https://schema.org/rangeIncludes | https://schema.org/AnatomicalSystem | uri | null | null |
https://schema.org/courseSchedule | https://schema.org/rangeIncludes | https://schema.org/Schedule | uri | null | null |
https://schema.org/numberOfCredits | https://schema.org/isPartOf | https://pending.schema.org | uri | null | null |
https://schema.org/UserPlusOnes | http://www.w3.org/2000/01/rdf-schema#label | UserPlusOnes | literal | null | null |
https://schema.org/deliveryMethod | https://schema.org/domainIncludes | https://schema.org/TrackAction | uri | null | null |
https://schema.org/FilmAction | http://www.w3.org/2000/01/rdf-schema#comment | The act of capturing sound and moving images on film, video, or digitally. | literal | null | null |
https://schema.org/pageEnd | http://www.w3.org/2002/07/owl#equivalentProperty | http://purl.org/ontology/bibo/pageEnd | uri | null | null |
https://schema.org/SportsClub | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/SportsActivityLocation | uri | null | null |
https://schema.org/SportsEvent | http://www.w3.org/2000/01/rdf-schema#label | SportsEvent | literal | null | null |
https://schema.org/Gynecologic | https://schema.org/isPartOf | https://health-lifesci.schema.org | uri | null | null |
https://schema.org/HVACBusiness | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/ContactPointOption | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/ShareAction | http://www.w3.org/2000/01/rdf-schema#label | ShareAction | literal | null | null |
https://schema.org/TattooParlor | http://www.w3.org/2000/01/rdf-schema#label | TattooParlor | literal | null | null |
https://schema.org/Table | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/WebPageElement | uri | null | null |
https://schema.org/Role | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/softwareRequirements | http://www.w3.org/2000/01/rdf-schema#comment | Component dependency requirements for application. This includes runtime environments and shared libraries that are not included in the application distribution package, but required to run the application (examples: DirectX, Java or .NET runtime). | literal | null | null |
https://schema.org/Otolaryngologic | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/MedicalBusiness | uri | null | null |
https://schema.org/diversityStaffingReport | http://www.w3.org/2000/01/rdf-schema#subPropertyOf | https://schema.org/publishingPrinciples | uri | null | null |
https://schema.org/AssessAction | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/Action | uri | null | null |
https://schema.org/athlete | https://schema.org/domainIncludes | https://schema.org/SportsTeam | uri | null | null |
https://schema.org/InfectiousAgentClass | http://www.w3.org/2000/01/rdf-schema#label | InfectiousAgentClass | literal | null | null |
https://schema.org/code | https://schema.org/domainIncludes | https://schema.org/MedicalEntity | uri | null | null |
https://schema.org/timeToComplete | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/2289 | uri | null | null |
https://schema.org/PriceSpecification | http://www.w3.org/2002/07/owl#equivalentClass | https://spec.edmcouncil.org/fibo/ontology/FND/ProductsAndServices/ProductsAndServices/Price | uri | null | null |
https://schema.org/syllabusSections | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property | uri | null | null |
https://schema.org/expires | https://schema.org/domainIncludes | https://schema.org/CreativeWork | uri | null | null |
https://schema.org/legislationCountersignedBy | https://schema.org/source | https://op.europa.eu/en/web/eu-vocabularies/model/-/resource/dataset/eli | uri | null | null |
https://schema.org/foodWarning | http://www.w3.org/2000/01/rdf-schema#comment | Any precaution, guidance, contraindication, etc. related to consumption of specific foods while taking this drug. | literal | null | null |
https://schema.org/Integer | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/lesser | https://schema.org/domainIncludes | https://schema.org/QualitativeValue | uri | null | null |
https://schema.org/MemberProgramTier | http://www.w3.org/2000/01/rdf-schema#label | MemberProgramTier | literal | null | null |
https://schema.org/musicBy | https://schema.org/domainIncludes | https://schema.org/VideoObject | uri | null | null |
https://schema.org/BodyMeasurementWaist | http://www.w3.org/2000/01/rdf-schema#label | BodyMeasurementWaist | literal | null | null |
https://schema.org/supply | http://www.w3.org/2000/01/rdf-schema#label | supply | literal | null | null |
https://schema.org/DataDownload | http://www.w3.org/2002/07/owl#equivalentClass | http://www.w3.org/ns/dcat#Distribution | uri | null | null |
https://schema.org/downloadUrl | https://schema.org/domainIncludes | https://schema.org/SoftwareApplication | uri | null | null |
https://schema.org/FoodService | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/Service | uri | null | null |
https://schema.org/itemListOrder | https://schema.org/rangeIncludes | https://schema.org/Text | uri | null | null |
https://schema.org/exerciseCourse | https://schema.org/rangeIncludes | https://schema.org/Place | uri | null | null |
https://schema.org/diseaseSpreadStatistics | https://schema.org/rangeIncludes | https://schema.org/Observation | uri | null | null |
https://schema.org/billingStart | http://www.w3.org/2000/01/rdf-schema#label | billingStart | literal | null | null |
https://schema.org/Event | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/Thing | uri | null | null |
https://schema.org/MediaEnumeration | https://schema.org/isPartOf | https://pending.schema.org | uri | null | null |
https://schema.org/tracks | https://schema.org/domainIncludes | https://schema.org/MusicPlaylist | uri | null | null |
https://schema.org/servingSize | http://www.w3.org/2000/01/rdf-schema#label | servingSize | literal | null | null |
https://schema.org/SizeSpecification | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/2811 | uri | null | null |
https://schema.org/AppendAction | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/InsertAction | uri | null | null |
https://schema.org/TipAction | http://www.w3.org/2000/01/rdf-schema#comment | The act of giving money voluntarily to a beneficiary in recognition of services rendered. | literal | null | null |
https://schema.org/textValue | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/2108 | uri | null | null |
https://schema.org/ParentAudience | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/BodyMeasurementChest | http://www.w3.org/2000/01/rdf-schema#label | BodyMeasurementChest | literal | null | null |
https://schema.org/itemLocation | https://schema.org/rangeIncludes | https://schema.org/Place | uri | null | null |
https://schema.org/exerciseType | https://schema.org/domainIncludes | https://schema.org/ExercisePlan | uri | null | null |
https://schema.org/Nonprofit501c28 | http://www.w3.org/2000/01/rdf-schema#comment | Nonprofit501c28: Non-profit type referring to National Railroad Retirement Investment Trusts. | literal | null | null |
https://schema.org/pattern | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property | uri | null | null |
https://schema.org/processingTime | https://schema.org/domainIncludes | https://schema.org/ServiceChannel | uri | null | null |
https://schema.org/UnofficialLegalValue | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | https://schema.org/LegalValueLevel | uri | null | null |
https://schema.org/HealthInsurancePlan | http://www.w3.org/2000/01/rdf-schema#comment | A US-style health insurance plan, including PPOs, EPOs, and HMOs. | literal | null | null |
https://schema.org/ElectronicsStore | http://www.w3.org/2000/01/rdf-schema#comment | An electronics store. | literal | null | null |
https://schema.org/OnlineBusiness | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/RsvpAction | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/InformAction | uri | null | null |
https://schema.org/valueReference | http://www.w3.org/2000/01/rdf-schema#comment | A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement. | literal | null | null |
https://schema.org/AboutPage | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/WearableSizeSystemEN13402 | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/2811 | uri | null | null |
https://schema.org/Vein | https://schema.org/isPartOf | https://health-lifesci.schema.org | uri | null | null |
https://schema.org/permittedUsage | https://schema.org/rangeIncludes | https://schema.org/Text | uri | null | null |
https://schema.org/DriveWheelConfigurationValue | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/OfficialLegalValue | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/1156 | uri | null | null |
https://schema.org/copyrightHolder | https://schema.org/rangeIncludes | https://schema.org/Organization | uri | null | null |
https://schema.org/vehicleConfiguration | https://schema.org/contributor | https://schema.org/docs/collab/Automotive_Ontology_Working_Group | uri | null | null |
https://schema.org/repetitions | https://schema.org/rangeIncludes | https://schema.org/QuantitativeValue | uri | null | null |
https://schema.org/Resort | https://schema.org/contributor | https://schema.org/docs/collab/STI_Accommodation_Ontology | uri | null | null |
https://schema.org/UKTrust | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/2543 | uri | null | null |
https://schema.org/asin | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property | uri | null | null |
https://schema.org/HealthcareConsideration | http://www.w3.org/2000/01/rdf-schema#label | HealthcareConsideration | literal | null | null |
https://schema.org/PaintAction | http://www.w3.org/2000/01/rdf-schema#comment | The act of producing a painting, typically with paint and canvas as instruments. | literal | null | null |
https://schema.org/artist | http://www.w3.org/2000/01/rdf-schema#comment | The primary artist for a work
in a medium other than pencils or digital line art--for example, if the
primary artwork is done in watercolors or digital paints. | literal | null | null |
https://schema.org/qualifiedExpense | https://schema.org/isPartOf | https://pending.schema.org | uri | null | null |
https://schema.org/variableMeasured | https://schema.org/rangeIncludes | https://schema.org/Text | uri | null | null |
https://schema.org/trialDesign | http://www.w3.org/2000/01/rdf-schema#comment | Specifics about the trial design (enumerated). | literal | null | null |
https://schema.org/temporal | https://schema.org/domainIncludes | https://schema.org/CreativeWork | uri | null | null |
https://schema.org/runtimePlatform | http://www.w3.org/2000/01/rdf-schema#comment | Runtime platform or script interpreter dependencies (example: Java v1, Python 2.3, .NET Framework 3.0). | literal | null | null |
https://schema.org/OfferCatalog | http://www.w3.org/2000/01/rdf-schema#label | OfferCatalog | literal | null | null |
https://schema.org/displayLocation | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/4513 | uri | null | null |
https://ref.gs1.org/voc/ContactPoint | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class | uri | null | null |
https://schema.org/deathDate | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property | uri | null | null |
https://schema.org/nonEqual | http://www.w3.org/2000/01/rdf-schema#comment | This ordering relation for qualitative values indicates that the subject is not equal to the object. | literal | null | null |
https://schema.org/jobLocation | https://schema.org/domainIncludes | https://schema.org/JobPosting | uri | null | null |
https://schema.org/parentService | http://www.w3.org/2000/01/rdf-schema#comment | A broadcast service to which the broadcast service may belong to such as regional variations of a national channel. | literal | null | null |
https://schema.org/hasShippingService | https://schema.org/domainIncludes | https://schema.org/Organization | uri | null | null |
https://schema.org/ArtGallery | http://www.w3.org/2000/01/rdf-schema#subClassOf | https://schema.org/EntertainmentBusiness | uri | null | null |
https://schema.org/sponsor | https://schema.org/rangeIncludes | https://schema.org/Person | uri | null | null |
https://schema.org/FulfillmentTypeCollectionPoint | https://schema.org/source | https://github.com/schemaorg/schemaorg/issues/3617 | uri | null | null |
https://schema.org/PreventionHealthAspect | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | https://schema.org/HealthAspectEnumeration | uri | null | null |
https://schema.org/deliveryTime | http://www.w3.org/2000/01/rdf-schema#label | deliveryTime | literal | null | null |
https://schema.org/priceSpecification | http://www.w3.org/2002/07/owl#equivalentClass | http://unece.org/vocab#AmountType | uri | null | null |
https://schema.org/occupationalCredentialAwarded | http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property | uri | null | null |
Schema.org
Dataset Description
Vocabulary schemas for structured data on the web
Original Source: https://schema.org/version/latest/schemaorg-current-https.ttl
Dataset Summary
This dataset contains RDF triples from Schema.org converted to HuggingFace dataset format for easy use in machine learning pipelines.
- Format: Originally turtle, converted to HuggingFace Dataset
- Size: 0.01 GB (extracted)
- Entities: ~2K types
- Triples: ~15K
- Original License: CC BY-SA 3.0
Recommended Use
Ontology understanding, vocabulary learning, small-scale testing
Notes: Direct download, no extraction needed
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/schema-org")
# 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/schema-org", "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/schema-org")
# 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: 0.01 GB
- Conversion Tool: CleverErnie RDF Pipeline
- Format Version: 1.0
- Conversion Date: 2025-12-29
Citation
If you use this dataset, please cite the original source:
Original Dataset: Schema.org URL: https://schema.org/version/latest/schemaorg-current-https.ttl License: CC BY-SA 3.0
Dataset Preparation
This dataset was prepared using the CleverErnie GISM framework:
# Download original dataset
python scripts/rdf_dataset_downloader.py schema-org -o datasets/
# Convert to HuggingFace format
python scripts/convert_rdf_to_hf_dataset_unified.py \
datasets/schema-org/[file] \
hf_datasets/schema-org \
--format turtle \
--strategy auto
# Upload to HuggingFace Hub
python scripts/upload_all_datasets.py --dataset schema-org
Additional Information
Original Source
https://schema.org/version/latest/schemaorg-current-https.ttl
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
- 44