Comments (5)
The closest examples I can think of are ones like Norway, where some people have a 'role' set to Q67205869, e.g. https://www.wikidata.org/wiki/Q17107262#Q17107262$0b21a445-4cad-4739-cb24-2737a48635e0 or the UK's House of Lords, with four different types of member: https://w.wiki/4WYw
I suspect the easiest approach for Sweden would be to do likewise, with a relevant P2868 qualifier on the P39 statement.
As for this repo, its goal is compare whatever is in Wikidata with whatever can be fetched from the official API. Both sides of that are customisable: the only thing that matters is producing outputs that should be the same. I'm happy to adjust either if there's a better way to do things or there are more fields that you want to check.
from sweden-riksdag-api-current.
Hi @salgo60
1: I don't understand the question. What is the 'this' referring to?
2: The SPARQL here seems fairly straightforward to me. (And, of course, it's tailored specifically to the use-case here of generating a diff against an external source, not just of getting a list of members.) How would you propose making it simpler?
3: I'm afraid I don't understand this question either. Can you explain it further?
from sweden-riksdag-api-current.
Hi
A try to explain the status, the SPARQL we skip.
The "status" is an explanation why you are one of 349 people in the parlament
Below some of the status you can have and my question is do you have this for other countries? I think we should have this title/status also in the Swedish Wikipedia article --> if the Swedish community agree about that then we need we need to have this "status" in Wikidata somehow....
- Tjänstgörande riksdagsledamot is the normal. You are selected in the election to be part of working in the PM
- Tjänstgörande ersättare is that you are not one of the 349 but you are a substitute if something is happening to on ordinary PM (like when one ordinary is on "sick", "paternity leave", "an ordinary is selected as a minister" ..... Tjänstgörande --> that you are now ordinary because an ordinary has left
- Tjänstgörande statsrådsersättare you are a substitute but now ordinary because one person has left to be a minister
- Förste vice talman (tjänstgörande riksdagsledamot) you are a substitute but now ordinary because one person is selected to be the first speaker
- Andre vice talman (tjänstgörande riksdagsledamot) same as above but for the second speaker
- Tredje vice talman (tjänstgörande riksdagsledamot) same as above but for the third speaker
*...
- In the Swedish Parlament we have 349 people who can be part of voting
- The open data has one URL for all (getting 2030 people) and one URL for getting the 349 people that are selected to be part of the parlament and can vote
- The field I speak about is personlista/person/status some examples
- Q4887285 has in the API status = Tjänstgörande statsrådsersättare which is substitute for a minister. If you look in the Html view from the parlament it is displayed.
from sweden-riksdag-api-current.
Excellent thanks sound like a way forward I will check with the sv;Wikipedia community what they think
Do you have any good example of Wikipedia templates that extracts those values and present them in an article...
from sweden-riksdag-api-current.
no action right now --> close this
from sweden-riksdag-api-current.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweden-riksdag-api-current.