Topic on User talk:Smalyshev (WMF)

Jump to navigation Jump to search

Where is the https coming from?

13
Multichill (talkcontribs)
Smalyshev (WMF) (talkcontribs)
Multichill (talkcontribs)

URI is http, not https, just like the Wikidata URI for this item is http://www.wikidata.org/entity/Q1455955 . It's just a redirect so for the human centered formatter URL we send people straight to the https. So both fields on VIAF ID (P214) are filled out correctly:

Is the wdtn: generating code accidentally using formatter URL (P1630) instead of formatter URI for RDF resource (P1921)?

Smalyshev (WMF) (talkcontribs)

Yeah I see the difference but I am not sure why it's the case? I think WDQS normalizes all VIAF URIs into https version. I am not sure why http version is declared for RDF export, is there any reason for that?

Multichill (talkcontribs)
Smalyshev (WMF) (talkcontribs)

I see. So I imagine that means we should normalize to http, not https. I'll see how easy it would be to make it work.

Multichill (talkcontribs)

No, you shouldn't normalize at all. Just generate the respective url's based on what is set in the different formatter properties.

Smalyshev (WMF) (talkcontribs)

Not normalizing means we'd have two sets of URIs, http and https... not optimal. Also, it looks like changing this may require full DB reload. If so, this may take time :(

Multichill (talkcontribs)

By definition the URI http://viaf.org/viaf/5853377 is not the same as https://viaf.org/viaf/5853377 so changing either of them is wrong. It's either one so I don't understand why we would end up with two sets of URI's. Or do you mean one half with incorrect https URI and one half with correct http URI?

Probably time to make a bug for this in phabricator or did you already do that? Do you happen to know in what change this normalization was added?

See also Property talk:P1921#Incorrect URI's

Smalyshev (WMF) (talkcontribs)

By definition it's not the same, but people are not always supplying clean data according to definitions. Especially before RDF formatting URLs were even established. The normalization is several years old and probably predates "formatter URI for RDF resource" property itself.

Yes, we can make Phabricator task and continue the discussion there, it'd be better probably.

Multichill (talkcontribs)
Smalyshev (WMF) (talkcontribs)

not that I can find. Please feel free to create one and add me to subscribers.

Multichill (talkcontribs)
Reply to "Where is the https coming from?"