Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

As an API User I want a 'boiler plate' query #71

Open
dimus opened this issue Nov 7, 2018 · 0 comments
Open

As an API User I want a 'boiler plate' query #71

dimus opened this issue Nov 7, 2018 · 0 comments

Comments

@dimus
Copy link
Member

dimus commented Nov 7, 2018

There is a usual use-case for API queries:

  1. Did the name match, and what is its 'best' match type
  2. What is the edit-distance (normal and stem) for the best match if the match is 'fuzzy'
  3. Is the name was found in curated sources or automatically curated sources?
  4. What is currently accepted name + canonical according to the best match?
  5. What is matched name + canonical
  6. What is classification if it is there

In case if user is interested about particular data sources (preferred data sources)
0. datasource id and title

  1. what is the localID from that source for matched name
  2. what is matched name_string and canonical
  3. what kind of match it was
  4. edit distance (normal and stem) for fuzzy matches
  5. what is currently accepted name according to the data source
  6. what is the classification
    7 what are vernaculars from the data source

Lets work on the query, and when it is done, it will be our graphiql 'home' query. I would make it a hardcoded link as well, so it shows every time a person clicks on graphiql link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant