Open main menu

User talk:Davidpar

About this board

Previous discussion was archived at User talk:Davidpar/Archive 1 on 2015-12-02.

Airon90 (talkcontribs)
Davidpar (talkcontribs)
Reply to "Difference"

Reminder: Community Insights Survey

1
MediaWiki message delivery (talkcontribs)

RMaung (WMF) 19:53, 20 September 2019 (UTC)

Reply to "Reminder: Community Insights Survey"
MediaWiki message delivery (talkcontribs)

RMaung (WMF) 17:37, 10 September 2019 (UTC)

Reply to "Community Insights Survey"
Tomukas (talkcontribs)

Hi @Davidpar, sorry, I was activating the new discussion system on my user page. The discussion got slightly lost. Yes, I've seen that they are missing. I was planning to do this, nonetheless, I still need to reconcile the data of the 12th legislature during the next days. It's more or less my first time updating a bigger dataset - I was not expecting it to be so much work ;-) I'll let you know as soon as it's done.

One question that I have been asking in the #wikidata channel already: How can I avoid to have duplicate statements with external tools if I'm updating a qualifier like "end time", so far I'm using OpenRefine to update the data. The example for the 12th legislature is: they all have the statement about this legislative period and I just want to update one qualifier. Thank you, --Tomukas (talk) 20:03, 21 August 2019 (UTC)

Davidpar (talkcontribs)

Hmmmm I have never used this kind of tools. I only used QuickStatement wiht a Excel spreadsheet:(

Tomukas (talkcontribs)

I can export QuickStatements, too. My problem is: There is already data about the legislature period, when I'm updating it, I either have:

  • two statements for the 12th legislative period (the old one and my new one) - so I have to delete the old one, which I want to avoid.
  • If I'm working with QuickStatements, my new data is messing up another legislative period of the object.

Do you have an idea how I could update/extend an existing statement of a politician which gives information about the 12th legislative period. I simple try to avoid having to manually delete duplicate information. Thanks in advance!

Tomukas (talkcontribs)

Hi @Davidpar, after some technical problems, I'm back working on it. As most of the data seems to be complete, I'll try to check most if it manually. It's going to take a few days ;-)

Davidpar (talkcontribs)

I saw it! Thank you very much :D

Reply to "12th legislature"
Arpyia (talkcontribs)

Hello Davidpar,

I see you noticed me talking to User:Tomukas after seeing them on your talk page. I just wanted to tell you that I sometimes have a look at what you (and others!) do, and it's just because I find your work interesting. I used to create articles about Catalan politics on French Wikipedia. I hope this does not come to you as rude; I don't mean to be and I won't mess with your edits!

Best regards, ~~~~

Davidpar (talkcontribs)

No problem, I understand it! I wanted to thank your comment giving a hand about massive update :))

Reply to "Watching you"
Tomukas (talkcontribs)

Hi @Davidpar, I'm trying to update the current deputies of the congress. I've seen you have created Q61744692 . My question now: what's exactly the difference to Q48834963 and can they be merged? Thank you!

Davidpar (talkcontribs)

It's something that is done also in previous Spanish general elections wiht @Asqueladd:. The scheme is: General elections have two subclasses of elections: elections to the Spanish Congress and elections to the Senate (ex: Q61744680). For intance, a politician can be the #1 list candidate of a party in the elections of the Congress, and not in the Senate.

Asqueladd (talkcontribs)

