[10:18:29] https://www.wikidata.org/wiki/Q9861845 - should this be "country: Estonia" or "country of origin:Estonia" or something else entirely? [10:51:56] reosarevok: I would expect "category combines topics" with "painting" and "estonia" rather than "category's main topic", since that's the inverse of "topic's main category" [10:52:17] Hmm. Ok [10:52:38] Thanks! :) [10:58:45] Good morning :) [11:01:42] it seems we also have "category contains" now, which I guess would be "painting" in this case [11:12:49] morning sjoerddebruin [11:13:09] * reosarevok tries to write another bot based on RDF museum data this time. Fun. [11:13:43] "Luckily" given the amount of items on that category above, I guess I don't need to worry too much about possibly duplicating content... [16:55:18] I want to upload data about Brazilian elections. The federal government in Brazil makes this data available as a csv file. [16:55:53] I want to convert it to RDF and upload it. [16:56:47] If you want to add it to Wikidata, you can just read it out the CSV and add it from there. I ended up doing something like that for coordinates with https://github.com/wikimediaeesti/muinas-data/blob/master/coordinate-importer.py [16:56:56] (probably shit code but eh, it works) [16:57:30] Are there guide lines? Size maybe a concern. How big an upload can be? [16:58:23] You wouldn't be uploading a file to Wikidata, just a lot of statements (kinda-sorta like RDF) [16:58:24] I have my own tool to do that. It adds URIs for some entities. [16:58:39] So in that sense, uploads can be as big as you want I imagine :) [16:59:43] (I'm not sure if the CSV or RDF files themselves would belong somewhere in wikimedia - is commons only for audiovisual? I guess mostly so... I'm not that well acquainted with other projects) [16:59:49] dilvan: you should make sure that you’re allowed to upload the data as well… is there a license on the CSV file(s)? [17:00:31] Lucas_WMDE: heh, I kinda expected WD to operate under the US idea that "factual data = free" [17:00:33] Election data is public. [17:01:25] I’m just saying… I definitely shouldn’t say anything even remotely resembling legal advice while wearing my _WMDE hat :P [17:01:37] haha [17:02:25] Are there guidelines for doing the conversion from RDF? Or about size? [17:02:34] from csv [17:04:08] What kind of data do you have specifically? [17:04:16] What kind of election information? [17:04:30] Votes per party per district kind of thing? Per candidate? [17:04:54] anyways, I don’t think RDF is usually used for data imports… Wikidata can export to RDF, but it’s not the native data format [17:09:33] Basically I'd expect you'd need a bot (probably pywikibot based?) that adds a statement at a time from the data [17:09:38] ... oh, ok :( [17:31:31] reosarevok: we can upload csvs to commons, and there's a few properties for it - https://www.wikidata.org/wiki/Special:ListProperties?datatype=tabular-data [17:31:36] nothing that would've helped there though