Industry intelligence

Signals, patterns and insights about an industry, linked to the products and technologies they concern, with hybrid search over the sources.

Graph ID
spike
Sample data
The AI infrastructure market, from public sources · 109 nodes, 154 edges
Schema
10 node types · 23 edge types
Stored queries
42 reads · 31 writes
Updated
Nov 17, 2026

[Ontology]

ReliesOnElementOnElementEnablesElementUsesElementExemplifiesPatternEnablesPatternIdentifiedInArtifactDevelopedByCompanyReferencesElement

Drag types to rearrange · pinch or ⌘-scroll to zoom

All 10 types as a list
  • Signal15 in sample

    slug · name · brief · description · domain · stagingTimestamp · createdAt · updatedAt

    FormsPattern → Pattern · ContradictsPattern → Pattern · OnElement → Element · SpottedInArtifact → InformationArtifact · SourcedFromSource → SourceEntity · RelevantCompany → Company

  • Element24 in sample

    slug · name · kind · brief · description · category · domain · website · release_year · license · repository · use_cases · key_features · target_users · definition · key_points · createdAt · updatedAt

    EnablesElement → Element · UsesElement → Element · ExemplifiesPattern → Pattern · EnablesPattern → Pattern · IdentifiedInArtifact → InformationArtifact · DevelopedByCompany → Company

  • Pattern5 in sample

    slug · name · kind · brief · description · evolution · createdAt · updatedAt

    ReliesOnPattern → Pattern · DrivesPattern → Pattern · ContradictsToPattern → Pattern

  • Insight4 in sample

    slug · name · brief · description · importance · createdAt · updatedAt

    HighlightsPattern → Pattern · ReliesOnElement → Element

  • KnowHow2 in sample

    slug · name · brief · description · guidelines · context · url · stagingTimestamp · createdAt · updatedAt

    SourcedFromArtifact → InformationArtifact · ReferencesElement → Element

  • Company16 in sample

    slug · name · brief · description · site · formerly · type

  • SourceEntity16 in sample

    slug · name · type · platform · url

  • Expert7 in sample

    slug · name

    AffiliatedWithCompany → Company

  • InformationArtifact20 in sample

    slug · name · artifactType · link · stagingTimestamp · createdAt · updatedAt

    PublishedBySource → SourceEntity · ContributedByExpert → Expert

  • Chunk

    text · chunk_index · embedding · createdAt

    PartOfArtifact → InformationArtifact

[Questions it answers]

Each one is a stored query in the cookbook, written once and run by name from the CLI, the SDKs or an agent.

contested_patterns

Which patterns does new evidence contradict?

Tension: patterns with contradicting evidence — where the thesis is actively contested. High counts deserve an Insight.

Show the query +
// Tension: patterns with contradicting evidence — where the thesis is
// actively contested. High counts deserve an Insight.
query contested_patterns() {
    match {
        $p: Pattern
        $s contradictsPattern $p
    }
    return { $p.slug, $p.name, count($s) as contradictions }
}

pattern_momentum

Which patterns are gathering signals fastest?

Momentum: how many signals each pattern attracted since a cutoff. Params: since — e.g. {"since": "2026-05-01T00:00:00Z"}

Show the query +
// Momentum: how many signals each pattern attracted since a cutoff.
// Params: since — e.g. {"since": "2026-05-01T00:00:00Z"}
query pattern_momentum($since: DateTime) {
    match {
        $p: Pattern
        $s formsPattern $p
        $s.stagingTimestamp >= $since
    }
    return { $p.slug, $p.name, count($s) as recent_signals }
}

hybrid_chunks

What do the sources say about a question?

Hybrid: Reciprocal Rank Fusion of semantic similarity and BM25 over the same chunk text — the robust default for agent retrieval.

Show the query +
// Hybrid: Reciprocal Rank Fusion of semantic similarity and BM25 over the
// same chunk text — the robust default for agent retrieval.
query hybrid_chunks($q: String) {
    match { $c: Chunk }
    return { $c.text, $c.chunk_index }
    order { rrf(nearest($c.embedding, $q), bm25($c.text, $q)) }
    limit 10
}

