researchdata-se / docs.researchdata.se

API and metadata documentation for researchdata.se
https://docs.researchdata.se
1 stars 0 forks source link

Better information about geographical codes in schema.org & DataCite #14

Open borsna opened 2 months ago

borsna commented 2 months ago

In the current draft we have a suggestion to use geonames but we might want to use other ways to encode geographical codes. An example for a "stable" uri for Sweden would be: https://www.geonames.org/countries/SE/

In json-ld it could be used as the @id and the country:

{
  "@context": "https://schema.org/",
  "@type": "Country",
  "@id": "https://www.geonames.org/countries/SE/",
  "identifier": "SE",
  "name": "Sweden"
}

Unfortunately there is no way to provide a identifier och URI for a geolocation in DataCite, a suggestion for best practice would be to always use the English name with coordinates if possible. https://datacite-metadata-schema.readthedocs.io/en/4.5/properties/geolocation/#geolocationplace

borsna commented 2 months ago

Need input about best practice of geo codes and vocabularies

borsna commented 3 days ago

Write another example with a region of a country or city and examples with coordinates in Schema.org and DataCite XML.