NonFoodKG - A non-food product knowledge graph

Non-food product knowledge graph

NonFoodKG - A non-food product knowledge graph

Non-FoodKG is a non-food knowledge graph interlinking different ontologies designed for retail, household and robotic applications. It is based on a merged product taxonomy reflecting product classification in grocery stores and drugstores that is linked to a product location ontology created from a robot belief state while performing stocktaking in a retail store. The product location ontology therefore stores inventory data like stock and price of products as well as their positions relative to shelves (instead of coordinates). We use the KnowRob knowledge processing system for creation of the location ontology. The product taxonomy classifies products that were recognized during stocktaking. It is linked to an ingredients classification based on string matching, which is connected to an allergen classification. The product taxonomy is also linked to further product information like name and place of production in product information, product label or product dimensions, i.e. dimensions of product packaging as well as product weight/ filling information.


Please check out version 1 of the ontologies here:

Version 1.0

is the first version of NonFoodKG.

Version 1.1

has some minor fixes and integrates a content trust feature based on the tRDF trust vocabulary in combination with a classification of data sources as DUL information objects

Version 1.0Version 1.1
Product Taxonomy Product Taxonomy
Ingredients Ontology Ingredients Ontology
Allergen Ontology Allergen Ontology
Product Information (nutrition) Ontology Product Information (nutrition) Ontology
Product Label Ontology Product Label Ontology
Product Dimensions Ontology Product Dimensions Ontology
Product Location Ontology Product Location Ontology


Retail stores are competing with online stores. They are aiming at digitization of the shopping experiences. We believe that one main advantage of online stores is its connection to Web information. Consumer needs can be unique but also change fast. It would be very time-consuming to manually model consumer preferences in a database. The Semantic Web already offers much information, mainly for food products (e.g. ). Unfortunately, it lacks information about non-food products like allergens contained in cosmetics. Therefore we created this non-food knowledge graph. To further enhance the knowledge graph information and in order to being able to apply the included knowledge in example applications, we also integrate location information from a perception-based system, leading to a unique embodiment of knowledge in various consumer and robot applications.

Querying the knowledge graph

The knowledge graph is publicly available here and on triply (links see below), many thanks to the knowledge representation and reasoning group at the Vrije Universiteit Amsterdam.

Predefined queries

For all versions of NonFoodKG via the NonFoodKG grlc api. grlc is a git repository linked data API constructor that automatically builds Web APIs using shared SPARQL queries (grlc on github)

Version 1.0

NonFoodKG via triply SPARQL api

Version 1.1

TrustNonFoodKG via triply SPARQL api

Use Cases

Highlighting consumer preferences

Customers have different preferences. Searching for products that meet a given preference like cosmetics that do not contain alcohol can be exhausting. We created an AR application to ease this shopping task. Based on the product taxonomy, location information in the product location ontology and ingredients information in the ingredients and allergen ontology, we created a consumer preference demo in AR. In this demo we used the query for organic products (among others),that can also be found in the predefined queries above. highlighting

Routing to product destination

Customers or store workers often search for product locations. We also created an AR demo based on the predefined query for product class locations in order to route a customer to a product destination. Routing image

Highlighting product information

Customers might be interested in product information. We created an AR app for a Smartphone to highlight interesting product information like awarded labels or ingredients. Additionally, products can be added to a shopping cart. recognized detergent recognized bodylotion


This NonFoodKG is made available under the Open Data Commons Attribution License.

This knowledge graph has been created by the Institute for Artificial Intelligence at the University of Bremen. Please contact Michaela K├╝mpel for further info or collaboration: michaela(dot)kuempel(at)uni-bremen(dot)de