Skip to content

Commit

Permalink
add service provider, exploring agent documentation (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe authored Aug 28, 2024
1 parent 77079dc commit eb5835c
Show file tree
Hide file tree
Showing 9 changed files with 233 additions and 34 deletions.
73 changes: 73 additions & 0 deletions docs/architecture/ara/bte.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
[Back to ARAs](index.md)

# BioThings Explorer Autonomous Relay Agent Page

BioThings Explorer (BTE) is an application supported by Exploring Agent. The service queries a virtual, federated knowledge graph derived from the aggregated information in a network of biomedical web services. BTE leverages semantically precise annotations of the inputs and outputs for each resource (captured in the [SmartAPI registry](https://smart-api.info/)) and automates the chaining of web service calls to execute multi-step graph queries. Because there is no large, centralized knowledge graph to maintain, BTE is distributed as a lightweight application that dynamically retrieves information at query time. More information about BioThings Explorer can be found at [https://explorer.biothings.io](https://explorer.biothings.io).

The scoring/ranking of results in BTE incorporates a number of factors, including:

- the number of paths connecting the query node to the answer node
- the length of each path
- the number of redundant paths/edges
- the provenance of the edges (e.g., text-mined versus curated)
- the [Normalized Google Distance](https://en.wikipedia.org/wiki/Normalized_Google_distance) between nodes in the path

BTE is registered on SmartAPI [here](https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339). If you would like to deploy your own instance, see the [installation documentation](https://github.com/biothings/biothings_explorer/blob/main/docs/INSTALLATION.md).

## Use Cases

```sh
echo '{
"message": {
"query_graph": {
"nodes": {
"n02": {
"categories": [
"biolink:Disease"
],
"ids": [
"MONDO:0005148"
]
},
"n01": {
"categories": [
"biolink:ChemicalEntity"
]
}
},
"edges": {
"e01": {
"subject": "n01",
"object": "n02",
"predicates": [
"biolink:treats"
],
"knowledge_type": "inferred"
}
}
}
}
}
' > creative.json

# An inferred-mode query
curl -X POST \
"https://bte.transltr.io/v1/query" \
-H "Content-Type: application/json" \
-H "accept: application/json" \
-d @creative.json
```

## Knowledge Providers Accessed

BioThings Explorer maintains a allow-list of Knowledge Providers, see [here](https://github.com/biothings/bte-server/blob/main/config/api_list.yaml).

## Source Code

[https://github.com/biothings/biothings_explorer](https://github.com/biothings/biothings_explorer) - Primary code repository for BioThings Explorer

## Additional Links

- [Exploring Agent](https://github.com/NCATSTranslator/Translator-All/wiki/Exploring-Agent/)
- Preprint: [BioThings Explorer: a query engine for a federated knowledge graph of biomedical APIs](https://arxiv.org/abs/2304.09344)
- [BioThings Explorer Home Page](https://explorer.biothings.io/)
18 changes: 9 additions & 9 deletions docs/architecture/ara/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Translator "Autonomous Relay Agents" (ARAs) build build upon the knowledge contr

## Tutorials

* [Autonomous Relay Agent usage tutorials](../../development-guide/tutorials/index.md)
- [Autonomous Relay Agent usage tutorials](../../development-guide/tutorials/index.md)

## Existing Translator ARA's

| Team | Name | Documentation | Github Repository |
|---------------------------------------------------------------------------------------|--------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
| [Ranking Agent](https://github.com/NCATSTranslator/Translator-All/wiki/Ranking-Agent) | Ranking Agent ('Aragorn') | [Aragorn Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/ARAGORN) | [ranking-agent/aragorn](https://github.com/ranking-agent/aragorn) |
| [Expander Agent](../../teams/expander-agent.md) | ARAX | [ARAX Page](arax.md)<br/>[ARAX Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/ARAX) | [RTXteam/RTX](https://github.com/RTXteam/RTX) |
| (im)Proving Agent | Scalable Precision Medicine<br>Oriented Knowledge Engine ('SPOKE') | [SPOKE Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/imProving-Agent) | [BaranziniLab/PSEV](https://github.com/BaranziniLab/PSEV) |
| Explorer Agent | [BioThings Explorer](https://explorer.biothings.io/) | [BioThings Explorer Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/BioThings-Explorer-(BTE)) | [biothings/biothings_explorer](https://github.com/biothings/biothings_explorer) |
| Explanatory Agent | xARA | [xARA Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/Explanatory-Agent) ||
| Unsecret Agent | Unsecret Agent | [Unsecret Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/UnSecret-Agent) | [webyrd/mediKanren](https://github.com/webyrd/mediKanren) |
| Team | Name | Documentation | Github Repository |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
| [Ranking Agent](https://github.com/NCATSTranslator/Translator-All/wiki/Ranking-Agent) | Ranking Agent ('Aragorn') | [Aragorn Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/ARAGORN) | [ranking-agent/aragorn](https://github.com/ranking-agent/aragorn) |
| [Expander Agent](../../teams/expander-agent.md) | ARAX | [ARAX Page](arax.md)<br/>[ARAX Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/ARAX) | [RTXteam/RTX](https://github.com/RTXteam/RTX) |
| (im)Proving Agent | Scalable Precision Medicine<br>Oriented Knowledge Engine ('SPOKE') | [SPOKE Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/imProving-Agent) | [BaranziniLab/PSEV](https://github.com/BaranziniLab/PSEV) |
| [Exploring Agent](../../teams/exploring-agent.md) | [BioThings Explorer](https://explorer.biothings.io/) | [BioThings Explorer Page](bte.md) [BioThings Explorer Wiki](<https://github.com/NCATSTranslator/Translator-All/wiki/BioThings-Explorer-(BTE)>) | [biothings/biothings_explorer](https://github.com/biothings/biothings_explorer) |
| Explanatory Agent | xARA | [xARA Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/Explanatory-Agent) | |
| Unsecret Agent | Unsecret Agent | [Unsecret Wiki](https://github.com/NCATSTranslator/Translator-All/wiki/UnSecret-Agent) | [webyrd/mediKanren](https://github.com/webyrd/mediKanren) |
Loading

0 comments on commit eb5835c

Please sign in to comment.