get_MIE_file
Retrieve the MIE file for a specified RDF database to get its ShEx schema, RDF, and SPARQL examples. Use this file before querying to understand the database structure.
Instructions
At the start of any task, identify ALL databases needed and call this tool for EACH of them before writing any SPARQL queries. Do not query a database until its MIE file has been read. Get the MIE (Metadata Interoperability Exchange) file containing the ShEx schema, RDF and SPARQL examples of a specific RDF database. RETURNS the MIE file as a YAML-formatted string; an unknown database returns a string beginning with 'Error:' that lists the valid database names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Alias for `database`. | |
| dbname | No | Alias for `database`. | |
| database | No | Name of a single RDF database. Must be exactly one of: uniprot, rhea, pubchem, pdb, chembl, chebi, reactome, ensembl, amrportal, mesh, go, taxonomy, mondo, nando, bacdive, mediadive, clinvar, pubmed, pubtator, ncbigene, medgen, ddbj, glycosmos, supercon, bgee, oma, brenda, hgnc, jpostdb, massbank, nbrc, mogplus, hco, mco, togovar, ontology. Do NOT pass an endpoint group name here (e.g. 'ebi', 'sib') — those go in endpoint_name instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |