I'm looking for ways to get the following workflow going:
- Check Wikidata items for cases where there is a PMID (P698) but no "main subject" (P921)
- When such an item is found (let's call it QA here):
- get the MeSH terms associated with that PMID and for each of them
- look up the Wikidata item corresponding to the MeSH term (via P486)
- set P921 of QA to QB
Would this be something that could be fit into GeneWiki workflows?