-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I noticed that the Biolink Lookup Service seems to return only proper ancestors (i.e., excluding the input item), but all descendants (i.e., including the input item).
for example, this ancestor query for MolecularMixture:
curl -X GET "https://bl-lookup-sri.renci.org/bl/MolecularMixture/ancestors?version=2.1.0" -H "accept: application/json"
does not return MolecularMixture:
[
"biolink:ChemicalMixture",
"biolink:ChemicalEntity",
"biolink:NamedThing",
"biolink:Entity",
"biolink:PhysicalEssence",
"biolink:PhysicalEssenceOrOccurrent",
"biolink:ChemicalOrDrugOrTreatment",
"biolink:ChemicalEntityOrGeneOrGeneProduct",
"biolink:ChemicalEntityOrProteinOrPolypeptide"
]
but this descendant query for MolecularMixture:
curl -X GET "https://bl-lookup-sri.renci.org/bl/MolecularMixture/descendants?version=2.1.0" -H "accept: application/json"
does return MolecularMixture:
[
"biolink:MolecularMixture",
"biolink:Drug"
]
is this deliberate? the inconsistency seems a bit odd to me.
Metadata
Metadata
Assignees
Labels
No labels