Concept Query
concept_queryQuery ConceptNet relationships by start, end, relation, node, or source using multi-parameter filtering to find and analyze specific concept connections.
Instructions
Advanced querying of ConceptNet with sophisticated multi-parameter filtering.
This tool provides powerful filtering capabilities for exploring ConceptNet's
knowledge graph. You can combine multiple filters to find specific types of
relationships and concepts with precision.
Features:
- Multi-parameter filtering (start, end, relation, node, sources)
- Complex relationship discovery and analysis
- Comprehensive result processing and enhancement
- Query optimization and performance metrics
- Format control: minimal (~96% smaller) vs verbose (full metadata)
Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools
Filter Parameters:
- start: Start concept of relationships (e.g., "dog", "/c/en/dog")
- end: End concept of relationships (e.g., "animal", "/c/en/animal")
- rel: Relation type (e.g., "IsA", "/r/IsA")
- node: Concept that must be either start or end of edges
- other: Used with 'node' to find relationships between two specific concepts
- sources: Filter by data source (e.g., "wordnet", "/s/activity/omcs")
Use this when you need:
- Precise relationship filtering and discovery
- Complex queries with multiple constraints
- Analysis of specific relationship types
- Targeted exploration of concept connections
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "concept_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End concept URI or term (e.g., "animal", "/c/en/animal") | |
| rel | No | Relation type (e.g., "IsA", "/r/IsA") | |
| node | No | Concept that must be either start or end of edges | |
| other | No | Used with 'node' to find relationships between two specific concepts | |
| start | No | Start concept URI or term (e.g., "dog", "/c/en/dog") | |
| sources | No | Filter by data source (e.g., "wordnet", "/s/activity/omcs") | |
| verbose | No | If True, returns detailed format with full metadata (default: False) | |
| language | No | Language filter for concepts (default: "en") | en |
| limit_results | No | If True, limits to 20 results for quick queries (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||