Prela is a new query language under development at UCLA RePL. It introduces a different approach to querying data compared to traditional languages like SQL. The core idea behind Prela is its reliance on binary relations, which are tables with exactly two columns.
The concept of using only binary relations might initially seem restrictive, but it allows for the decomposition of wider tables into multiple binary relations. For instance, a three-column table can be broken down into three separate binary relations, each mapping a row number to a specific column value. This method represents data in a generalized functional form, enabling composition similar to how functions are composed in programming.
A key benefit of Prela's design is the conciseness of its queries. An example query that finds movies produced by American companies with character names in their titles and outputs the title and cast member aliases, spans significantly fewer lines in Prela than its SQL equivalent, which would require over 20 lines of code. This reduction in code length is attributed to the language's foundational principles and how it handles data relationships.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
UCLA RePL is developing Prela, a new query language that uses only binary relations, simplifying complex queries. This approach allows for more concise code compared to SQL, with an example query being 20 lines shorter.