gs1 / WebVoc

GS1 Web vocabulary development site
Apache License 2.0
29 stars 6 forks source link

gs1 enforces strings vs things dichotomy #24

Open VladimirAlexiev opened 3 years ago

VladimirAlexiev commented 3 years ago

Looking at https://www.gs1.org/voc/PostalAddress:

This decision looks pretty random

Other organization or encyclopedic ontologies allow string or thing in such situations, but gs1 enforces a random dichotomy:

mgh128 commented 3 years ago

The GS1 random dichotomy you refer to is contained within the class gs1:PostalAddress Some of its properties expect string (e.g. for postal code). Many address fields expect rdf:langString gs1:addressCountry expects a gs1:Country class because ISO 3166 defines code values for countries as well as subdivisions within countries, so we're just reflecting that capability.

VladimirAlexiev commented 3 years ago

There's also a dichotomy between string vs langString (#22), and the assignment also appears random:

Rest of comments in new issue.