2023-03-12

This is PMAS's COMMONS Lab daily Open Notebook.

Today is 2023.03.13

Todo today

Have a look at the COMMONS research discussion forum

- https://github.com/orgs/commons-research/discussions

Doing

Paused

Done

Notes

Todo tomorrow, one day ... or never

Today I learned that

  • I could (or couldn't) tune the wikipedia hyperlinker to link wd entries

See erythromycin

France

Erythromycin

Aspirin

Salix alba

Salix alba

Q1

Q1

universe

Trying to adapt the wikipedia VScode extension so it handles wd also

Original url

https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Erythromycin&props=descriptions&languages=en&format=json

https://en.wikipedia.org/w/api.php?format=json&action=query&prop=info|extracts&exintro&explaintext&&inprop=url&redirects=1&titles=Erythromycin

Modified

https://www.wikidata.org/w/api.php?format=json&action=query&prop=info|extracts&exintro&explaintext&&inprop=url&redirects=1&titles=Erythromycin

https://www.wikidata.org/w/api.php?format=json&action=query&prop=info|extracts&exintro&explaintext&&inprop=url&redirects=1&titles=keanumycin

https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Erythromycin&props=descriptions&languages=en&format=json

Keanumycin

Keanumycin A

Q116980169

Keanumycinn](https://www.wikidata.org/wiki/Q116980169 "class of chemical compounds")

aspirin

Aspirin

Keanumycin

Q18216

Q18216

Q18216 Q18216 Q18216

Q18216

Cryptocarya chartacea

https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Q156918&language=en

https://www.wikidata.org/w/api.php

https://www.wikidata.org/w/api.php?action=wbgetentities&props=claims&ids=Q116980169&format=json

https://www.wikidata.org/w/api.php?action=wbgetentities&props=claims&ids=Q213511&format=json

found%&in%&taxon

"found in taxon"

Worked at https://github.com/oolonek/vscode-wikipedia-hyperlink