Closed cthoyt closed 1 year ago
From url.py -> inject_metadata_into_df()
You can get types using schema['slots'][**name-of-slot**]['range']
gives you the type of the slot.
For e.g.: schema['slots']['subject_id']['range'] = 'EntityReference'
and the definition of EntityReference
is here which is a uriorcurie
.
Closes #419, cc @jmillanacosta
This PR adds a list of fields that should be given as URIs to be skipped when looking through metadata associated with a given mapping set dataframe so that
http
andhttps
aren't interpreted as CURIE prefixes.@hrshdhgd is there a way to introspect over the SSSOM schema and identify fields that are only supposed to be URIs (and therefore not CURIEs)?