Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Missing URL to lookup SWERIK politician ID #426

Closed
dpriskorn opened this issue Nov 30, 2023 · 10 comments
Closed

Missing URL to lookup SWERIK politician ID #426

dpriskorn opened this issue Nov 30, 2023 · 10 comments

Comments

@dpriskorn
Copy link

dpriskorn commented Nov 30, 2023

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
Copy link
Contributor

salgo60 commented Nov 30, 2023

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
Copy link
Collaborator

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

@salgo60
Copy link
Contributor

salgo60 commented Nov 30, 2023

@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
Copy link
Collaborator

@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
Copy link
Contributor

salgo60 commented Dec 11, 2023

@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
Copy link
Collaborator

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
Copy link
Author

dpriskorn commented Dec 11, 2023

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
Copy link
Collaborator

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

@BobBorges BobBorges mentioned this issue Jan 9, 2024
@BobBorges
Copy link
Collaborator

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

@salgo60
Copy link
Contributor

salgo60 commented Jan 17, 2024

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants