← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

UCLA RePL develops Prela, a new query language based on binary relations

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Prela is a new query language from UCLA RePL.
  • It uses only binary relations (two-column tables).
  • Binary relations generalize functions for composition.
  • Queries are more concise than SQL equivalents.

Introduction to Prela

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.

Binary Relations Explained

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.

Conciseness and Query Structure

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~8 min · 7 stories · Aug 29

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

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.