recent_signals

What came in most recently?

Show the query +
query recent_signals() {
    match {
        $s: Signal
    }
    return { $s.slug, $s.name, $s.brief, $s.domain, $s.stagingTimestamp }
    order { $s.stagingTimestamp desc }
    limit 50
}

[73 stored queries]

Reads answer questions; writes are the typed mutations agents and people use to change the graph, each one commit.

queries/elements.gq9 queries+
  • get_element
  • elements_by_kind
  • search_elements
  • element_enables
  • element_uses
  • element_patterns
  • element_signals
  • element_developer
  • element_sources
queries/hybrid.gq2 queries+
  • related_chunksSemantic neighbors: embed the question at query time, k-NN over chunks.
  • hybrid_chunksHybrid: Reciprocal Rank Fusion of semantic similarity and BM25 over the same chunk text — the robust default for agent retrieval.
queries/insights.gq4 queries+
  • get_insight
  • search_insights
  • insight_patterns
  • insight_elements
queries/knowhow.gq5 queries+
  • get_knowhow
  • recent_knowhow
  • search_knowhow
  • knowhow_elements
  • knowhow_sources
queries/mutations.gq31 queries+
  • add_signalwrite
  • add_elementwrite
  • add_patternwrite
  • add_insightwrite
  • add_knowhowwrite
  • add_companywrite
  • add_sourcewrite
  • add_expertwrite
  • add_artifactwrite
  • link_signal_forms_patternwrite
  • link_signal_contradicts_patternwrite
  • link_insight_highlights_patternwrite
  • link_insight_relies_on_elementwrite
  • link_pattern_relies_onwrite
  • link_pattern_driveswrite
  • link_pattern_contradictswrite
  • link_signal_on_elementwrite
  • link_element_enableswrite
  • link_element_useswrite
  • link_element_exemplifies_patternwrite
  • link_element_enables_patternwrite
  • link_artifact_published_bywrite
  • link_artifact_contributed_bywrite
  • link_signal_spotted_inwrite
  • link_element_identified_inwrite
  • link_knowhow_sourced_fromwrite
  • link_signal_sourced_fromwrite
  • link_signal_relevant_companywrite
  • link_element_developed_bywrite
  • link_expert_affiliated_withwrite
  • link_knowhow_referenceswrite
queries/patterns.gq9 queries+
  • get_pattern
  • patterns_by_kind
  • search_patterns
  • pattern_signals
  • pattern_drives
  • pattern_relies_on
  • pattern_contradicts
  • pattern_elements
  • pattern_insights
queries/signals.gq8 queries+
  • get_signal
  • recent_signals
  • search_signals
  • signal_patterns
  • signal_contradictions
  • signal_elements
  • signal_companies
  • signal_sources
queries/workflow.gq5 queries+
  • orphan_signalsTriage queue: signals not yet attached to any pattern (neither forming nor contradicting one). Work this list down to zero each review.
  • pattern_momentumMomentum: how many signals each pattern attracted since a cutoff. Params: since — e.g. {"since": "2026-05-01T00:00:00Z"}
  • stale_patternsStaleness: patterns with no new signal since the cutoff — prune them or push research. Params: since — e.g. {"since": "2026-05-01T00:00:00Z"}
  • contested_patternsTension: patterns with contradicting evidence — where the thesis is actively contested. High counts deserve an Insight.
  • unsourced_signalsProvenance gaps: signals with no artifact and no source — claims an agent cannot verify. Fix with attach mutations or drop the signal.

[Run it with your agent]

Paste this into a coding agent. It installs Omnigraph if it has to, creates the graph from this cookbook, loads the sample data and runs the queries above.

Paste into
  • Claude Code
  • Codex
  • Antigravity

Read https://www.omnigraph.dev/onboarding.md and set up Omnigraph for me with the Industry intelligence cookbook: https://github.com/ModernRelay/omnigraph-cookbooks/tree/main/industry-intel

[More use cases]