datafoodconsortium / ontology

The DFC ontology is available as OWL and RDF.
https://datafoodconsortium.gitbook.io/dfc-standard-documentation/semantic-specifications
GNU Affero General Public License v3.0
20 stars 3 forks source link

Handle country code in phone numbers #40

Closed lecoqlibre closed 1 year ago

lecoqlibre commented 1 year ago

It might be useful to have the country code of a phone number. Currently we can put it in the phone string but it might be better to save it in a dedicated field?

lecoqlibre commented 1 year ago

Hélène :

Salut. J'avais eu cette question avec un CRM et le mieux était de lier le pays au numéro pour générer l'indicatif quitte à mettre la France par défaut. Nous avions commencé sans et au bout de qq années il a fallu reprendre toutes les données. Idem pour le téléphone fixe // téléphone portable pour l'envoi de SMS.

lecoqlibre commented 1 year ago

Baptiste propose de faire une classe pays pour y stocker l'indicatif. Faire un SKOS pour les pays. Assigner un pays à un numéro de téléphone. Il faudrait une classe PhoneNumber.

lecoqlibre commented 1 year ago

@Alcoz I was thinking of https://schema.org/ to find existing vocabularies.

At our meeting today you proposed to use http://ontology.eil.utoronto.ca/icontact.html ontology.

For your information, we earlier said (with @amardeilh and @simonLouvet) that the DFC ontology should not directly use another ontologies but instead it should defines its own concepts and might align them to those of external ontologies.

lecoqlibre commented 1 year ago

Done in 6405988.