welfare-state-analytics / riksdagen-corpus

Swedish parliamentary proceedings - Riksdagens protokoll 1867-today
Other
26 stars 5 forks source link

Missing URL to lookup SWERIK politician ID #426

Closed dpriskorn closed 7 months ago

dpriskorn commented 8 months ago

According to https://www.wikidata.org/wiki/Property:P12192 we are currently missing a formatter URL. Would you be willing to set up a webservice to make it easy to link to your GUPRIs? see https://faircookbook.elixir-europe.org/content/recipes/infrastructure/gupri.html @salgo60

salgo60 commented 8 months ago

I am out travelling right now but I did a POC how we easy could integrate Riksdagens corpus to Wikipedia if you had good landing pages....

Example how you can add new tabs in Wikipedia by adding some code to a users Special:MyPage/global.js see example my global.js

image

BobBorges commented 8 months ago

Thanks for raising this issue @dpriskorn. I'll look into setting up the formatter URL and implement it if I can.

salgo60 commented 8 months ago

@BobBorges see #13 and have support for tumbstone pages…. I also think we need a consensus for how to deliver data about persons #19 / reconciliation services #20 - one approach if most of “your objects” are in Wikidata your users can use Open Refine and Wikidata to find your IDs

BobBorges commented 8 months ago

@dpriskorn I have now carefully read through the links you provided, but I think I miss some key piece of information. If I understand correctly, the URL is essentially a redirect (I'm familiar with DNS, URLs and .htaccess), but I don't understand from where and to where these redirects should lead.

If we in the SWERIK project need to set up some kind of page for each entity who is assigned P12192, then this will not be feasible in a short-term perspective. If, on the other hand, these redirects involve existing wikidata pages, that's fine, but then I'm not sure if I understand what the purpose is.

Is there a page that covers this aspect of the formatter URL that should be added to our property item?

salgo60 commented 8 months ago

@BobBorges Every user of your data needs to understand the status of a persistent identifier see https://support.datacite.org/docs/tombstone-pages

As I state above I think you also should support landing pages —> we could easily do an integration in the Wikipedia page

image

BobBorges commented 8 months ago

Thanks @salgo60 -- so are these toombstone-pages and url formatter links something we would need to implement, e.g. on https://swerik-project.github.io/? Is it part of wikidata, or some external service? The part I need clarification on is who hosts exactly what?

dpriskorn commented 8 months ago

Hi. Sorry if I was not that clear. I would like you to host 1) wherever you want 2) a webpage or API endpoint which contains information about everything single thing in your dataset e.g. politician 3) using a GUPRI https://www.wikidata.org/wiki/Q115493815

That makes it possible for us to resolve your IDs Link to a resource page or tombstone page as Magnus says.

You can easily generate these pages using any static site generator or use a database and a simple API in front.

BobBorges commented 8 months ago

Thanks @dpriskorn. We'll discuss it in the team and take appropriate action.

BobBorges commented 7 months ago

Done. Just waiting for to merge my PR with htaccess.

salgo60 commented 7 months ago
image