Skip to content

Set of taxonomies to use with the ontology like product types, units and facets.

License

Notifications You must be signed in to change notification settings

datafoodconsortium/taxonomies

Repository files navigation

Data Food Consortium taxonomies

This repository contains the semantic taxonomies to be used with the DFC ontology:

  • facets: the certifications, natural origins, nutrition and health claims and territorial origins.
  • measures: the dimensions and units.
  • productTypes: the different kinds of product like vegetables, drink, bakery...

These taxonomies are using the SKOS format and are available as RDF and JSON-LD.

To load these taxonomies into your application, you can use the DFC connector. If you want to load them from the network, you could use the files contained in the Github releases (assets).

This is an example of the Apples product type in JSON-LD:

{
    "@id" : "http://static.datafoodconsortium.org/data/productTypes.rdf#apples",
    "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ {
      "@id" : "http://www.w3.org/2004/02/skos/core#Concept"
    } ],
    "http://www.w3.org/2004/02/skos/core#broader" : [ {
      "@id" : "http://static.datafoodconsortium.org/data/productTypes.rdf#fruit"
    } ],
    "http://www.w3.org/2004/02/skos/core#inScheme" : [ {
      "@id" : "http://static.datafoodconsortium.org/data/productTypes.rdf"
    } ],
    "http://www.w3.org/2004/02/skos/core#prefLabel" : [ {
      "@language" : "en",
      "@value" : "apples"
    }, {
      "@language" : "fr",
      "@value" : "pomme"
    } ]
}

Contributing

To request a change in these taxonomies please open an issue.

We will discuss together about how we can integrate your needs as best as possible.

Then, a member of the DFC ontology team will edit the taxonomies files to reflect the changes and commit them to the repo. He/She must also update the CHANGELOG.md file and release a new version. The Github release must contain all the RDF and JSON files as assets.

Thank you!

Previous workflow: until the 23th of February 2023, we have tried to use VocBench (VB), a collaborative web application to manage taxonomies. But we had trouble using it because there is no versionning and the dataset is shared between all the users. We needed a mecanism of proposal that VB is not providing.

About

Set of taxonomies to use with the ontology like product types, units and facets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published