This PR adds an additional field to the PrefixExpansion class that can be optionally annotated with the source from which the class was instantiated. This is then used during the Context.combine() function such that when the merged and merged.oak contexts are generated, each record gets annotated with the simple context from which it came.
This PR also runs the ETL pipeline to regenerate the merged prefix maps, now with the sources annotated in the merged files. The new source column does not affect reading in any way.
Interestingly, this sheds some light on #49 - now we know that the WIKIDATA prefix comes from the Bioregistry and wd from Prefix.cc.
Closes #51
This PR adds an additional field to the
PrefixExpansion
class that can be optionally annotated with the source from which the class was instantiated. This is then used during theContext.combine()
function such that when themerged
andmerged.oak
contexts are generated, each record gets annotated with the simple context from which it came.This PR also runs the ETL pipeline to regenerate the merged prefix maps, now with the sources annotated in the merged files. The new
source
column does not affect reading in any way.Interestingly, this sheds some light on #49 - now we know that the
WIKIDATA
prefix comes from the Bioregistry andwd
from Prefix.cc.