Pith. sign in

REVIEW 1 cited by

Semantic SQL -- Combining and optimizing semantic predicates in SQL

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2404.03880 v1 pith:UBUSD3VA submitted 2024-04-05 cs.DB

classification cs.DB
keywords queriessemanticpredicatesresultsdataunstructuredanalysisapproaches
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

In recent years, the surge in unstructured data analysis, facilitated by advancements in Machine Learning (ML), has prompted diverse approaches for handling images, text documents, and videos. Analysts, leveraging ML models, can extract meaningful information from unstructured data and store it in relational databases, allowing the execution of SQL queries for further analysis. Simultaneously, vector databases have emerged, embedding unstructured data for efficient top-k queries based on textual queries. This paper introduces a novel framework SSQL - Semantic SQL that utilizes these two approaches, enabling the incorporation of semantic queries within SQL statements. Our approach extends SQL queries with dedicated keywords for specifying semantic queries alongside predicates related to ML model results and metadata. Our experimental results show that using just semantic queries fails catastrophically to answer count and spatial queries in more than 60% of the cases. Our proposed method jointly optimizes the queries containing both semantic predicates and predicates on structured tables, such as those generated by ML models or other metadata. Further, to improve the query results, we incorporated human-in-the-loop feedback to determine the optimal similarity score threshold for returning results.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. SABER: A SQL-Compatible Semantic Document Processing System Based on Extended Relational Algebra

    cs.DB 2025-08 conditional novelty 5.0 of 10

    SABER defines semantic counterparts of relational algebra operators, exposes them as SQL UDFs, and maps them onto LOTUS, DocETL, and Palimpzest, yielding portable semantic queries.

Pith tools