Skip to main content

Retail & E-commerce Ontology

Comprehensive domain knowledge for retail stores and online commerce operations.

Overview​

The Retail ontology provides AI agents with deep understanding of:

  • Product catalog and inventory management
  • Customer service and support
  • Order processing and fulfillment
  • Returns and refunds
  • Loyalty programs and promotions

Key Entities​

EntityDescriptionAttributes
ProductMerchandise itemSKU, Price, Stock, Category
CustomerShopperName, Loyalty Status, History, Preferences
OrderPurchaseItems, Total, Status, Payment
ReturnMerchandise returnReason, Amount, Status, Restocking
PromotionDiscount offerType, Value, Conditions, Dates

Common Workflows​

Order Processing​

graph LR
A[Order Placed] --> B[Payment]
B --> C{Approved?}
C -->|Yes| D[Fulfillment]
C -->|No| E[Decline]
D --> F[Ship]
F --> G[Deliver]

Customer Service​

  • Product inquiries and recommendations
  • Order status and tracking
  • Return and exchange processing
  • Complaint resolution
  • Loyalty program management

Regulatory Compliance​

RegulationScopeKey Requirements
PCI-DSSPayment processingSecure card data handling
Consumer ProtectionSales practicesFair advertising, warranties
ADAPhysical/digital storesAccessibility compliance
State Sales TaxRevenueCollection, remittance

Prompt Templates​

Product Recommendation​

Recommend products for customer:
- Customer: {customer_id}
- Purchase history: {past_purchases}
- Browsing: {viewed_products}
- Budget: {price_range}

Suggest relevant products based on preferences,
trending items, and complementary purchases.

Return Processing​

Process return request:
- Order: {order_number}
- Items: {return_items}
- Reason: {return_reason}
- Date purchased: {purchase_date}

Verify return policy eligibility, calculate refund,
provide return label, and update inventory.

This ontology is continuously updated based on retail trends and e-commerce best practices.