Jump to content

Wikipedia:Meetup/NYC/Artsy ArtAndFeminism

From Wikipedia, the free encyclopedia


Artsy / ArtAndFeminism Edit-a-thon + Wikidata Hackathon will be held Saturday July 8, 2017.

PLEASE GO TO THE DASHBOARD TO SIGN IN


Event information

[edit]

Wikidata resources

[edit]

Outcomes

[edit]

Updating Wikidata with data from Artsy

[edit]

After spending some time familiarizing ourselves with the process of manually creating and editing Items, we moved onto some basic QuickStatement updates.

By the end of the day we were able to enter basic biographical facts from Artsy's CSVs into Wikidata in one fell swoop, by batching up several QuickStatement instructions as follows:

# COMPACT VERSION -- see below for annotated version
CREATE
LAST	Len	"Amina Benbouchta"
LAST	Den	"Moroccan contemporary artist"
LAST	P2042	"amina-benbouchta"
LAST	P106	Q483501	S2042	"amina-benbouchta"
LAST	P106	Q1281618	S2042	"amina-benbouchta"
LAST	P21	Q6581072	S2042	"amina-benbouchta"
LAST	P27	Q1028	S2042	"amina-benbouchta"
LAST	P569	+1963-01-01T00:00:00Z/9	S2042	"amina-benbouchta"

# ANNOTATED VERSION

# create new Item
CREATE

# add a label in English to the last created item
LAST	Len	"Amina Benbouchta"

# add a description in English
LAST	Den	"Moroccan contemporary artist"

# add an Artsy Artist ID
LAST	P2042	"amina-benbouchta"

# add occupation (e.g. artist: Q483501, painter: Q1028181, sculptor: Q1281618, photographer: Q33231)
# and source these statements to Artsy (source 2042)
LAST	P106	Q483501	S2042	"amina-benbouchta"
LAST	P106	Q1281618	S2042	"amina-benbouchta"

# add sex or gender (e.g. female: Q6581072; nonbinary: not in Wikidata yet)
LAST	P21	Q6581072	S2042	"amina-benbouchta"

# add country of citizenship (e.g. USA: Q30, Morocco: Q1028)
LAST	P27	Q1028	S2042	"amina-benbouchta"

# add birthdate (precision: /9=year /10=month /11=day)
LAST	P569	+1963-01-01T00:00:00Z/9	S2042	"amina-benbouchta"


Using pywikibot to update Wikidata

[edit]

We created a PAWS Python script that would take metadata from the CSVs Artsy provided on Genes and added that data to existing Wikidata documents. You can get our bot on GitHub.

This should provide enough structure for further expansion to multiple genes, and recurring uploads.

Sign up

[edit]
Industrious editors.

Due to limited space, please also register at the EventBrite registration page.

To sign up for this event: Log in or create an account.
  • failed projects 19:28, 7 July 2017 (UTC)