get_graph_list
Get a clean list of named graphs from a SPARQL endpoint, with internal graphs filtered out. Supports ranking by database name for endpoints hosting multiple databases.
Instructions
Get a list of named graphs on a SPARQL endpoint. Virtuoso/OpenLink internal graphs are filtered out. If database is given, graph URIs containing that substring (case-insensitive) are ranked first — useful when the endpoint hosts multiple databases (e.g. SIB hosts UniProt + Rhea + Bgee + OMA). For a database not yet in the registry, pass endpoint_url (or endpoint_name if its parent endpoint is registered) to bypass database validation; database can still be supplied alongside as a ranking hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | RDF database name (e.g. 'uniprot', 'chembl'). When the name is in the registry it resolves the endpoint URL; in any case the value is used as a case-insensitive substring to rank matching graph URIs first. Optional if `endpoint_url` or `endpoint_name` is provided. | |
| endpoint_name | No | Short endpoint name (e.g. 'primary', 'sib', 'ebi'). Use when the database is not yet registered but its parent endpoint is. | |
| endpoint_url | No | Direct SPARQL endpoint URL. Use when neither the database nor its parent endpoint name is in the registry. | |
| include_system | No | If True, include Virtuoso/OpenLink internal graphs (virtrdf, ldp, activitystreams, etc.). Default False — these are never useful for queries. | |
| dbname | No | ||
| db | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |