Difference between revisions of "Folksonomy Engine/Uses cases"

From Open Food Facts wiki
Jump to navigation Jump to search
(Add official websites dealing with product recalls)
(Add suggestions for annotations + products with film- or cartoon characters.)
Line 1: Line 1:
 
What do [[Folksonomy Engine]] makes possible? We list here some use cases. These ones are a good way to test how Folksonomy Engine can work.
 
What do [[Folksonomy Engine]] makes possible? We list here some use cases. These ones are a good way to test how Folksonomy Engine can work.
  
For the key (property) names, we use the same convention as OpenStreetMap: minus letters with underscores for spaces. Eg. seen_on_tv
+
For the key (property) names, we use the same convention as OpenStreetMap: minus letters with underscores for spaces. Eg. <code>seen_on_tv</code>
  
 
== Seen on TV (advertising) ==
 
== Seen on TV (advertising) ==
Line 38: Line 38:
 
| open list
 
| open list
 
| TODO: see if we can reuse wikidata TV channels
 
| TODO: see if we can reuse wikidata TV channels
 +
|}
 +
 +
== Products with film- or cartoon characters ==
 +
These data can represent some interest. The characters can infer the target of the product. It can be interesting to understand if certain types of products are targeting special public, kids for example.
 +
{| class="wikitable"
 +
|- style="background-color:#c0c0c0;"
 +
! Key (property)
 +
! Values
 +
! Description
 +
! Type
 +
! Comments
 +
|-
 +
|<code>packaging:has_character</code>
 +
|<code>yes</code> or <code>no</code>
 +
| Is there a film- or cartoon character on this product? <code>No</code> can be interesting to share. Lack of value doesn't mean it can't be yes or no, it's just unknown.
 +
| closed list (yes or no)
 +
|
 +
|-
 +
|<code>packaging:character:date</code>
 +
| Examples:
 +
*<code>2020</code>
 +
*<code>2020-01</code>
 +
*<code>2020-01/2020-06</code> for an interval
 +
| The date when it has been seen on the packaging. An interval is a better information, but a fixed date is a good first step.
 +
|[https://en.wikipedia.org/wiki/ISO_8601 ISO 8601 format]
 +
| Entered manually or by a date picker
 +
|-
 +
|<code>packaging:character</code>
 +
| Examples:
 +
*<code>Hulk</code>
 +
*<code>Star Wars' stormtrooper</code>
 +
| The common name of the character.
 +
| open list
 +
|
 +
|-
 +
|<code>packaging:character:wikidata</code>
 +
|Example: <code>Q51785</code> (Star Wars' Stormtrooper)
 +
|The wikidata reference, to disambiguate the character.
 +
|wikidata
 +
|
 
|}
 
|}
  
Line 81: Line 121:
 
| link
 
| link
 
| Possibility of many links?
 
| Possibility of many links?
 +
|}
 +
 +
== Annotation ==
 +
Providing further information about products for other contributors, and even for users in some cases. Here are some proposed keys:
 +
{| class="wikitable"
 +
|- style="background-color:#c0c0c0;"
 +
! Key (property)
 +
! Values
 +
! Description
 +
! Type
 +
! Comments
 +
|-
 +
|<code>fixme</code>
 +
|<code>yes</code> or <code>no</code>
 +
| Does this product's data has to be fixed?
 +
| closed list (yes or no)
 +
|See [https://wiki.openstreetmap.org/wiki/Key%3Afixme fixme] tag in OpenStreetMap database.
 +
|-
 +
|<code>multiple</code>
 +
|Examples:
 +
 +
* yes
 +
* 2
 +
* 3
 +
* many
 +
|When a barcode is used for different products.
 +
|open list
 +
|
 +
|-
 +
|<code>wikipedia</code>
 +
| Examples:
 +
* <code><nowiki>https://en.wikipedia.org/wiki/Nutella</nowiki></code>
 +
| The specific wikipedia URL corresponding to this product. Users can add the two letter language to precise a page in a specific language.
 +
| URL
 +
| Should be controlled.
 +
|-
 +
|<code>wikidata</code>
 +
|Example: <code>Q212193</code> (for Nutella)
 +
|The wikidata reference, to allow links with other data.
 +
|wikidata
 +
|
 
|}
 
|}
  

Revision as of 15:45, 27 May 2021

What do Folksonomy Engine makes possible? We list here some use cases. These ones are a good way to test how Folksonomy Engine can work.

For the key (property) names, we use the same convention as OpenStreetMap: minus letters with underscores for spaces. Eg. seen_on_tv

Seen on TV (advertising)

What kind of products are most seen on TV? Can we compare these products with the rest of their category? Is it possible to collect those products without barcode?

Proposed keys (properties):

Key (property) Values Description Type Comments
seen_on_tv yes or no Is this product have been seen on TV? No value doesn't mean it can't be yes or no, it's just unknown. closed list (yes or no)
seen_on_tv:date Examples:
  • 2020
  • 2020-01
  • 2020-01/2020-06 for an interval
The date when it has been seen on TV. An interval is a better information, but a fixed date is a good first step. ISO 8601 format Entered manually or by a date picker
seen_on_tv:tv_channels Examples:
  • France: M6
  • UK: BBC1
On what channel? open list TODO: see if we can reuse wikidata TV channels

Products with film- or cartoon characters

These data can represent some interest. The characters can infer the target of the product. It can be interesting to understand if certain types of products are targeting special public, kids for example.

Key (property) Values Description Type Comments
packaging:has_character yes or no Is there a film- or cartoon character on this product? No can be interesting to share. Lack of value doesn't mean it can't be yes or no, it's just unknown. closed list (yes or no)
packaging:character:date Examples:
  • 2020
  • 2020-01
  • 2020-01/2020-06 for an interval
The date when it has been seen on the packaging. An interval is a better information, but a fixed date is a good first step. ISO 8601 format Entered manually or by a date picker
packaging:character Examples:
  • Hulk
  • Star Wars' stormtrooper
The common name of the character. open list
packaging:character:wikidata Example: Q51785 (Star Wars' Stormtrooper) The wikidata reference, to disambiguate the character. wikidata

Recalled products

Listing products recalls can be an interesting service.

Proposed keys (properties):

Key (property) Values Description Type Comments
recalled_product yes, no The product has been recalled or not. No value doesn't mean it can't be yes or no, it's just unknown. closed list (yes or no)
recalled_product:date Examples:
  • 2020
  • 2020-01
  • 2020-01/2020-06 for an interval
The date when it has been recalled. ISO 8601 format Entered manually or by a date picker
recalled_product:comments Any more information can be put here. Eg. the serial numbers of the product. Free text
recalled_product:link Examples: A link to the official source of the recall. link Possibility of many links?

Annotation

Providing further information about products for other contributors, and even for users in some cases. Here are some proposed keys:

Key (property) Values Description Type Comments
fixme yes or no Does this product's data has to be fixed? closed list (yes or no) See fixme tag in OpenStreetMap database.
multiple Examples:
  • yes
  • 2
  • 3
  • many
When a barcode is used for different products. open list
wikipedia Examples:
  • https://en.wikipedia.org/wiki/Nutella
The specific wikipedia URL corresponding to this product. Users can add the two letter language to precise a page in a specific language. URL Should be controlled.
wikidata Example: Q212193 (for Nutella) The wikidata reference, to allow links with other data. wikidata

Some official websites dealing with product recalls: