Note: This document is for the sentence in a natural language input after the ones specifying the context you’re from within referencing. To understand the high level of what this fits into, start here.
Following context about the content of interest, traversing can be understood as browsing then inquiring. Traversing provides an abstraction over obtaining specific content from the web at a particular time.
<Context>. <Browsing>, <inquiring>.
For the traversing sentence that follows establishing context, there can be comma separated clauses to convey the browsing necessary before inquiring with a clause in which the sentence’s grammatical root is an auxiliary verb (see note for definition).
<Context>.
From <page>, <operation on page>, what <field>s are on this page?
Note: A fancy way of denoting a verb that applies semantic meaning to others but is easily attained with a form of the word “be” in questions. In the below query the root is the word “are” which, as you can also see, is easy to follow grammatically like “what links are on this page?” or “what prices and names are on this page?”.
The comma separated clauses leading up to the expression in which you state what you’re inquiring for must contain either symbols inherited from the context or keywords available in SQL but are case-insensitive.
Let’s take the following sentence:
From hn, click on front, what posts are on this page?
The question phrase “what posts are on this page?” make up the primary inquiry of the sentence and the ones leading up to it are the browsing components.
[From hn], [click on front], what posts...
The invoked keywords in the example sentence above are the words from (which maps to FROM) and click (which maps to CLICK).
FROM hn
|> CLICK ON front
|> ...
The expression providing the actual question must be one in which the root auxiliary verb (see the Note in structure for definition) provides the subjects as the requested fields and object as the requested source (unless a from syntax is used as presented in the example in browsing). In the example sentence:
From hn, click on front, what posts are on this page?
The crux of the sentence is the part where we ask for posts.
...front, <what posts are on this page>?
Where posts make up the subject of the sentence of things that are on this page.
what [posts] are on [this page]?
When “this page” is used as the object of the inquiring sentence, it does not modify or introduce anything to a FROM statement otherwise Huxley assumes you’re referring to a symbol with a defined value. With that in mind about using the “this page” syntax, the above sentence in total generates the following SQL:
FROM hn
|> CLICK ON front
|> SELECT posts;