Feliciss created this task. Feliciss added projects: Outreachy (Round 24), Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION There's an incomplete bot request "ADSBot English Statement <https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/ADSBot_English_Statement>". Code <https://github.com/outreachy-wasian/wasian/blob/main/wasian/sparqlwrapper/surname/values_from_ads_to_paper_on_wiki.py> on adding missing statements to articles on Wikidata was halfway done. I welcome anyone interested in continuing this work. First of all, let me explain what I want to achieve with this bot request. In another bot request "ADSBot English Paper <https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/ADSBot_English_Paper>" I've filled out, I use the bot to create articles from scratch. Then I simply get the article data from ADS and add them to Wikidata. This bot request, ADSBot English Statement is to finish the second part by simply getting article data from ADS and adding them to existing scholarly articles on Wikidata. Here's a script <https://www.wikidata.org/wiki/User:Feliciss/Sample_code_to_get_data_from_ADS> on how to get the article data from ADS. To complete the task, I also need to find how many scholarly articles exist on Wikidata. To achieve this, I use the Wikidata Query <https://query.wikidata.org/#%23search%20all%20articles%20that%20include%20P819%0ASELECT%20DISTINCT%20%3Fvalue%0AWHERE%0A%7B%0A%20%20%3Fitem%20wdt%3AP819%20%3Fvalue%0A%7D%20group%20by%20%3Fvalue> to get all the articles with ADS bibcode qualifier. You might notice that by using an output value from the Wikidata Query and replacing it with the "bibcode" value in the script code, you can get the entire article data from ADS. For example, using "1980AcAau...7..699S" as the bibcode value, I can get an output: year 1980 volume 7 title ['PERUN—Space shuttle external tank used as a space station'] reference ['1978SpFl...20...60B', '1978SpFl...20..110B'] read_count 1 pubdate 1980-00-00 pub_raw Acta Astronautica, Volume 7, Issue 4, p. 699-717. pub Acta Astronautica property ['ARTICLE', 'ESOURCE', 'REFEREED'] page_range 699-717 page_count 19 page ['699'] orcid_pub ['-', '-', '-', '-', '-', '-', '-'] issue 4 issn ['0094-5765'] indexstamp 2022-08-22T20:36:29.871Z identifier ['1980AcAau...7..699S', '10.1016/0094-5765(80)90053-3'] id 4213108 first_author_norm Svoboda, T first_author Svoboda, T. esources ['PUB_HTML'] entry_date 2013-10-23T00:00:00Z doi ['10.1016/0094-5765(80)90053-3'] doctype article date 1980-01-01T00:00:00Z database ['physics'] copyright (c) 1980 Elsevier Science B.V. All rights reserved. classic_factor 1505 cite_read_boost 0.15 citation_count 1 citation ['2022AcAau.191...88B'] bibstem ['AcAau', 'AcAau...7'] bibcode 1980AcAau...7..699S author_norm ['Svoboda, T', 'Svitek, T', 'Vackar, J', 'Kirschner, M', 'Barta, J', 'Urban, M', 'Vitek, K'] author_count 7 author ['Svoboda, T.', 'Svítek, T.', 'Vackář, J.', 'Kirschner, M.', 'Bárta, J.', 'Urban, M.', 'Vítek, K.'] aff_id ['-', '-', '-', '-', '-', '-', '-'] aff ['Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia', 'Observatory and Planetarium of Prague, 170 00 Praha 7, Czechoslovakia'] abstract This paper describes the results of a study project which has been conducted by a Student Working Group for Astronautics of the Planetarium of Praha. It deals with the possibility of converting an expended Space Shuttle External Tank into a space station, a permanently manned orbital facility. The space station was designed economically by using much off-shelf hardware developed for earlier space projects. It is compatible with the Space Transportation System which will operate in the 1980s. It is proposed that mission dependent experimental equipment be carried aboard Spacelab modules which should be exchanged during periodic revisits by the Space Shuttle. The key functions of the proposed space station are discussed, such as power supply, thermal control, trajectory corrections, logistics, etc. In our project we have arrived at a Space Station carrying a permanent crew of 8 people, orbiting the Earth at an altitude of 390 km, resupplied by STS every 80 days. Then, simply match the key "volume" from the output with a corresponded property key "volume <https://www.wikidata.org/wiki/Property:P478>" on Wikidata, and add the value "7" to that article, which contains a bibcode "1980AcAau...7..699S". You've got this! Likewise, get other keys from output matching to the properties on Wikidata. If there's no such property that existed on Wikidata, simply skip it. Write a code looping all the values of bibcode that existed on Wikidata using the above Wikidata Query and fill them to the value of the bibcode variable in the ADS python client, and add each key and value to the existed articles on Wikidata if such the key is missing. That's all the instructions on how to continue working on ADSBot English Statement. If you don't understand or something getting you stuck, feel free to contact me or leave your messages here. I look forward to your contribution! You can notify me to give you permissions to the bot, ADSEnglishBot <https://www.wikidata.org/wiki/User:ADSEnglishBot> once you get it done. @Feliciss TASK DETAIL https://phabricator.wikimedia.org/T316089 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Feliciss Cc: Aklapper, Pigsonthewing, Mike_Peel, Feliciss, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Karma2902, Akuckartz, Nandana, Lahi, Gq86, contraexemplo, GoranSMilovanovic, QZanden, Xephyr826, Miriya52, srishakatux, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org