Skip to content
This repository was archived by the owner on Sep 22, 2019. It is now read-only.
This repository was archived by the owner on Sep 22, 2019. It is now read-only.

ot:originalLabel search for tree failing, when (I think) it should not be #28

@mtholder

Description

@mtholder
$ curl -X POST -H "Content-Type":"application/json" -H "Accept":"application/json" http://api.opentreeoflife.org/oti/ext/QueryServices/graphdb/singlePropertySearchForTrees --data '{"property": "ot:originalLabel", "exact": true, "verbose": true, "value": "Aponogeoton ulvaceus 1 2"}'

returns { "matched_studies" : [ ]}

despite the fact that study pg_104 is in the index:

$ curl -X POST -H "Content-Type":"application/json" -H "Accept":"application/json" http://api.opentreeoflife.org/oti/ext/QueryServices/graphdb/singlePropertySearchForStudies --data '{"property": "ot:studyId", "exact": true, "verbose": true, "value": "pg_104"}'

{
"matched_studies" : [ {
"ot:studyPublicationReference" : "Les, D. H., Moody, M. L., & Jacobs, S. W. (2005). Phylogeny and systematics of Aponogeton (Aponogetonaceae): the Australian species. Systematic botany, 30(3), 503-519.",
"is_deprecated" : false,
"ot:focalCladeOTTTaxonName" : "Aponogeton",
"ot:studyYear" : 2005,
"ot:tag" : "ingroup added;",
"ot:studyPublication" : "http://dx.doi.org/10.1600/0363644054782215",
"ot:curatorName" : "William Wysocki",
"ot:focalClade" : 881391,
"ot:dataDeposit" : "http://purl.org/phylo/treebase/phylows/study/TB2:S1322",
"ot:studyId" : "pg_104"
} ]

and I am finding the name "Aponogeoton ulvaceus 1 2" as an originalLabel of otu otu373713 in
https://github.com/OpenTreeOfLife/phylesystem-1/blob/master/study/pg_04/pg_104/pg_104.json

perhaps I have a silly typo in my original curl command. But I can't see it. searching for the ottId returns that study.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions