Closed lecriste closed 1 year ago
There is a problem with special characters, I need to find a way to identify them and pass the correctly to the SPARQL Filter or other solution
I found two cases in which the returned resource is not the expected one:
As we discussed in person, we may want to apply a resolving priority among label
, prefLabel
, altLabel
, notation
, ...
The 'Mc' issue is probably due to a swap between label
and altLabel
in the registered resource.
This issue has also been encountered in cell composition registration:
Different case-insensitive resolved label: input 'bAC', resolved 'Bed nucleus of the anterior commissure'
Hi here. Is this resolved ?
Two solutions are available here:
print(forge.resolve("bAC", scope="ontology", target="CellType", strategy="EXACT_CASEINSENSITIVE_MATCH"))
3 ontology specific targets are implemented: BrainRegion, CellType, SpeciesThe following case has to do with two cell types having the exact notation MC. So we should avoid and test that we do not have the same notation used more than one time in the same ontology. I recommend to use OBMMC for Olfactory Bulb Main Mitral Cell and keep MC for Martinotti Cell.
The EXACT_MATCH strategy is resolving a label that EXACT_CASEINSENSITIVE_MATCH is not: