Lab internal tool

Deepowl

Turns a WooCommerce store into a knowledge graph, linking its categories, tags and attributes to published vocabularies so that other systems can understand them too.

Deepowl
Solo developer · Internal tool · 2025-present · internal tool
Python Django Postgres Neo4j DeepOnto D3 WooCommerce REST Wikidata

Why I Built This

Most online shops build their categories, tags and attributes by hand over many years. That structure holds real knowledge about the products, but it's written in the shop's own terms, and search engines and AI shopping assistants can't easily tell what those terms mean. Ontologies were made to solve this, but the tools for them are designed for specialists, not for someone running a store. I wanted a way to connect a store's own vocabulary to shared, published vocabularies, with automatic matching to do the heavy lifting and a person making the final decisions.

94,747 Nodes in the first graph
11,457 Terms to ground
~31s Full graph rebuild

From Store to Knowledge Graph

deepowl reads a WooCommerce store through its REST API (products, categories, tags, attributes and orders) and builds a graph from it. It only reads from the store and never changes it. Each category, tag and attribute becomes a node that can be linked to a published vocabulary, such as schema.org, SKOS, Wikidata or an ontology from the store's own field.

The mapping decisions are stored in Postgres, and the Neo4j graph is built from them. That means I can throw away the graph and rebuild it at any time without losing any of the work that went into the mappings.

Grounding With BERTMap and JEV

Each term in the store is compared against Wikidata and any other ontology I load. BERTMap, from the DeepOnto library, handles the semantic matching. It can recognise, for example, that a field called autore corresponds to schema:author. JEV looks for near-duplicates and spelling variants within the store's own vocabulary, so they can be merged before they become separate nodes.

A match is only accepted automatically in a narrow case: every source has answered, there is exactly one clear candidate, and the scorer raises no objection. Everything else goes to a review queue. I'd rather review a row than discover months later that a wrong match has spread quietly through the data.

Seeing the Impact Before Applying It

Once a term is linked to Wikidata or an ontology, it can take on that source's properties. deepowl lets me choose which properties to bring in. Before anything is applied, it shows how many nodes each property would affect and whether any of them conflict with links I've already made, which I call the "blast radius."

JEV runs again at this stage, comparing incoming labels with existing terms to flag overlaps before they turn into contradictions. The tool shows the consequences of a change, and I decide whether to make it.

Want your product data to be understood beyond your own shop?

If you've built up a store's categories and attributes over years and would like search engines, partners or AI assistants to understand them as well as you do, I'd be glad to talk about how this could work for your catalogue.