OrgOS · Phase 1 result

Graph or SQL, and when? Conclusion of Phase 1

OrgOS is a prototype of a system a company would build for itself. It tests one design question, a SQL store against a graph store for an AI agent over work data, scored by a frozen eval that checks citations. This page does not claim that a company wants it, and like the conclusion below, it names no winner.

1. What the frozen rule said

The rule, fixed before the full runs, tested each question type for a real gap between the stores. All three tests read "did not detect a gap":

Type Questions Untied Graph ahead SQL ahead p
aggregate 7 1 1 0 1
path_connection 7 4 2 2 7/8
mixed 6 0 0 0 1

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either. Too few questions disagreed for the test to reach a conclusion.

The frozen rule, by question type, with the smallest p each type could have given
TypeQuestionsUntiedGraph aheadSQL aheadpSmallest p the test could give
aggregate711011
path_connection74227/81/8
mixed600011

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either.

2. What I expected, and what happened

Runs correct with the reading note (runs with the right answer without it):

  • aggregate: SQL 18/21 (18/21), graph 20/21 (18/21)
  • path_connection: SQL 16/21 (11/21), graph 14/21 (10/21)
  • mixed: SQL 18/18 (18/18), graph 18/18 (16/18)

Aggregates: I expected the stores to be fairly close, with SQL slightly ahead. The graph came out ahead by 1 question.

Paths: I expected the graph to be much better than SQL. SQL came out ahead, mostly because of one question (Q09).

Mixed: I expected a split. Both stores got 18 of 18.

In both stores, most failures were citation failures: the answer was right but the evidence wasn't (SQL 7 of 8 failed runs, graph 5 of 8).

Correct runs and right answers, by question type and store
TypeStoreCorrect with the noteRight answers without the noteRuns with a retryAttempts timed outAttempts at the row capLimit hit: requestsLimit hit: tokensLimit hit: tool calls
aggregateSQL18/2118/21300000
aggregateGraph20/2118/21500000
path_connectionSQL16/2111/211000000
path_connectionGraph14/2110/21830000
mixedSQL18/1818/18700000
mixedGraph18/1816/18100000

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either.

Right answers with and without the two zero answer questions, Q03 and Q16
TypeStoreWith the noteWithout the noteWith the note, without Q03 and Q16Without the note, without Q03 and Q16
aggregateSQL21/2118/2118/1815/18
aggregateGraph21/2118/2118/1815/18
path_connectionSQL20/2111/2120/2111/21
path_connectionGraph18/2110/2118/2110/21
mixedSQL18/1818/1815/1515/15
mixedGraph18/1816/1815/1513/15

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either.

3. The questions where the stores differed

Graph minus SQL, correct runs out of 3: Q04 +2, Q08 +1, Q09 −3, Q13 +1, Q14 −1. All other questions tied.

On Q09, SQL is 3/3 against the graph's 0/3 with the note's either direction rule; without it, both are 0/3. Each graph run hit several errors and a query timeout before giving a wrong answer. The gold query for Q09 ran successfully.

Graph minus SQL, correct runs of 3, per question
QuestionTypeGraph minus SQL
Q01aggregate0
Q02aggregate0
Q03aggregate0
Q04aggregate+2
Q05aggregate0
Q06aggregate0
Q07aggregate0
Q08path_connection+1
Q09path_connection−3
Q10path_connection0
Q11path_connection0
Q12path_connection0
Q13path_connection+1
Q14path_connection−1
Q15mixed0
Q16mixed0
Q17mixed0
Q18mixed0
Q19mixed0
Q20mixed0

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either.

4. What the plain runs add

Without the reading note, right answers fell from 59 to 47 of 60 (SQL) and from 57 to 44 of 60 (graph), mostly on path questions (SQL 20 to 11, graph 18 to 10, of 21).

That tells me the stores are much more accurate with a note. Whether this can be a viable product without the note is a separate question.

Right answers with and without the reading note
ScopeStoreWith the noteWithout the note
All questionsSQL59/6047/60
All questionsGraph57/6044/60
path_connectionSQL20/2111/21
path_connectionGraph18/2110/21

For none of the three question types could the test tell whether graph or SQL did better. It doesn't show they're the same either.

G2-6 every scored run got the reading note, and plain runs are a lower bound that still carried shape, unit and hop limit (spec 0013 Follow-up). spec 0013 Follow-up

The findings report marks this drop as untested: no test was run on it.

5. How far this reaches

Limitations that matter most:

  1. The graph was built from tables designed in SQL, so it may be shaped like a database rather than a natural graph, which could put the graph at a disadvantage.
  2. Every scored run got the reading note. Real users don't write one, which is why I did the plain runs. Those still told the agent the answer's shape, unit and hop limit, which the scoring needed. A real person would give even less.
  3. The model ran on default settings with low thinking effort. More effort might change the results.

What a real deployment would need:

  1. This project loaded the data once; a real one would need constant updates.
  2. The same person appears under different names and emails in each system.
  3. Data sensitivity: a company could use its own model. Nothing in the project requires Claude, though the numbers would need re-measuring on that model.
  4. Not everyone may see every ticket, and the agent would have to respect that.
  5. Real company data isn't only in Jira: there's chat, docs, code and HR systems.

The findings report's full list of limitations, word for word with their sources, is in results/findings/report.json in the public code repository.

6. Graph or SQL, and when?

This conclusion is about this project only. The counts were close, and where one store led, it was by a single question. In the counts, the note made a bigger difference than the store did. Because too few questions disagreed, the test between the stores is inconclusive and could not pick a winner.

The design specs behind this work are private. When a limitation names a spec or a note, that document is not published here.