query-93fa6ce4789b6a28c829cf0575331bd7

rq turtle/ttl

Article19:24, 12 December 2018 (UTC) Jura, I used "list" for most of them. Not sure if that is ideal. --- Help:Import NBD from enwikisource/lists/other pagesAt 19:02, 12 December 2018 (UTC)) talk (Pyfisch? --(Q191067)article (P31)instance of does not fit. Maybe just (Q19389637)biographical article (P31)instance of that are not about a person? wikisource::de::BLKÖ:Alphabetisches_Namen-RegisterWhat is the correct claim for pages like 19:24, 12 December 2018 (UTC) JuraI think it should be possible with Mix'n'Match (ID would be QID of the WS page item), but last time I tried, I think Magnus ended up banging his head against a wall ;) . If the bulk can be matched and the remaining ones can be created with DOB/DOD, it shouldn't be much of an issue. --- 19:02, 12 December 2018 (UTC)) talk (PyfischI can try to gather some data with regular expressions. But I am certain that some manual work will be needed. Then I can create items for the missing persons. Do you know how well tools like Mix'n'Match or OpenRefine work for this? -- 16:49, 12 December 2018 (UTC) Jura. If you can gather some data from the articles, maybe you could create P921 for any missing ones. You could set English label the same as the one suggested above. --- (P921)main subject , and if possible, (P1433)published in . The ones that are probably most important, are the English language description (to avoid confusion with items about person), P31, Wikidata:WikiProject DNBThanks for looking into this. There is an outline for a similar one at 22:29, 11 December 2018 (UTC)) talk (Pyfisch but it feels different, so probably add it to the items) --(P478)volume ? (this also applies to (P1433)published in if this information is stored by the item in (P577)publication date do we need otherwise without badge fertig equals if (Q20748093)validated with badge korrigiert equals if (Q20748092)proofread with badge unkorrigiert equals if (Q20748091)not proofread with badge interwiki-link to article (Q19652)public domain (P6216)copyright status needs imported from WikiSource(P1922)first line (the template only contains the first page but some articles span multiple pages)imported from (P304)page(s) imported from (P478)volume Items for different volumes need to be created with correct statements and derived from (P1433)published in )imported from (P156)followed by ( )imported from (P155)follows ( inconsistencies will be reported the unique item with the same if it is setthe item from if it is setthe item from ) matching item(P921)main subject ( prefixBLKÖ:title without (P1476)title (Q665807)Biographisches Lexikon des Kaiserthums Oesterreich (P361)part of (Q19389637)biographical article (P31)instance of entry in the Biographisches Lexikon des Kaiserthums Oesterreich: Englishdescription in Artikel im Biographischen Lexikon des Kaiserthums Oesterreich: Germandescription in this follows the example of the Allgemeine Deutsche Biographie Boni, Giannantonio (BLKÖ) becomes BLKÖ:Boni, Giannantonioexample added (BLKÖ) prefix but with suffix BLKÖ:: title without Germanlabel in . It contains all BLKÖ articles with GND, Bearbeitungsstand etc. The articles are linked based on the stated GND, Wikipedia and Wikisource articles, if there was a conflict multiple Q-numbers are given. I also searched for items linked to the article and unfortuanly found many that describe the person instead the of the text (they will need to be split). The last four columns state the date/place of birth/death from the text. The dates vary in accuracy:data exportI've made a preliminary BLKÖ knows the person was dead but does not know when he/she died? before dates describes "Mitte" middle ofM before dates describes "Ende/letzte Tage" end ofE before dates describes "Anfang/erste Tage" start ofA before describes dates stated as "nach 1804"> before date describes imprecise dates~ year-month-day, year-month, only yearThe places will need to be manually matched to Q-items. The first column contains some metadata about the kind of page. There are: : corrections, NachträgeN : note about names and alternate spellingsH : PreludeP : Cross ReferenceR : Family, Wappen, GenealogieF : ListeL : Personempty 22:14, 18 December 2018 (UTC)) talk (Pyfisch: Do you like it? This is just for viewing, a later version will be editable to make manual changes before the import. --Jura1Each group should get a distinct is-a property. @07:16, 10 July 2019 (UTC)) talk (M2k~dewiki: thanks a lot for your proposal! Are there any plans to realize this? --Pyfisch@ 13:02, 16 January 2019 (UTC)) talk (Pintoch could be useful to do this matching. − OpenRefine: maybe Pyfisch@ 16:07, 22 December 2018 (UTC)) talk (Pyfisch. Updated the exported data. The sheet "articles" is already cleaned up. But I need help to match the ~4000 place names in the sheet "places" to Wikidata Q-Items. --editable data export 14:05, 20 December 2018 (UTC) Jura that attempts to summarize how to add incomplete dates. --- Help:DatesI like the approach. BTW, there is 09:07, 11 July 2019 (UTC)) talk (Pyfisch: Yes, the data is already prepared for the import, but I have not gotten around to writing an import script, getting approval and running the script. --M2k~dewiki@21:19, 26 March 2020 (UTC) JuraIf not done yet, I will try to import them. --- 12:24, 19 July 2019 (UTC) JuraYou could do the upload with QuickStatements --- : Jura1Hello @, also the documents above ("data export") already have been deleted on Google Docs). Topic:Vg5y62e08pcorztk and the user who wrote the initial proposal did not reply anymore archived in January), since I did not want to create them manually anymore for every newly created article in the German wikipedia, which references to an entry from BLKÖ (and this proposal from 2018 has been already example (from overall 60) a few days ago with Petscan (Kategorie:BLKÖ:Band 12 to Kategorie:BLKÖ:Band 1I started to create the wikidata objects for , which only worked in a few cases. Vorlage:BLKÖ) harvesting from example to add the references (Harvest ToolsI also tried to use 17:21, 27 March 2020 (UTC)) talk (M2k~dewiki, ...), to convert/merge data, or to prepare statements for Quickstatements, for example. --https://query.wikidata.org/sparql, but I did not find any comment, which tools or techniques have been used. Besides from Quickstatements, HarvestTools, PetScan, I sometimes use external (PERL) scripts, in order to harvest information (e.g. using WWW::Mechanize, responses from Wikidata:WikiProject DNBHow would you do the cross-referencing of the two items? Which tools would you use? I also checked Yeah, I should have follow through with this earlier. I think PetScan should do. You could also create a QuickStatements for new items.00:23, 28 March 2020 (UTC) JuraMxM would probably be ideal, but Magnus would need to do a few adjustment for it to work. If you work with Openrefine, that might be an alternative. For entries where we can get dates, it might fairly straightforward to just create them and merge a few duplicates. --- to parse the categories and extract the bibliographic information from the infobox on each article page and create import files for QuickStatements.python script. There we have now more than 13,000 fully qualified bibliographic items on Wikidata. For this purpose i have written a Die Gartenlaube:, thanks for starting again to bring some attention on this interesting and important project on deWikisource linking with Wikidata. I'm already maintaining another big project on deWikisource linking to Wikidata - M2k~dewikiHi @BLKÖ is already on my todo-list, unfortunately time is running... The above presented data model looks very good to me, i only have some suggestions (from a librarian's perspective): ;-) we shouldn't use in bibliographic context (Q665807)Biographisches Lexikon des Kaiserthums Oesterreich (P361)part of therefor (but that's not obligate, because these information exists as main statements too)(P304)page(s) and (P478)volume with additonal qualifiers for (Q665807)Biographisches Lexikon des Kaiserthums Oesterreich (P1433)published in BLKÖ (Add a section on German WikiSource to inform the community about this ongoing discussion here: 21:59, 28 March 2020 (UTC)) talk (Mfchris84If i have some time within the next few days i could point my script to BLKÖ and make some imports as example for further discussions. --22:07, 28 March 2020 (UTC) Jura. I suppose we could get that to work. --- [6]Yes, P1433 does look better. Feel free to move ahead as you prefer. If you create them with QuickStatements, it would have the advantage that everything gets done in one edit. BTW, I just came across an experiment I did with MxM a while ago : Jura1, Mfchris84Hello @): User:M2k~dewiki/Tools#Project_BLKÖcurrently there exist about 8.200 objects for BLKÖ (approx. volume 1 to 16 out of 60), where about 300 have a cross-reference yet (Objects with crossreference Objects without crossreference All ObjectsToday I wrote a program which can cross-reference objects based on the GND. Examples: 22:30, 28 March 2020 (UTC)) talk (M2k~dewiki --d:Q1525727 and d:Q88549791 d:Q114618 and d:Q88549769 d:Q70516 and d:Q8854974922:39, 28 March 2020 (UTC) Jura. Could make things easier. --- (P1922)first line Sounds good. I was wondering if we would want to import 22:53, 28 March 2020 (UTC)) talk (Mfchris84, so we had also to add copyright status. i add both statements in the model above. --(Q27134764)Schmid, Anton (Musikschriftsteller) (BLKÖ) that's a great idea! i made an example here: (P1922)first line :, Jura1Hey @ to have a "fully qualified" item for biographic encylopedial article. (Q88549749)Anschütz, Heinrich (BLKÖ) :, thanks for these queries, they are very useful. I made some edits on Jura1, M2k~dewiki@ 22:47, 28 March 2020 (UTC)) talk (Mfchris84Do we have a consensus about the structure of the labels? I really would prefer to add BLKÖ in the label to have an easy difference between the biographical item and the BIBLIOgraphical item. This could be especially for automatically reconciliation processes like in OpenRefine very useful to avoid that people starting adding biographical identifiers to the enyclopedical items from BLKÖ instead to the biographical items. What are your opinions on this question? --Some other useful queries for updating the existing items: Items without Title-Statement Items without Page(s)-Statement Items without Volume-Statement 22:52, 28 March 2020 (UTC)) talk (M2k~dewiki. --d:Q27568759 would be similar to the ADB entries, for example d:Q88549769: the label structure Jura1, Mfchris84@22:59, 28 March 2020 (UTC)) talk (Mfchris84in a certain way this looks good for me, i have my doubt that don't have the encylopedia abbreviation in the label directly some bot scripts or reonciliation process with less attention will match these bibliographic items to some biographical facts which should be stored in the biographical item on Wikidata - but that are things we could fetch with ShapExpressions later on! -- 22:57, 28 March 2020 (UTC)) talk (M2k~dewiki: is your script also able to do all or some of the other steps, like creating the entries (currently done with petscan, might take several days or weeks) or adding the cross-references ? --d:Q88549749: regarding Mfchris84@23:02, 28 March 2020 (UTC)) talk (Mfchris84: of course my python script is also able to do cross-referencing based on the given wikipedia-links or gnd-ids in the infoboxes on wikisource page. e.g that's also the way how i add main subject statement for Gartenlaube articles, because Wikisource-editors add main subjects on WikiSource-Pages with Wikipedia-Links. Unfortunately i need some time to point my script against BLKÖ. But then i can do both, create new items and update all the existing items. --M2k~dewiki@23:01, 28 March 2020 (UTC) Jura.) --- [7]Personally, I tend to agree with Mfchris84, especially as I had to cleanup several 10,000 of DNB entries that kept getting mixed up. (i.e. I prefer the earlier version of ADB 23:03, 28 March 2020 (UTC)) talk (Mfchris84i would also prefer this way. with a suffix in parenthesis it also don't look that bad as with these namespace-like prefix as it as structured in Wikisource. --23:16, 28 March 2020 (UTC) Jura. --- (P478)volume (for a specific volume)? I suppose we could link them later with a qualifier from (Q66809342)Biographisches Lexikon des Kaiserthums Oesterreich volume 26 What shall we do with items like with qualifiers and references. What do you think about this item? I think, we could go forward this way; in a "second round" all items could get improvement like Q1163609#P1343 (P1343)described by source by QuickStatements. Improvement i see is needed for follows/followed by. But that's would be in a second round even better, because in the first round for all items without a wikidata-item these links won't be set neither. My script also added on biographical item the (Q88911969)Majláth von Székhély, Joseph (II.) Graf (BLKÖ) is now able to create items like gitlab.com/blkoe: - ok, four hours of coding, i think i have some first approach create some good items for BKLÖ. My script Jura1, M2k~dewiki@adding follows/followed by (which needs that all items are created) missing main subject (and its cross-reference on the biographical item - but maybe M2k~dewiki will do this which his/her script?) missing volume/page statements 01:52, 29 March 2020 (UTC)) talk (Mfchris84-- 02:05, 29 March 2020 (UTC)) talk (M2k~dewiki: looks good to me, please go ahead. Thanks a lot! --Mfchris84@ - i know this happend to the petscan import, which can't deal with such constraints. What would be a good model for such a "Verweis"?(Q88898002)Lubomirski, Georg Fürst (Verweis) (BLKÖ) . We should prevent to create items like (Q88893826)Lubomirski, Georg Fürst (BLKÖ) BLKÖ:Lubomirski, Georg Fürst which only stated a different name for the encyclopedic article there (Q88898002)Lubomirski, Georg Fürst (Verweis) (BLKÖ) BLKÖ:Lubomirski, Georg Fürst (Verweis): Thanks, i will go ahead with my approach. One point we have to discuss, are how shall we deal with the huge amount on "cross-references" within the encyclopedia. Like Jura1, M2k~dewiki@--06:27, 29 March 2020 (UTC) * description change to "cross-reference to an entry in the [BLKÖ]" * Adding Volume and Page information, and also follows/followed by links like it is given in the encyclopedia. Link to the biographical article.(Q88893826)Lubomirski, Georg Fürst (BLKÖ) (P460)said to be the same as (Q1302249)cross-reference (P31)instance of * in the following points:(Q88898002)Lubomirski, Georg Fürst (Verweis) (BLKÖ) I modified 06:54, 29 March 2020 (UTC) JuraFor cross-references, main subject could be used to point to the other article. P460 isn't generally used as a qualifier. HarvestTemplates could be used to set follows/followed by, if there is interest. The main advantage of cross-reference items is that we wont miss pages. It's up to you how much detail you want to add into them, if any. --- Good point. with the "LAST" term. So there a self-referencing statements now. (P1343)described by source During my first QS-BatchJob, a problem occurs adding

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT * WHERE {
  ?item p:P1343 ?descStmt.
  ?descStmt ps:P1343 wd:Q665807;
            pq:P805 ?item.
  ?blkoArticle wdt:P1433 wd:Q665807;
               wdt:P921 ?item.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?blkoArticle"):::projected v2("?descStmt"):::projected v1("?item"):::projected c3(["wd:Q665807"]):::iri v1 --"p:P1343"--> v2 v2 --"p:statement/P1343"--> c3 v2 --"p:qualifier/P805"--> v1 v3 --"p:direct/P1433"--> c3 v3 --"p:direct/P921"--> v1