Hi. While vis-à-vis election/votes data should ultimately be stored through items for individual constituencies, the general "election to the Congress/election to the Senate" scheme (while fitting in any case) also allows to store total data (for votes) and also (temporarily) constituency data when there are no constituency-deep items (for example regarding candidates standing for a election, using electoral district (P768) as qualifier for any target for candidacy in election (P3602)). In any case, I must point out a (potential) discrepancy. There is some problematic overlap with some French language Wikipedia articles (titled as "XXXX general election in Y constituency), of no use for wikidata, me thinks. Given their current state (they just deal with the election to the Congress) I cannot do anything but recommend renaming them buuuut, you know that meanwhile as far as something has a Wikipedia entry, their notability as item is presumed. I tried to disentangle those from the "XXXX Congress of Deputies election in Madrid" es:wikipedia articles (as someone merge them), but the best way to procceed should probably just ask for renaming in the local wikipedia to refer to the Lower House. @Tomukas

Tomukas (talkcontribs)

Thanks for the explanation. I'll try to take this into account when updating them.

Reply to "2019 Spanish general election"
Asqueladd (talkcontribs)

No tengo claro que sea una cuestión fácil de resolver y supongo que habría que pesar ventajas e inconvenientes. Por una parte parece que esos ítems "de período amplio" están referenciados con fuentes fiables. Pero tiene también su lógica atar las circunscripciones a algo concreto que ha sido tratado como algo concreto por fuentes fiables (Cortes de la Restauración (Q22284487)). Hay por otra parte también una estructura de categorías en el segundo sentido (Q27613000). Las circunscripciones de período corto desde luego serían una subclase de las de "período largo", siempre que a las primeras se les pudiera considerar una clase de algo.

Davidpar (talkcontribs)
B25es (talkcontribs)

Entre 1874 (la web del Congreso considera que es en 1874 cuando empiezan las Cortes de la Restauración, aunque la Constitución es de 1876) y 1923 los distritos electorales fueron bastante estables, aunque no totalmente. No he conseguido encontrar un lugar donde enumere los cambios. Los distritos de la época final, desde que se amplió el sufragio en 1890 hasta 1923, sí que son estables y fáciles de encontrar. Por ejemplo en el tomo 21 de la Espasa se listan todos. Pero los distritos iniciales no los tengo a mano. Es posible, casi seguro, que se crearan y suprimieran varios distritos, especialmente en el s.XIX.

Reply to "Respuesta"
Trade (talkcontribs)

Hey, i have trouble figuring QuickStatements out and i was wondering if you could kindly help me?

Davidpar (talkcontribs)
Trade (talkcontribs)

I spend a couple of hours trying to go through the guide but no matter what QuickStatements just keep making items with no name or properties. I guess the guide is just too technical for me.


So here's the question: If i wanted to create an item called John Doe with instance of set to human and gender male what exactly would i have to write into QS and where do i have to press to get the item created?

Davidpar (talkcontribs)

Hello! I am not a technician nor an expert in QS. What I do is write it in columns in an Excel. Then you have to copy the cells in the space of QS. I hope to help you.

Trade (talkcontribs)

Unfortunately i haven't bought Excel /:

Reply to "QuickStatements"
Moebeus (talkcontribs)

I've noticed you're creating name items - have you seen namescript.js by @Harmonia Amanda ? If you're not familiar, it's great little script that helps with adding labels and descriptions in a bunch of languages - add to your common.js and name creating goes a lot faster.

que tinguis un bon dia,


m.

Davidpar (talkcontribs)

Ok, I'll try! Thanks

Moebeus (talkcontribs)

importScript('User:Harmonia_Amanda/namescript.js');


Davidpar (talkcontribs)

Did I do something wrong?

Moebeus (talkcontribs)

Not sure what you mean by that, but to try it out you go to User:Davidpar/common.js and add the line

importScript('User:Harmonia_Amanda/namescript.js');

See my common page for reference: User:Moebeus/common.js (I have a lot more scripts, but the namescript.js is number three from the top.



Davidpar (talkcontribs)
Moebeus (talkcontribs)

cool! Did it work?

Davidpar (talkcontribs)
Moebeus (talkcontribs)

Nice! Have a great day buddy, looking forward to lots more Catalan names!

Davidpar (talkcontribs)
Harmonia Amanda (talkcontribs)

It's because we use the most generic writing system, in this case Latin script (Q8229). And we use "mul" (for multinligual) for all names existing in several languages, which is the case for most, if not all, Latin-script names. The languages must be listed in language of work or name (P407). So no, I won't add the Catalan alphabet.

Davidpar (talkcontribs)
Harmonia Amanda (talkcontribs)

Yes, but the names items should use Latin script (Q8229), not Catalan alphabet (Q610822) as value, so I won't add a value which is not expected on names items. It's actually a good way to spot the wrong writing system had been used ('wrong' not as in 'false', obviously, but as 'unexpected in this case').

Moebeus (talkcontribs)

What I do, when a name is using special characters only present in a specific alphabet, is I first run the name script with the more generic alphabet (Cyrillic/Latin, etc), then I change the alphabet to the specific writing system afterwards. Not a fix, but a workaround.

Harmonia Amanda (talkcontribs)

That can work for the Belarussian writing system for example, which has letters not belonging to any other writing system. But the Catalan alphabet has all its letters shared with other writing systems based on the Latin alphabet, so there is no name case where it should be used.

Davidpar (talkcontribs)

Ok, thanks!

YoaR (talkcontribs)
Return to the user page of "Davidpar".