INTERACTIVE TUTORIAL

Data 101

Learn Brainy's 9 core functions through interactive examples.
Perfect for newcomers to AI and data management.

🎯 Strongly Typed Graph System

Brainy provides 23 standardized Noun types and 39 Verb types for building any kind of semantic graph

πŸ“‹ Noun Types (Entities)

Person
Organization
Location
Thing
Concept
Event
Document
Media
Product
Service
User
Task
Project
Process
Role
Topic
+ 7 more

πŸ”— Verb Types (Relationships)

WorksFor
LeadsOrganization
LocatedAt
RelatedTo
Contains
PartOf
References
Causes
Creates
Owns
MemberOf
FriendOf
Follows
Mentors
Uses
Implements
+ 23 more
1
Smart Data Addition
Start by adding some basic information. Brainy automatically analyzes your content and intelligently assigns the most appropriate noun types from its 23 standardized categories. Watch how it detects entities, assigns confidence scores, and extracts metadata.
Code
// 1. Smart addition - Brainy understands your data await brain.add("John Smith") await brain.add("Software Engineer") await brain.add("San Francisco") await brain.add("Loves hiking and photography")
Results
Click "Run Demo" to see the magic!
2
Typed Entities (Nouns)
Add specific types of entities with metadata. This helps Brainy understand the structure of your data.
Code
// 4. Typed entities with metadata await brain.addNoun("Apple Inc.", NounType.Company, { industry: "Technology", founded: 1976, headquarters: "Cupertino, CA" }) await brain.addNoun("Tim Cook", NounType.Person, { role: "CEO", company: "Apple Inc." })
Results
Click "Run Demo" to see typed entities!
3
Relationships (Verbs)
Connect your data with relationships. Brainy uses 39 standardized verb types to create meaningful connections between entities.
Code
// 5. Relationships between entities await brain.addVerb( johnId, appleId, VerbType.WorksFor, { since: "2020", department: "Engineering" } ) await brain.addVerb( timId, appleId, VerbType.LeadsOrganization )
Results
Click "Run Demo" to see relationships!
4
Semantic Text Search
Search by meaning, not just keywords. Brainy understands context and finds relevant information.
Try Different Searches
// 2. Unified semantic search const results = await brain.search(query, 5)
Search Results
Type a search query and click "Search"!
5
Graph Traversal Search
Find connections and paths through your data. See how entities are related across multiple steps.
Code
// Find all people connected to Apple Inc. const connected = await brain.search("Apple Inc.", { traverseGraph: true, maxDepth: 2, relationshipTypes: ["WorksFor", "LeadsOrganization"] })
Connected Entities
Click "Find Connections" to see graph traversal!
6
Faceted Search & Filtering
Search with specific criteria and filters. Combine semantic understanding with structured queries.
Code
// Search with metadata filters const results = await brain.search("technology", { filters: { type: "Company", industry: "Technology", founded: { $gte: 1970 } }, facets: ["industry", "headquarters"] })
Filtered Results
Click "Filter Search" to see faceted results!
7
Bulk Import & Export
Work with large datasets efficiently. Import multiple items at once and export your knowledge base.
Code
// 3. Bulk import await brain.import([ "Microsoft Corporation", "Google LLC", "Amazon Web Services", "Meta Platforms" ]) // 9. Export data const exported = await brain.export({ format: 'json', includeGraph: true })
Bulk Operations
Click "Run Bulk Operations" to see mass data handling!
8
Smart Updates & Management
Update and manage your data intelligently. Brainy handles updates while preserving relationships.
Code
// 6. Smart updates await brain.update(timCookId, "Tim Cook - CEO of Apple Inc.") // 7. Soft delete (preserves relationships) await brain.delete(oldDataId)
Management Results
Click "Manage Data" to see smart updates!
πŸŽ‰
Congratulations!
You've learned all 9 core Brainy functions! You now understand how to build intelligent applications that truly understand your data.

Vector Search

Semantic understanding of meaning and context

Graph Database

Relationships and connections between entities

Metadata Facets

Structured filtering and faceted search

Start Building with Brainy