Search Example Queries
search_example_queriesSearch curated SPARQL example queries from UniProt by free-text over descriptions and keyword tags. Find relevant query examples to learn how to query UniProt data.
Instructions
Search UniProt's 126 curated, executable SPARQL example queries by free text over their descriptions and keyword tags (e.g. 'disease', '3D structure', 'cross-reference', 'taxonomy'). Returns example ids, descriptions, tags, and query types. Fetch the full query text with get_example_query, then run it via run_sparql_query. The best way to learn how to query UniProt. Signature: search_example_queries(text=, limit=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Free-text filter over descriptions and keywords. | |
| limit | No | Max examples to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| _meta | No | ||
| error_code | No | ||
| message | No | ||
| retryable | No | ||
| recovery_action | No | ||
| field | No | ||
| allowed_values | No | ||
| hint | No | ||
| count | No | ||
| query_text | No | ||
| examples | No |