Allow editing of a facet value (Brand, Ingredient, Cities…) to associate it to Wikidata #2011
Labels
facets
facets allow you to explore products according to various criterion. Based on MongoDB
🥗 Ingredients
🎨 Mockup available
A mockup has been created for this feature. Please however interact before implementing.
P3
🧬 Taxonomies
https://wiki.openfoodfacts.org/Global_taxonomies
WikiData
We link taxonomies to Wikidata (& back) - https://wiki.openfoodfacts.org/Structured_Data/Wikidata
What
An example brand: https://world.openfoodfacts.org/brand/woolworths/
In some editing tools for other platforms, such as OpenStreetMap; you can add the required attributes by simply using a suggested name:
On selecting this; it populates the relevant relationship:
This is done via some queries of the dataset and populating records via the "name suggestion index" - https://github.com/osmlab/name-suggestion-index/tree/master/brands
Additionally, the editor performs search queries in some cases to the wikidata endpoints:
yields
which is then followed by
which returns wikidata ids.
Their implementation is viewable at:
https://github.com/openstreetmap/iD/blob/fceb1a86f78deaa0853d454a5fe27d08e9f54da0/modules/services/wikidata.js
for how exactly they handle the API results; etc.
I'd like to see:
See also
The text was updated successfully, but these errors were encountered: