Closed Brilator closed 3 years ago
Needs input from @nfdi4plants/ontologyteam
Is there an example commit,, so that i can test this case?
@Zerskk this is currently done by design from Swate. The database functions that handle relationships do currently not discriminate between is_a and part_of relationships. This was done because, i think it was @omaus, noticed that he was not able to find a "child" term in one of the ontologies.
Describe the bug
I'm not sure wether
part_of
relations should also feed into the "related term directed search" (I think added in https://github.com/nfdi4plants/Swate/commit/b10131b5a9957824f8957227ff8b192434adc62e). This allows people to choose values that are literally parts of rather than instances / subclasses (is_a
relation) of the parent term.To Reproduce
Bad example: "Inlet type" is
part_of
"source". Picking inlet_type as the info for source doesn't tell me anything...Expected behavior
Good example: "Electron ionization"
is_a
"ionization type". And this is what I want to fill in.