search_ontology_properties
Search for ontology properties across BioPortal by label or ID. Filter by ontology, property type, exact match, or definition status.
Instructions
Search for ontology properties in BioPortal.
This function searches for ontology properties (object properties, annotation properties, datatype properties) by their labels and IDs across BioPortal ontologies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search term (e.g., "has part", "related to", "has dimension"). | |
| api_key | No | BioPortal API key. If not provided, uses BIOPORTAL_API_KEY environment variable. | |
| ontologies | No | Comma-separated list of ontology acronyms to search in (e.g., "NCIT,GO,HP"). If None, searches across all ontologies. | |
| max_results | No | Maximum number of results to return (default: 10). | |
| property_types | No | Comma-separated list of property types to filter by: "object", "annotation", "datatype". If None, returns all property types. | |
| require_definitions | No | If True, only return properties that have definitions (default: False). | |
| require_exact_match | No | If True, only return exact matches by property id, label, or generated label (default: False). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |