Adding compounds

From Chemical Compounds of Interest
Revision as of 06:06, 21 December 2022 by Egonw (talk | contribs) (Created page with "Compounds can be added with a Groovy script using [https://github.com/egonw/bacting Bacting] available from [https://github.com/egonw/ons-wikidata/blob/master/Wikidata/createWDitemsFromSMILES.groovy here]. The script needs to know the properties equivalent to a number of Wikidata properties. It can discover these using the 'exact match' (P11) property that links properties in this Wikibase to their respective properties in Wikidata. <pre> groovy createWDitemsFromSMILES....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Compounds can be added with a Groovy script using Bacting available from here. The script needs to know the properties equivalent to a number of Wikidata properties. It can discover these using the 'exact match' (P11) property that links properties in this Wikibase to their respective properties in Wikidata.

groovy createWDitemsFromSMILES.groovy -w https://compoundcloud.wikibase.cloud/ -a P11