Difference between revisions of "Structured Data/Wikidata"

From Open Food Facts wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 91: Line 91:
  
 
== Open Products Facts ==
 
== Open Products Facts ==
 +
* We have 36000 categories of products to model
 +
* We have many times this of instances of products
 +
* We have all the associated properties, brands, labels… to improve maintain…
 +
 
== Open Pet Food Facts ==
 
== Open Pet Food Facts ==
  
 
== Other/To investigate ==
 
== Other/To investigate ==
https://wikirate.org/The_Coca_Cola_Company
+
* Interesting ESG data projects: https://wikirate.org/The_Coca_Cola_Company, Open Corporates
 
[[Category:Structured Data]]
 
[[Category:Structured Data]]
 +
[[Category:Open Food Facts]]
 +
[[Category:Wikidata]]
 +
== Get in touch ==
 +
{{Box
 +
| 1    =  Slack channel
 +
| 2    =  [https://openfoodfacts.slack.com/messages/C081BENER/ #wikidata]
 +
}}

Latest revision as of 10:34, 17 August 2024

This project aims at improving Wikidata with Open Food Facts Data, with the aim of eventually reusing the data, and linking the Open Food Facts data with Wikidata, and thus with many other services.

See also: https://www.wikidata.org/wiki/Wikidata:WikiProject_Food

Companies

Brands

  • Marking brands as "instance of" brands
  • Adding the Wikidata item number (QXXXXXX) on the Open Food Facts taxonomy

Categories

  • Marking categories as "subclass of" their parent category
  • Adding the Wikidata item number (QXXXXXX) on the Open Food Facts taxonomy

Labels

Additives

Ingredients

Diets

Diets on Wikidata: https://tools.wmflabs.org/wikidata-todo/tree.html?q=474191&rp=279,31

Stores

Getting information into Wikidata

Getting information from Wikidata

Food properties

  • barcode property: https://www.wikidata.org/wiki/Property:P3962
  • PLU Code property: https://www.wikidata.org/wiki/Property:P4030
  • INAO: https://www.wikidata.org/wiki/Property:P3895

Tools

Getting a wikidata taxonomy in JSON

npm install -g wikidata-taxonomy
wdtaxonomy -d -i -f json 2095

https://www.npmjs.com/package/wikidata-taxonomy

SPARQL

For SPARQL queries: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries#Understanding_SPARQL -

Models on the French Wikipedia

Presentation during the Wikidata Reuse Days

Open Beauty Facts

https://wiki.openfoodfacts.org/OBF:Wikidata

Open Products Facts

  • We have 36000 categories of products to model
  • We have many times this of instances of products
  • We have all the associated properties, brands, labels… to improve maintain…

Open Pet Food Facts

Other/To investigate

Get in touch

Slack channel