Skip to content

Harmonize vocabulary #11

@CharlesNepote

Description

@CharlesNepote

In the API documentation we use:

  • mainly "tag"/"tags":
    • "Product Tags List"
    • "Product Tag"
    • "Product Tag Delete"
    • etc.
  • "k" and "v", with no explication of their meaning (=> key, value)

Tag, key/value

In the general public, a tag is only a keyword, not a combination of a property and a value. This meaning is shared by:

  • hashtags
  • microformats (where the rel-tag property is for decentralized tagging (Folksonomy) (source Wikipedia))

The OpenStreetMap community is using the "tag" term: A tag consists of two items, a key and a value (source). But OpenStreetMap mappers are often techies who know what is key and a value. A key is probably not very instinctive for Open Food Facts contributors.

Pros:

  • already use in OpenStreetMap community

Cons:

  • how to create simple tags (eg. (k="tag" and v="tobedeled") if the "tag" term is already used for the whole key/value pair?

Pair (or triple or triple tag), property, value

Pros:

  • property and value are easy to understand for the general public
  • these notions are used by the semantic web community
  • "tag" can be a property to allow simple tags (Eg. "tag" => "to be deleted")

Cons:

  • the name of the property/value pair is not very clear: a pair? a triple (like in the semantic web community)

Other?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions