npolar / api.npolar.no

Searchable data storage
https://api.npolar.no
4 stars 0 forks source link

Question about "title_variants" #77

Closed Stazia closed 7 years ago

Stazia commented 7 years ago

Good day to you, My name is Anastasia and I work with placenames in NRK, Yr-project. I have been working with adjusting our "Placenames-solution" to changes made to api.npolar lately. I have a question about "title_variants" that have been there before at /placename endpoint. Just wonder if they are completely away or can be found at some other endpoint? Thank you beforehand! Regards, Anastasia

cnrdh commented 7 years ago

Hi, sorry for the late reply, been in the field.

There is now a relations block that contains "replaces" and "replaced_by":

See e.g. Čebyševbreen

"relations": {
"replaces": [
{
"name": "Čebysevbreen",
"@id": "022e4189-b887-528c-ae9f-b8ebd9f46288"
},
{
"name": "Gl. Tchebychev",
"@id": "81f79951-d652-5649-ae45-a1edd2acc739"
},
{
"name": "Tsjebysjovbreen",
"@id": "9a4e6e8a-c770-5730-945c-c4d7ae272838"
}
],
cnrdh commented 7 years ago

The @id property means that it's a URI, in this case relative so that you will find more details on Tsjebysjovbreen by following http://api.npolar.no/placename/9a4e6e8a-c770-5730-945c-c4d7ae272838

Stazia commented 7 years ago

Ok, I see. Thank you for your reply! /Anastasia

Stazia commented 7 years ago

Sorry to bother you again, but I have found some places that have a field for "same_as", have some examples here:

Are these alternative placenames? some with historical status should be "replaces"?

/Anastasia

cnrdh commented 7 years ago

You are touching something rather complicated here.

In the Norwegian Arctic (Svalbard, Jan Mayen) the names on land are controlled by NP and the currently approved names are marked with status "official", and we are able to say that the current name replaces the historical name.

cnrdh commented 7 years ago

In Antarctica we don't control the names, so we use "same as" relation to indicate a relation in either way (replaces or is replaced by or is alternative form in another language or in another country).

See http://www.scar.org/cga

That said, I'm not sure if I understand the question/your problem here.

Stazia commented 7 years ago

Ok. Thank you for your reply! I just trying to understand the difference of these fields (replaces vs same_as). Since before we captured all the alternative names for a placename (title_variants). It's rather clear now:)

Regards, Anastasia

Stazia commented 7 years ago

Accidentally closed the issue.. but I got all the questions answered from you now:) Thanks!