Product Types Ontology (PTO)

The Product Types Ontology (PTO) is a vocabulary for standardized classification and semantic description of commercial products and services, designed to complement GoodRelations in semantic e-commerce applications [1] [2]. PTO provides product and service type identifiers that can be used to describe what kind of product or service is being offered, while GoodRelations provides the commercial vocabulary for describing offers, prices, sellers, availability, and related e-commerce information [1] [2]. PTO enables detailed product classification across diverse market segments, facilitating product discovery, comparison shopping, semantic search, and automated recommendation systems [1] [2]. The ontology can be used in web markup and linked data settings to make product information more machine-readable and easier for search engines, aggregation platforms, and e-commerce applications to process [1] [2]. By combining PTO product types with GoodRelations commercial properties such as price, availability, business entity, and offer information, organizations can create rich, machine-readable product descriptions for e-commerce applications [1] [2].

Example Usage: Annotate a product listing with a PTO product type, such as Smartphone or Android_phone, and link it to a GoodRelations Offering that describes the seller, price, availability, and delivery conditions. This enables automated product discovery, semantic search, and price comparison across e-commerce platforms [1] [2].

Metrics & Statistics

Graph Statistics

Total Nodes

4577

Total Edges

14125

Root Nodes

12

Leaf Nodes

1012

Knowledge Coverage Statistics

Classes

1002

Individuals

3002

Properties

0

Hierarchical Metrics

Maximum Depth

2

Minimum Depth

0

Average Depth

0.92

Depth Variance

0.87

Breadth Metrics

Maximum Breadth

12

Minimum Breadth

3

Average Breadth

8.33

Breadth Variance

14.89

LLMs4OL Dataset Statistics

Term Types

3000

Taxonomic Relations

3996

Non-taxonomic Relations

0

Average Terms per Type

3000.00

Usage Example

Use the following code to import this ontology programmatically:

from ontolearner.ontology import PTO

ontology = PTO()
ontology.load("path/to/PTO-ontology.rdf")

# Extract datasets
data = ontology.extract()

# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations

References