EdwardBetts / depicts

Wiki Art Depiction Explorer
https://art.wikidata.link/
GNU General Public License v3.0
4 stars 3 forks source link

"not in db" message for existing depicts statements #4

Closed fuzheado closed 4 years ago

fuzheado commented 4 years ago

Looking at: https://art.wikidata.link/item/Q29383733 (It's not a painting, but I tried it anyway.)

Somehow the list of existing depicts statements says:

this painting has 1 existing depicts statement not in db (Q171023) — 0 paintings

But the Q item does have an English label:

Trebonianus Gallus (Q171023)

EdwardBetts commented 4 years ago

The depicts tool includes a database of items that have been used as depicts statements in paintings. The message 'not in db' means this item had never been used with a painting.

I've changed the code so it will download the depicts item and add it to the database.