Page MenuHomePhabricator

Instructions for continuing contributing to ADSBot English Statement
Closed, ResolvedPublic

Description

There's an incomplete bot request "ADSBot English Statement". Code 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" 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 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 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" 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 once you get it done.

@Feliciss

Event Timeline

Feliciss renamed this task from Instructions of continuing working on ADSBot English Statement to Instructions for continuing working on ADSBot English Statement.Aug 24 2022, 9:44 AM
Feliciss renamed this task from Instructions for continuing working on ADSBot English Statement to Instructions for continuing contributing to ADSBot English Statement.Aug 24 2022, 10:16 AM

I believe this task is related to your Outreachy project. Could you ensure any relevant information gets documented here https://www.mediawiki.org/wiki/Outreachy/Past_projects? Also, if there isn't anything else remaining in this task, please help close it and move any pending items to a separate one. TY!

@Afi570 This was R24, it's not relevant for R25. Please could you move it back?