I spent some time looking over the documents and they look pretty accurate. I couldn't see any glaring mistakes in the documents.Β
As a disclaimer I should state that I'm one of those people who learns mostly by example and getting my hands dirty. But I'd suggest perhaps starting a wiki page of example queries. When I first started looking at codeq I found the schema a bit confusing and bizarre, but the more I wrote queries, the more it made sense.Β
What I did in my study of Codeq was to give myself arbitrary goals. For instance, "how many protocols are defined in Clojure"? "When was clojure.core/range first defined?". Sometimes it took me up to an hour to figure out how to write the query, but after a day, I felt completely at home with the schema.Β
Something else I found helpful was a query that given a Datomic Attribute would list all the possible values. For instance, it's a bit hard to understand from the schema diagram what exactly is in :clj/defop. This query helps:
(d/q '[:find ?n
Β Β Β Β :whereΒ
Β Β Β Β [_ :clj/defop ?n]]
Β Β Β Β (d/db conn))
After running that ^^ I discovered that I could query codeq to get a name of interfaces, or protocols, or types, etc.Β
Anyway, that's all I have. Good work so far!
Timothy Baldridge