rushdb-query-builder

Build RushDB findRecords queries with ontology discovery and semantic search.

320|25|Updated Dec 15, 2024
One-click install
npx skills add https://github.com/rush-db/rushdb --skill rushdb-query-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rushdb-query-builder
Source: https://github.com/rush-db/rushdb/tree/main/packages/skills/rushdb-query-builder
Command: npx skills add https://github.com/rush-db/rushdb --skill rushdb-query-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build accurate RushDB queries against an ontology-driven dataset.

Core Features & Use Cases

  • Ontology-driven query building: discover labels and properties before querying.
  • Supports listing, filtering, aggregation, groupBy, and relationship traversal, including semantic/vector search.
  • Use Case: a data analyst wants to fetch records filtered by properties across related labels and group results by a computed metric.

Quick Start

Install and connect to the MCP server, then use the query builder to discover ontology and construct a findRecords query in a single session.

Frequently Asked Questions about rushdb-query-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an ontology-driven query to find records across related labels?

To build an ontology-driven query, you first discover available labels and properties in your dataset, then use that schema to construct a findRecords query. This approach filters records by traversing relationships across related labels accurately.

What is ontology-first discovery and how does it work for database queries?

Ontology-first discovery is the process of identifying labels and properties before executing a query. It works by loading the query specification via getSearchQuerySpec, ensuring your findRecords query targets valid schema elements and avoids field mapping errors.

Can I perform semantic search and groupBy aggregation in a single query?

Yes, you can perform semantic vector search and groupBy aggregation within the same query. The query builder supports discovering properties, filtering, and aggregating results by computed metrics alongside optional semantic search operations.

Do I need to install dependencies to use the ontology query builder?

No external dependencies are required to use the ontology query builder. You simply install and connect to the MCP server, then initiate a single session to discover your dataset's ontology and construct your findRecords query.

What is the best way to filter records by properties across related labels?

The best way to filter records across related labels is to use ontology-driven query building. By discovering the schema first, you can safely specify relationship traversals and property filters before executing the findRecords command.