cd icon indicating copy to clipboard operation
cd copied to clipboard

Property:addressCountry

Open mtrekels opened this issue 5 years ago • 10 comments

Label Address Country
Definition The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.
Usage
Existing property schema:addressCountry
Existing class schema:PostalAddress
Existing property identifier https://schema.org/addressCountry
Format Text
Required Yes
Repeatable No
Constraints Controlled vocabulary
Examples Denmark, Colombia, España
Notes

mtrekels avatar Nov 26 '19 18:11 mtrekels

Format should be an ISO Country code instead of free text

falkogloeckler avatar Feb 10 '20 21:02 falkogloeckler

We should separate out ISO country fro Country to allow for older country names and/or ambiguous borders.

rondlg avatar Feb 10 '20 22:02 rondlg

Agreed @rondlg

Similarly, only one place name should be permitted in the field - yes, folks put more than one country name into the country field more often than you might think. This should be true for all geography fields.

dbloom avatar Feb 10 '20 22:02 dbloom

We should separate out ISO country fro Country to allow for older country names and/or ambiguous borders.

If you allow older names you'll probably have quite a challenge putting together a controlled vocabulary for it... (not that it can't be done, but it will be a super dynamic vocabulary I suspect, as new "ways of calling places" surface from the data)... If you go for ambiguous borders things could get worse... So in that case I would re-think either the definition of the term or the expectation for the values to conform to a controlled vocabulary...

pzermoglio avatar Mar 26 '20 01:03 pzermoglio

As for a potential vocabulary, there is the Getty Thesaurus of Geographic Names that could be considered.

pzermoglio avatar Mar 26 '20 01:03 pzermoglio

Question: is this Country the field where the collection resides, yes? as compared to describing which countries (Plural) a particular collection description is about?

We (if we don't have it) need a separate field for sharing 0 to many countries, for sharing where a given set of objects were gathered -- to put in a given Collection Description.

debpaul avatar Mar 26 '20 14:03 debpaul

@debpaul This is part of Class:OrganisationalUnitAddress So it refers to one country and that is a current country

qgroom avatar Mar 26 '20 16:03 qgroom

If this is split into 2 fields: one for a text string country and the other for the ISO country we need a vocab for the 2nd of these but not the first.

rondlg avatar Feb 17 '22 22:02 rondlg

Why both?

ben-norton avatar Feb 18 '22 16:02 ben-norton

I have an API endpoint with the ISO country codes. I cant recall the URL off-hand. Give me 12 hours to post it.

ben-norton avatar Feb 18 '22 16:02 ben-norton