Lesson 1: What Are Logseq Queries and Why You Should Learn to Use Them

What is a query?

A description of a search to be performed for specific data.

What are query languages, and can you name examples of query languages?

Querly languages are the formal schemas (/ languages) for expressing queries. Which is a bit circular… so to expand, a formal language is one that can be parsed reliably by a computer to express a semantics intended by an author (and query is defined above).

What are some query languages you’ve worked with in the past?

SQL (esp. postgres-flavored), Mongo, GrahQL (maybe not really a QL), datalog

Why do you want to learn how to write Logseq queries?

See Working on a general approach to share a CV / Resume in Logseq. I’m generally interested in publishing subgraphs of my notes that include linear (journal) as well as aggregated (queried) information.