Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Yehoshua Sagiv

dblp:26/5086 · DBLP profile ↗
← Back
132ranked-venue papers
23as first author
0since 2021 · last 2017
—ORCID · none

Domains — the database's venue-derived domains; a paper can count in several

Databases, data management, data science and information retrieval · 94 · 11 first-authorTheory of computation · 23 · 6 first-authorApplied, interdisciplinary, general and emerging computing · 16 · 6 first-authorArtificial intelligence and machine learning · 13Software engineering, systems software and programming languages · 2Human-computer interaction and ubiquitous computing · 2Graphics, computer vision, multimedia, augmented reality and games · 1

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Databases, data mining, and information retrieval
75 papers
Information retrieval · 32% Query processing and optimization · 22% Database theory · 19%
Theoretical computer science
22 papers
Computational complexity · 42% Algorithms and data structures · 32% Logic in computer science · 13%

Topics — the 30 heaviest of 129, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Data models and query languages › uncertain data › probabilistic data
probabilistic XML
0.562009
On the expressiveness of probabilistic XML models · VLDB J. 2009
Incorporating constraints in probabilistic XML · ACM Trans. Database Syst. 2009
Running tree automata on probabilistic XML · PODS 2009
Information retrieval
keyword search
0.332012
Language models for keyword search over data graphs · WSDM 2012
Exploratory keyword search on data graphs · SIGMOD Conference 2010
Keyword proximity search in complex data graphs · SIGMOD Conference 2008
Database theory
query containment
0.3102007
Deciding equivalences among conjunctive aggregate queries · J. ACM 2007
Rewriting queries with arbitrary aggregation functions using views · ACM Trans. Database Syst. 2006
Static analysis in datalog extensions · J. ACM 2001
Information retrieval
ranking
0.332012
Language models for keyword search over data graphs · WSDM 2012
Keyword proximity search in complex data graphs · SIGMOD Conference 2008
Exploratory keyword search on data graphs · SIGMOD Conference 2010
Query processing and optimization
probabilistic query processing
0.232009
Incorporating constraints in probabilistic XML · ACM Trans. Database Syst. 2009
Query efficiency in probabilistic XML models · SIGMOD Conference 2008
Incorporating constraints in probabilistic XML · PODS 2008
Query processing and optimization › join processing
full disjunction
0.232006
Full Disjunctions: Polynomial-Delay Iterators in Action · VLDB 2006
An incremental algorithm for computing ranked full disjunctions · PODS 2005
Computing full disjunctions · PODS 2003
Graph data management › keyword search on graphs
keyword proximity search
0.122008
Keyword proximity search in complex data graphs · SIGMOD Conference 2008
Finding and approximating top-k answers in keyword proximity search · PODS 2006
Information retrieval › reranking
answer re-ranking
0.112012
Language models for keyword search over data graphs · WSDM 2012
Information retrieval
retrieval models
0.112012
Language models for keyword search over data graphs · WSDM 2012
Query processing and optimization
query execution
0.162009
Query evaluation over probabilistic XML · VLDB J. 2009
Queries with Incomplete Answers over Semistructured Data · PODS 1999
Evaluation of Queries in Independent Database Schemes · J. ACM 1991
Information retrieval
distributed information retrieval
0.112011
KMV-peer: a robust and adaptive peer-selection algorithm · WSDM 2011
Information retrieval › distributed information retrieval
peer selection
0.112011
KMV-peer: a robust and adaptive peer-selection algorithm · WSDM 2011
Information retrieval › distributed information retrieval
peer-to-peer search
0.112011
KMV-peer: a robust and adaptive peer-selection algorithm · WSDM 2011
Information retrieval › query formulation
query generation
0.112011
Finding a minimal tree pattern under neighborhood constraints · PODS 2011
Query processing and optimization
ranked enumeration
0.112011
Optimizing and Parallelizing Ranked Enumeration · Proc. VLDB Endow. 2011
Information retrieval › distributed information retrieval
resource selection
0.112011
KMV-peer: a robust and adaptive peer-selection algorithm · WSDM 2011
Database theory › conjunctive query
tree pattern query
0.112011
Finding a minimal tree pattern under neighborhood constraints · PODS 2011
Graph data management
keyword search on graphs
0.112010
Exploratory keyword search on data graphs · SIGMOD Conference 2010
Spatial and temporal data management
route planning
0.112010
Interactive Route Search in the Presence of Order Constraints · Proc. VLDB Endow. 2010
Data models and query languages
semistructured data
0.132003
Computing full disjunctions · PODS 2003
Flexible Queries Over Semistructured Data · PODS 2001
Queries with Incomplete Answers over Semistructured Data · PODS 1999
Database theory › query complexity
query tractability
0.112009
Incorporating constraints in probabilistic XML · ACM Trans. Database Syst. 2009
Query processing and optimization › XML query processing
tree query
0.112009
ExQueX: exploring and querying XML documents · SIGMOD Conference 2009
Information retrieval › document retrieval › structured document retrieval
XML retrieval
0.112009
ExQueX: exploring and querying XML documents · SIGMOD Conference 2009
Data mining › data reduction
redundancy reduction
0.112008
Keyword proximity search in complex data graphs · SIGMOD Conference 2008
Data models and query languages › XML query languages
twig query
0.112008
Query efficiency in probabilistic XML models · SIGMOD Conference 2008
Query processing and optimization
join processing
0.122007
Maximally joining probabilistic data · PODS 2007
Solving Queries by Tree Projections · ACM Trans. Database Syst. 1993
Computational complexity › complexity of reasoning
query answering complexity
0.122003
Computing full disjunctions · PODS 2003
Flexible Queries Over Semistructured Data · PODS 2001
Data models and query languages › uncertain data
probabilistic data
0.112007
Maximally joining probabilistic data · PODS 2007
Database theory › probabilistic databases
probabilistic query semantics
0.112007
Maximally joining probabilistic data · PODS 2007
Database theory
query complexity
0.112007
Maximally joining probabilistic data · PODS 2007

Methods — techniques the papers use, named apart from their topics

parameterized complexity · 0.2fixed-parameter tractable algorithm · 0.2complexity analysis · 0.2heuristic algorithm · 0.2tree automata · 0.2monadic second-order logic · 0.2structural relevance weighting · 0.1language modeling · 0.1adaptive scoring functions · 0.1KMV synopsis · 0.1ranking · 0.1filtering · 0.1ranked enumeration · 0.1approximation algorithm · 0.1polynomial-time algorithm · 0.0acyclicity · 0.0
YearPublicationVenuePosition
2017 Location-Based Distance Measures for Geosocial Similarity
abstract
This article investigates the problem of geosocial similarity among users of online social networks, based on the locations of their activities (e.g., posting messages or photographs). Finding pairs of geosocially similar users or detecting that two sets of locations (of activities) belong to the same user has important applications in privacy protection, recommendation systems, urban planning, and public health, among others. It is explained and shown empirically that common distance measures between sets of locations are inadequate for determining geosocial similarity. Two novel distance measures between sets of locations are introduced. One is the mutually nearest distance that is based on computing a matching between two sets. The second measure uses a quad-tree index. It is highly scalable but incurs the overhead of creating and maintaining the index. Algorithms with optimization techniques are developed for computing the two distance measures and also for finding the k -most-similar users of a given one. Extensive experiments, using geotagged messages from Twitter, show that the new distance measures are both more accurate and more efficient than existing ones.
Yaron Kanza, Elad Kravi, Eliyahu Safra, Yehoshua Sagiv
ACM Trans. Web4
2016 Constructing Data Graphs for Keyword Search
Konstantin Golenberg, Yehoshua Sagiv
DEXA (2)2
2016 A Practically Efficient Algorithm for Generating Answers to Keyword Search Over Data Graphs
abstract
In keyword search over a data graph, an answer is a non-redundant subtree that contains all the keywords of the query. A naive approach to producing all the answers by increasing height is to generalize Dijkstra's algorithm to enumerating all acyclic paths by increasing weight. The idea of freezing is introduced so that (most) non-shortest paths are generated only if they are actually needed for producing answers. The resulting algorithm for generating subtrees, called GTF, is subtle and its proof of correctness is intricate. Extensive experiments show that GTF outperforms existing systems, even ones that for efficiency's sake are incomplete (i.e., cannot produce all the answers). In particular, GTF is scalable and performs well even on large data graphs and when many answers are neede
Konstantin Golenberg, Yehoshua Sagiv
ICDT2
2014 Knowledge Management for Keyword Search over Data Graphs
abstract
This demo presents exploratory keyword search over data graphs by means of semantic facets. The demo starts with a keyword search over data graphs. Answers are first ranked by an existing search engine that considers their textual relevance and semantic structure. The user can then explore the answers through facets of structural patterns (i.e., schemas) as well as through other features. A particular way of presenting answers in a compact form is also supported and is applicable when looking for a single entity that connects the keywords. The demo is based on a working prototype that users can try on their own. It includes five data graphs that are quite diversified. In particular, three of them were generated from relational databases and two - from RDF triples. The demo shows that the system enables users to easily and quickly perform various search tasks by means of exploration, filtering and summarization.
Yosi Mass, Yehoshua Sagiv
CIKM2
2013 Extracting minimum-weight tree patterns from a schema with neighborhood constraints
abstract
The task of formulating queries is greatly facilitated when they can be generated automatically from some given data values, schema concepts or both (e.g., names of particular entities and XML tags). This automation is the basis of various database applications, such as keyword search and interactive query formulation. Usually, automatic query generation is realized by finding a set of small tree patterns that contain some given labels. More formally, the computational problem at hand is to find top-k patterns, that is, k minimum-weight tree patterns that contain a given bag of labels, conform to the schema, and are non-redundant. A plethora of systems and research papers include a component that deals with this problem. This paper presents an algorithm for this problem, with complexity guarantees, that allows nontrivial schema constraints and, hence, avoids generating patterns that cannot be instantiated. Specifically, this paper shows that for schemas with certain types of neighborhood constraints, the problem is fixed-parameter tractable (FPT), the parameter being the size of the given bag of labels. As machinery, an adaptation of Lawler-Murty's procedure is developed. This adaptation reduces a top-k problem, over an infinite space of solutions, to a prefix-constrained optimization problem. It is shown how to cast the problem of top-k patterns in this adaptation. A solution is developed for the corresponding prefix-constrained optimization problem, and it uses an algorithm for finding a (single) minimum-weight tree pattern. This algorithm generalizes an earlier work by handling leaf constraints (i.e., which labels may, must or should not be leaves). It all boils down to a reduction showing that, under a language for neighborhood constraints, finding top-k patterns is FPT if a certain variant of exact cover is FPT.
Benny Kimelfeld, Yehoshua Sagiv
ICDT2
2013 A personal perspective on keyword search over data graphs
abstract
Theoretical and practical issues pertaining to keyword search over data graphs are discussed. A formal model and algorithms for enumerating answers (by operating directly on the data graph) are described. Various aspects of a system are explained, including the object-connector-property data model, how it is used to construct a data graph from an XML document, how to deal with redundancies in the source data, what are duplicate answers, implementation and GUI. An approach to ranking that combines textual relevance with semantic considerations is described. It is argued that search over data graphs is inherently a two-dimensional process, where the goal is not just to find particular content but also to collect information on how the desired data may be semantically connected.
Yehoshua Sagiv
ICDT1
2013 Ad hoc matching of vectorial road networks
abstract
In integration of road maps modeled as road vector data, the main task is matching pairs of objects that represent, in different maps, the same segment of a real-world road. In an ad hoc integration, the matching is done for a specific need and, thus, is performed in real time, where only a limited preprocessing is possible. Usually, ad hoc integration is performed as part of some interaction with a user and, hence, the matching algorithm is required to complete its task in time that is short enough for human users to provide feedback to the application, that is, in no more than a few seconds. Such interaction is typical of services on the World Wide Web and to applications in car-navigation systems or in handheld devices. Several algorithms were proposed in the past for matching road vector data; however, these algorithms are not efficient enough for ad hoc integration. This article presents algorithms for ad hoc integration of maps in which roads are represented as polylines. The main novelty of these algorithms is in using only the locations of the endpoints of the polylines rather than trying to match whole lines. The efficiency of the algorithms is shown both analytically and experimentally. In particular, these algorithms do not require the existence of a spatial index, and they are more efficient than an alternative approach based on using a grid index. Extensive experiments using various maps of three different cities show that our approach to matching road networks is efficient and accurate (i.e., it provides high recall and precision). General Terms:Algorithms, Experimentation
Eliyahu Safra, Yaron Kanza, Yehoshua Sagiv, Yerach Doytsher
Int. J. Geogr. Inf. Sci.3
2012 Language models for keyword search over data graphs
abstract
In keyword search over data graphs, an answer is a non-redundant subtree that includes the given keywords. This paper focuses on improving the effectiveness of that type of search. A novel approach that combines language models with structural relevance is described. The proposed approach consists of three steps. First, language models are used to assign dynamic, query-dependent weights to the graph. Those weights complement static weights that are pre-assigned to the graph. Second, an existing algorithm returns candidate answers based on their weights. Third, the candidate answers are re-ranked by creating a language model for each one. The effectiveness of the proposed approach is verified on a benchmark of three datasets: IMDB, Wikipedia and Mondial. The proposed approach outperforms all existing systems on the three datasets, which is a testament to its robustness. It is also shown that the effectiveness can be further improved by augmenting keyword queries with very basic knowledge about the structure.
Yosi Mass, Yehoshua Sagiv
WSDM2
2011 IQ: The Case for Iterative Querying for Knowledge
Yosi Mass, Maya Ramanath, Yehoshua Sagiv, Gerhard Weikum
CIDR3
2011 Finding a minimal tree pattern under neighborhood constraints
abstract
Tools that automatically generate queries are useful when schemas are hard to understand due to size or complexity. Usually, these tools find minimal tree patterns that contain a given set (or bag) of labels. The labels could be, for example, XML tags or relation names. The only restriction is that, in a tree pattern, adjacent labels must be among some specified pairs. A more expressive framework is developed here, where a schema is a mapping of each label to a collection of bags of labels. A tree pattern conforms to the schema if for all nodes v, the bag comprising the labels of the neighbors is contained in one of the bags to which the label of v is mapped. The problem at hand is to find a minimal tree pattern that conforms to the schema and contains a given bag of labels. This problem is NP-hard even when using the simplest conceivable language for describing schemas. In practice, however, the set of labels is small, so efficiency is realized by means of an algorithm that is fixed-parameter tractable (FPT). Two languages for specifying schemas are discussed. In the first, one expresses pairwise mutual exclusions between labels. Though W[1]-hardness (hence, unlikeliness of an FPT algorithm) is shown, an FPT algorithm is described for the case where the mutual exclusions form a circular-arc graph (e.g., disjoint cliques). The second language is that of regular expressions, and for that another FPT algorithm is described.
Benny Kimelfeld, Yehoshua Sagiv
PODS2
2011 KMV-peer: a robust and adaptive peer-selection algorithm
abstract
The problem of fully decentralized search over many collections is considered. The objective is to approximate the results of centralized search (namely, using a central index) while controlling the communication cost and involving only a small number of collections. The proposed solution is couched in a peer-to-peer (P2P) network, but can also be applied in other setups. Peers publish per-term summaries of their collections. Specifically, for each term, the range of document scores is divided into intervals; and for each interval, a KMV (K Minimal Values) synopsis of its documents is created. A new peer-selection algorithm uses the KMV synopses and two scoring functions in order to adaptively rank the peers, according to the relevance of their documents to a given query. The proposed method achieves high-quality results while meeting the above criteria of efficiency. In particular, experiments are done on two large, real-world datasets; one is blogs and the other is web data. These experiments show that the algorithm outperforms the state-of-the-art approaches and is robust over different collections, various scoring functions and multi-term queries.
Yosi Mass, Yehoshua Sagiv, Michal Shmueli-Scheuer
WSDM2
2011 Optimizing and Parallelizing Ranked Enumeration
Konstantin Golenberg, Benny Kimelfeld, Yehoshua Sagiv
Proc. VLDB Endow.3
2010 A peer-selection algorithm for information retrieval
abstract
A novel method for creating collection summaries is developed, and a fully decentralized peer-selection algorithm is described. This algorithm finds the most promising peers for answering a given query. Specifically, peers publish per-term synopses of their documents. The synopses of a peer for a given term are divided into score intervals and for each interval, a KMV (K Minimal Values) synopsis of its documents is created. The synopses are used to effectively rank peers by their relevance to a multi-term quer. The proposed approach is verified by experiments on a large real-world dataset. In particular, two collections were created from this dataset, each with a different number of peers. Compared to the state-of-the-art approaches, the proposed method is effective and efficient even when documents are randomly distributed among peers
Yosi Mass, Yehoshua Sagiv, Michal Shmueli-Scheuer
CIKM2
2010 Exploratory keyword search on data graphs
abstract
A system for keyword search on data graphs is demonstrated on two challenging datasets: the large DBLP and Mondial (which is highly cyclic and has a complex schema). The system supports search, exploration and question answering. The demonstration shows how the system copes with the main challenges in keywords search on data graphs. In particular, the system generates answers efficiently and completely (i.e., it does not miss answers). It has an effective ranking mechanism that also takes into account redundancies among answers. Finally, the system uses a novel technique for displaying multi-node subtrees in a compact graphical form that facilitates quick and easy understanding, which is essential for effective browsing of the answers.
Hilit Achiezra, Konstantin Golenberg, Benny Kimelfeld, Yehoshua Sagiv
SIGMOD Conference4
2010 Location-based algorithms for finding sets of corresponding objects over several geo-spatial data sets
abstract
When integrating geo‐spatial data sets, a join algorithm is used for finding sets of corresponding objects (i.e., objects that represent the same real‐world entity). This article investigates location‐based join algorithms for integration of several data sets. First, algorithms for integration of two data sets are presented and their performances, in terms of recall and precision, are compared. Then, two approaches for integration of more than two data sets are described. In one approach, all the integrated data sets are processed simultaneously. In the second approach, a join algorithm for two data sets is applied sequentially, either in a serial manner, where in each join at least one of the joined data sets is a single source, or in a hierarchical manner, where two join results can be joined. For the two approaches, join algorithms are given. The algorithms are designed to perform well even when location of objects are imprecise and each data set represents only some of the real‐world entities. Results of extensive experiments with the different approaches are provided and analyzed. The experiments show the differences, in accuracy and efficiency, between the approaches, under different circumstances. The results also show that all our algorithms have much better accuracy than applying the commonly used one‐sided nearest‐neighbor join.
Eliyahu Safra, Yaron Kanza, Yehoshua Sagiv, Catriel Beeri, Yerach Doytsher
Int. J. Geogr. Inf. Sci.3
2010 Interactive Route Search in the Presence of Order Constraints
abstract
A route search is an enhancement of an ordinary geographic search. Instead of merely returning a set of entities, the result is a route that goes via entities that are relevant to the search. The input to the problem consists of several search queries, and each query defines a type of geographical entities. When visited, some of the entities succeed in satisfying the user while others fail to do so; however, only the probability of success is known prior to arrival. The main task is to find a route that visits at least one satisfying entity of each type. In an interactive search , the route is computed in steps. In each step, only the next entity of the route is given to the user, and after visiting that entity, the user provides a feedback specifying whether the entity satisfies her. This paper investigates interactive route search in the presence of order constraints that specify that some types of entities should be visited before others. We present heuristic algorithms for interactive route search for two cases, depending on whether the constraints define a complete order or a partial one. The main challenge is to utilize the feedback in order to compute a route that is shorter and has a higher degree of success, compared to routes that are computed non-interactively. We also discuss how to compare the results of the algorithms and introduce suitable measures for doing so. Experiments on real-world data illustrate the efficiency and effectiveness of our algorithms.
Roy Levin, Yaron Kanza, Eliyahu Safra, Yehoshua Sagiv
Proc. VLDB Endow.4
2009 A scalable and effective full-text search in P2P networks
abstract
We consider the problem of full-text search involving multi-term queries in a network of self-organizing, autonomous peers. Existing approaches do not scale well with respect to the number of peers, because they either require access to a large number of peers or incur a high communication cost in order to achieve good query results. In this paper, we present a novel algorithmic framework for processing multi-term queries in P2P networks that achieves high recall while using (per-query) a small number of peers and a low communication cost, thereby enabling high query throughput. Our approach is based on per-query peer-selection strategy using two-dimensional histograms of score distributions. A full utilization of the histograms incurs a high communication cost. We show how to drastically reduce this cost by employing a two-phase peer-selection algorithm. We also describe an adaptive approach to peer selection that further increases the recall. Experiments on a large real-world collection show that the recall is indeed high while the number of involved peers and the communication cost are low.
Yosi Mass, Yehoshua Sagiv, Michal Shmueli-Scheuer
CIKM2
2009 On rewriting XPath queries using views
abstract
The problem of rewriting a query using a materialized view is studied for a well known fragment of XPath that includes the following three constructs: wildcards, descendant edges and branches. In earlier work, determining the existence of a rewriting was shown to be coNP-hard, but no tight complexity bound was given. While it was argued that Σ3p is an upper bound, the proof was based on results that have recently been refuted. Consequently, the exact complexity (and even decidability) of this basic problem has been unknown, and there have been no practical rewriting algorithms if the query and the view use all the three constructs mentioned above.
Foto N. Afrati, Rada Chirkova, Manolis Gergatsoulis, Benny Kimelfeld, Vassia Pavlaki, Yehoshua Sagiv
EDBT6
2009 An interactive approach to route search
abstract
In a probabilistic route search, there is a start location, a target location, and search queries Q1, ..., Qn. Each Qi has an answer set Ai consisting of geo-spatial objects and their probabilities. The probability of an object o ∈ Ai specifies the likelihood that o satisfies Qi. The goal is to compute a route that is short and yet has a high probability of satisfying all the Qi. This paper investigates interactive route search. Upon arrival at each object, the user provides feedback specifying whether the object satisfies its corresponding query. The goal is to compute the next object to be visited, based on the feedback. Several heuristic algorithms are given and compared experimentally.
Yaron Kanza, Roy Levin, Eliyahu Safra, Yehoshua Sagiv
GIS4
2009 Running tree automata on probabilistic XML
abstract
Tree automata (specifically, bottom-up and unranked) form a powerful tool for querying and maintaining validity of XML documents. XML with uncertain data can be modeled as a probability space of labeled trees, and that space is often represented by a tree with distributional nodes. This paper investigates the problem of evaluating a tree automaton over such a representation, where the goal is to compute the probability that the automaton accepts a random possible world. This problem is generally intractable, but for the case where the tree automaton is deterministic (and its transitions are defined by deterministic string automata), an efficient algorithm is presented. The paper discusses the applications of this result, including the ability to sample and to evaluate queries (e.g., in monadic second-order logic) while requiring a-priori conformance to a schema (e.g., DTD). XML schemas also include attribute constraints, and the complexity of key, foreign-key and inclusion constraints are studied in the context of probabilistic XML. Finally, the paper discusses the generalization of the results to an extended data model, where distributional nodes can repeatedly sample the same subtree, thereby adding another exponent to the size of the probability space.
Sara Cohen, Benny Kimelfeld, Yehoshua Sagiv
PODS3
2009 ExQueX: exploring and querying XML documents
abstract
ExQueX is an interactive system for exploring and querying XML documents. The exploration is done by searching, ranking and filtering, and it enables users to discover relationships that exist in a given document. The results of the exploration can be used either directly as tree queries or as building blocks in the process of formulating more complex queries. The latter is done by formulating an abstract tree query, whose edges represent relationships that are resolved by using concrete results from the exploration phase. ExQueX facilitates fast and clear understanding of both the contents and complex structures of XML documents.
Benny Kimelfeld, Yehoshua Sagiv, Gidi Weber
SIGMOD Conference2
2009 Route Search over Probabilistic Geospatial Data
Yaron Kanza, Eliyahu Safra, Yehoshua Sagiv
SSTD3
2009 Incorporating constraints in probabilistic XML
abstract
Constraints are important, not only for maintaining data integrity, but also because they capture natural probabilistic dependencies among data items. A probabilistic XML database (PXDB) is the probability subspace comprising the instances of a p-document that satisfy a set of constraints. In contrast to existing models that can express probabilistic dependencies, it is shown that query evaluation is tractable in PXDBs. The problems of sampling and determining well-definedness (i.e., whether the aforesaid subspace is nonempty) are also tractable. Furthermore, queries and constraints can include the aggregate functions count, max, min, and ratio. Finally, this approach can be easily extended to allow a probabilistic interpretation of constraints.
Sara Cohen, Benny Kimelfeld, Yehoshua Sagiv
ACM Trans. Database Syst.3
2009 On the expressiveness of probabilistic XML models
Serge Abiteboul, Benny Kimelfeld, Yehoshua Sagiv, Pierre Senellart
VLDB J.3
2009 Query evaluation over probabilistic XML
Benny Kimelfeld, Yuri Kosharovsky, Yehoshua Sagiv
VLDB J.3
2008 Revisiting redundancy and minimization in an XPath fragment
abstract
Redundancy and minimization of queries are investigated in a well known fragment of XPath that includes child and descendant edges, branches, wildcards, and multiple output nodes. Contrary to a published result, a proposed technique does not guarantee minimality or even non-redundancy, and it is unknown whether a non-redundant query is also minimal. It is shown that for two sub-fragments, non-redundancy and minimality are the same, and can be realized by means of simple (local) tests. The latter property is used to prove that testing non-redundancy is NP-complete.
Benny Kimelfeld, Yehoshua Sagiv
EDBT2
2008 Heuristic algorithms for route-search queries over geographical data
abstract
In a geographical route search, given search terms, the goal is to find an effective route that (1) starts at a given location, (2) ends at a given location, and (3) travels via geographical entities that are relevant to the given terms. A route is effective if it does not exceed a given distance limit whereas the ranking scores of the visited entities, with respect to the search terms, are maximal. This paper introduces route-search queries, suggests three semantics for such queries and deals with the problem of efficiently answering queries under the different semantics. Since the problem of answering route-search queries is a generalization of the traveling salesman problem, it is unlikely to have an efficient solution, i.e., there is no polynomial-time algorithm that solves the problem (unless P=NP). Hence, in this work we consider heuristics for the problem. Methods for effectively computing routes are presented. The methods are compared analytically and experimentally. For these methods, experiments on both synthetic and real-world data illustrate their efficiency and their effectiveness in computing a route that satisfies the constraints of a route-search query. Categories and Subject Descriptors
Yaron Kanza, Eliyahu Safra, Yehoshua Sagiv, Yerach Doytsher
GIS3
2008 Incorporating constraints in probabilistic XML
abstract
Constraints are important not just for maintaining data integrity, but also because they capture natural probabilistic dependencies among data items. A probabilistic XML database (PXDB) is the probability sub-space comprising the instances of a p-document that satisfy a set of constraints. In contrast to existing models that can express probabilistic dependencies, it is shown that query evaluation is tractable in PXDBs. The problems of sampling and determining well-definedness (i.e., whether the above subspace is nonempty) are also tractable. Furthermore, queries and constraints can include the aggregate functions count, max, min and ratio. Finally, this approach can be easily extended to allow a probabilistic interpretation of constraints.
Sara Cohen, Benny Kimelfeld, Yehoshua Sagiv
PODS3
2008 Keyword proximity search in complex data graphs
abstract
In keyword search over data graphs, an answer is a nonredundant subtree that includes the given keywords. An algorithm for enumerating answers is presented within an architecture that has two main components: an engine that generates a set of candidate answers and a ranker that evaluates their score. To be effective, the engine must have three fundamental properties. It should not miss relevant answers, has to be efficient and must generate the answers in an order that is highly correlated with the desired ranking. It is shown that none of the existing systems has implemented an engine that has all of these properties. In contrast, this paper presents an engine that generates all the answers with provable guarantees. Experiments show that the engine performs well in practice. It is also shown how to adapt this engine to queries under the OR semantics. In addition, this paper presents a novel approach for implementing rankers destined for eliminating redundancy. Essentially, an answer is ranked according to its individual properties (relevancy) and its intersection with the answers that have already been presented to the user. Within this approach, experiments with specific rankers are described.
Konstantin Golenberg, Benny Kimelfeld, Yehoshua Sagiv
SIGMOD Conference3
2008 Query efficiency in probabilistic XML models
abstract
Various known models of probabilistic XML can be represented as instantiations of abstract p-documents. Such documents have, in addition to ordinary nodes, distributional nodes that specify the probabilistic process of generating a random document. Within this abstraction, families of pdocuments, which are natural extensions and combinations of previous models, are considered. The focus is on efficiency of applying twig queries (with projection) to p-documents. A closely related issue is the ability to (efficiently) translate a given document of one family into another family. Furthermore, both of these tasks have two variants that correspond to the value-based and object-based semantics.
Benny Kimelfeld, Yuri Kosharovsky, Yehoshua Sagiv
SIGMOD Conference3
2008 Efficiently enumerating results of keyword search over data graphs
Benny Kimelfeld, Yehoshua Sagiv
Inf. Syst.2
2008 Generating all maximal induced subgraphs for hereditary and connected-hereditary graph properties
Sara Cohen, Benny Kimelfeld, Yehoshua Sagiv
J. Comput. Syst. Sci.3
2007 Combining Incompleteness and Ranking in Tree Queries
Benny Kimelfeld, Yehoshua Sagiv
ICDT2
2007 Maximally joining probabilistic data
abstract
Conceptually, the common approach to manipulating probabilistic data is to evaluate relational queries and then calculate the probability of each tuple in the result. This approach ignores the possibility that the probabilities of complete answers are too low and, hence, partial answers (with sufficiently high probabilities) become important. Therefore, we consider the semantics in which answers are maximal (i.e., have the smallest degree of incompleteness), subject tothe constraint that the probability is still above a given threshold.We investigate the complexity of joining relations under the above semantics. In contrast to the deterministic case, this approach gives rise to two different enumeration problems. The first is finding all maximal sets of tuples that are join consistent, connected and have a joint probability above the threshold. The second is computing all maximal tuples that are answers of partial joins and have a probability above the threshold. Both problems are tractable under data complexity. We also consider query-and-data complexity, which rules out as efficient the following naive algorithm: compute all partial answers and then choose the maximal ones among those with probabilities above the threshold. We give efficient algorithms for several, important special cases. We also show that, in general, the first problem is NP-hard whereas the secondis #P-hard.
Benny Kimelfeld, Yehoshua Sagiv
PODS2
2007 Computing a k -Route over Uncertain Geographical Data
Eliyahu Safra, Yaron Kanza, Nir Dolev, Yehoshua Sagiv, Yerach Doytsher
SSTD4
2007 Matching Twigs in Probabilistic XML
Benny Kimelfeld, Yehoshua Sagiv
VLDB2
2007 Deciding equivalences among conjunctive aggregate queries
abstract
Equivalence of aggregate queries is investigated for the class of conjunctive queries with comparisons and the aggregate operators count, count-distinct, min, max, and sum. Essentially, this class contains unnested SQL queries with the above aggregate operators, with a where clause consisting of a conjunction of comparisons, and without a having clause. The comparisons are either interpreted over a domain with a dense order (like the rationals) or with a discrete order (like the integers). Characterizations of equivalence differ for the two cases. For queries with either max or min, equivalence is characterized in terms of dominance mappings, which can be viewed as a generalization of containment mappings. For queries with the count-distinct operator, a sufficient condition for equivalence is given in terms of equivalence of conjunctive queries under set semantics. For some special cases, it is shown that this condition is also necessary. For conjunctive queries with comparisons but without aggregation, equivalence under bag-set semantics is characterized in terms of isomorphism. This characterization essentially remains the same also for queries with the count operator. Moreover, this characterization also applies to queries with the sum operator if the queries have either constants or comparisons, but not both. In the general case (i.e., both comparisons and constants), the characterization of the equivalence of queries with the sum operator is more elaborate. All the characterizations given in the paper are decidable in polynomial space.
Sara Cohen, Werner Nutt, Yehoshua Sagiv
J. ACM3
2007 An incremental algorithm for computing ranked full disjunctions
Sara Cohen, Yehoshua Sagiv
J. Comput. Syst. Sci.2
2006 Efficient integration of road maps
abstract
Integration of two road maps is finding a matching between pairs of objects that represent, in the maps, the same real-world road. Several algorithms were proposed in the past for road-map integration; however, these algorithms are not efficient and some of them even require human feedback. Thus, they are not suitable for many important applications (e.g., Web services) where efficiency, in terms of both time and space, is crucial. This paper presents two efficient algorithms for integrating maps in which roads are represented as polylines. The main novelty of these algorithms is in using only the locations of the endpoints of the polylines rather than trying to match whole lines. Experiments on real-world data are given, showing that our approach of integration based on matching merely endpoints is efficient and accurate (that is, it provides high recall and precision).
Eliyahu Safra, Yaron Kanza, Yehoshua Sagiv, Yerach Doytsher
GIS3
2006 Finding and approximating top-k answers in keyword proximity search
abstract
Various approaches for keyword proximity search have been implemented in relational databases, XML and the Web. Yet, in all of them, an answer is a Q-fragment, namely, a subtree T of the given data graph G, such that T contains all the keywords of the query Q and has no proper subtree with this property. The rank of an answer is inversely proportional to its weight. Three problems are of interest: finding an optimal (i.e., top-ranked) answer, computing the top-k answers and enumerating all the answers in ranked order. It is shown that, under data complexity, an efficient algorithm for solving the first problem is sufficient for solving the other two problems with polynomial delay. Similarly, an efficient algorithm for finding a θ-approximation of the optimal answer suffices for carrying out the following two tasks with polynomial delay, under query-and-data complexity. First, enumerating in a (θ+1)-approximate order. Second, computing a (θ+1)-approximation of the top-k answers. As a corollary, this paper gives the first efficient algorithms, under data complexity, for enumerating all the answers in ranked order and for computing the top-k answers. It also gives the first efficient algorithms, under query-and-data complexity, for enumerating in a provably approximate order and for computing an approximation of the top-k answers.
Benny Kimelfeld, Yehoshua Sagiv
PODS2
2006 Full Disjunctions: Polynomial-Delay Iterators in Action
Sara Cohen, Itzhak Fadida, Yaron Kanza, Benny Kimelfeld, Yehoshua Sagiv
VLDB5
2006 Integrating Data from Maps on the World-Wide Web
Eliyahu Safra, Yaron Kanza, Yehoshua Sagiv, Yerach Doytsher
W2GIS3
2006 Twig Patterns: From XML Trees to Graphs
Benny Kimelfeld, Yehoshua Sagiv
WebDB2
2006 Rewriting queries with arbitrary aggregation functions using views
abstract
The problem of rewriting aggregate queries using views is studied for conjunctive queries with arbitrary aggregation functions and built-in predicates. Two types of queries over views are introduced for rewriting aggregate queries: pure candidates and aggregate candidates . Pure candidates can be used to rewrite arbitrary aggregate queries. Aggregate candidates can be used to rewrite queries containing aggregate functions definable in terms of a commutative-semigroup operation. For both types of candidates (as well as for several relaxations of these candidates), the unfolding property holds. This allows characterizations for query equivalence to be used to determine whether a candidate is a rewriting of a query. The complexity of the rewriting-existence problem is also studied and upper and lower complexity bounds are given.
Sara Cohen, Werner Nutt, Yehoshua Sagiv
ACM Trans. Database Syst.3
2005 Interconnection semantics for keyword search in XML
abstract
A framework for describing semantic relationships among nodes in XML documents is presented. In contrast to earlier work, the XML documents may have ID references (i.e., they correspond to graphs and not just trees). A specific interconnection semantics in this framework can be defined explicitly or derived automatically. The main advantage of interconnection semantics is the ability to pose queries on XML data in the style of keyword search. Several methods for automatically deriving interconnection semantics are presented. The complexity of the evaluation and the satisfiability problems under the derived semantics is analyzed. For many important cases, the complexity is tractable and hence, the proposed interconnection semantics can be efficiently applied to real-world XML documents.
Sara Cohen, Yaron Kanza, Benny Kimelfeld, Yehoshua Sagiv
CIKM4
2005 An Abstract Framework for Generating Maximal Answers to Queries
Sara Cohen, Yehoshua Sagiv
ICDT2
2005 An incremental algorithm for computing ranked full disjunctions
abstract
The full disjunction is a variation of the join operator that maximally combines tuples from connected relations, while preserving all information in the relations. The full disjunction can be seen as a natural extension of the binary outerjoin operator to an arbitrary number of relations and is a useful operator for information integration. This paper presents the algorithm INCREMENTALFD for computing the full disjunction of a set of relations. INCREMENTALFD improves upon previous algorithms for computing the full disjunction in three ways. First, it has a lower total run-time when computing the full result and a lower runtime when computing only k tuples of the result, for any constant k. Second, for a natural class of ranking functions, INCREMENTALFD returns tuples in ranking order. Third, INCREMENTALFD can be adapted to have a block-based execution, instead of a tuple-based execution.
Sara Cohen, Yehoshua Sagiv
PODS2
2005 Efficient Engines for Keyword Proximity Search
Benny Kimelfeld, Yehoshua Sagiv
WebDB2
2005 Equivalences among aggregate queries with negation
abstract
Query equivalence is investigated for disjunctive aggregate queries with negated subgoals, constants and comparisons. A full characterization of equivalence is given for the aggregation functions count, max, sum, prod, top2 and parity . A related problem is that of determining, for a given natural number N , whether two given queries are equivalent over all databases with at most N constants. This problem is called bounded equivalence . A complete characterization of decidability of bounded equivalence is given. In particular, it is shown that this problem is decidable for all the above aggregation functions as well as for cntd (count distinct) and avg . For quasilinear queries (i.e., queries in which predicates that occur positively are not repeated), it is shown that equivalence can be decided in polynomial time for the aggregation functions count, max, sum, prty, prod, top2 and avg . A similar result holds for cntd provided that a few additional conditions hold. The results are couched in terms of abstract characteristics of aggregation functions, and new proof techniques are used. Finally, the results above also imply that equivalence, under bag-set semantics, is decidable for nonaggregate queries with negation.
Sara Cohen, Yehoshua Sagiv, Werner Nutt
ACM Trans. Comput. Log.2
2004 Object Fusion in Geographic Information Systems
Catriel Beeri, Yaron Kanza, Eliyahu Safra, Yehoshua Sagiv
VLDB4
2003 Generating Relations from XML Documents
Sara Cohen, Yaron Kanza, Yehoshua Sagiv
ICDT3
2003 Containment of Aggregate Queries
Sara Cohen, Werner Nutt, Yehoshua Sagiv
ICDT3
2003 Computing full disjunctions
abstract
Under either the OR-semantics or the weak semantics, the answer to a query over semistructured data consists of maximal rather than complete matchings, i.e., some query variables may be assigned null values. In the relational model, a similar effect is achieved by computing the full disjunction (rather than the natural join or equijoin) of the given relations. It is shown that under either the OR-semantics or the weak semantics, query evaluation has a polynomial-time complexity in the size of the query, the database and the result. It is also shown that the evaluation of full disjunctions is reducible to query evaluation under the weak semantics and hence can be done in polynomial time in the size of the input and the output. Complexity results are also given for two related problems. One is evaluating a projection of the full disjunction and the other is evaluating the set of all tuples in the full disjunction that are non-null on some given attributes. In the special case of γ-acyclic relation schemes, both problems have polynomial-time algorithms in the size of the input and the output. In the general case, such algorithms do not exist, assuming that P ≠ NP. Finally, it is shown that the weak semantics can generalize full disjunctions by allowing tuples to be joined according to general types of conditions, rather than just equalities among attributes.
Yaron Kanza, Yehoshua Sagiv
PODS2
2003 XSEarch: A Semantic Search Engine for XML
Sara Cohen, Jonathan Mamou, Yaron Kanza, Yehoshua Sagiv
VLDB4
2002 A Formal Yet Practical Approach to Electronic Commerce
abstract
This work explores (semi-)automated EC on the WWW. The EContracts framework enables EC WWW sites and EC automated tools to present standardized information. This information (1) allows each party to decide whether it wishes to engage in an EC activity with the other party, (2) enables automated negotiation between the parties, and (3) enables the establishment of an electronic contract, i.e. a formal description of an agreed upon EC transaction. The EContracts framework defines the basic software components of an EC party and their interconnections. Based on the EContracts framework, various applications can be built. Examples are deal making applications, deal feasibility checkers, brokers etc. Furthermore, the definitions of the data structures and the algorithms enable a theoretical investigation of automated commerce.
David Konopnicki, Lior Leiba, Oded Shmueli, Yehoshua Sagiv
Int. J. Cooperative Inf. Syst.4
2002 EquiX - A search and query language for XML
abstract
Abstract EquiX is a search language for XML that combines the power of querying with the simplicity of searching. Requirements for such languages are discussed, and it is shown that EquiX meets the necessary criteria. Both a graph‐based abstract syntax and a formal concrete syntax are presented for EquiX queries. In addition, the semantics is defined and an evaluation algorithm is presented. The evaluation algorithm is polynomial under combined complexity. EquiX combines pattern matching, quantification, and logical expressions to query both the data and meta‐data of XML documents. The result of a query in EquiX is a set of XML documents. A DTD describing the result documents is derived automatically from the query.
Sara Cohen, Yaron Kanza, Yakov A. Kogan, Yehoshua Sagiv, Werner Nutt, Alexander Serebrenik
J. Assoc. Inf. Sci. Technol.4
2002 Querying Incomplete Information in Semistructured Data
Yaron Kanza, Werner Nutt, Yehoshua Sagiv
J. Comput. Syst. Sci.3
2001 Equivalences among Aggregate Queries with Negation
abstract
Query equivalence is investigated for disjunctive aggregate queries with negated subgoals, constants and comparisons. A full characterization of equivalence is given for the aggregation functions count, max, sum, prod, top2 and parity. A related problem is that of determining, for a given natural number N, whether two given queries are equivalent over all databases with at most N constants. We call this problem bounded equivalence. A complete characterization of decidability of bounded equivalence is given. In particular, it is shown that this problem is decidable for all the above aggregation functions as well as for cntd (count distinct) and avg. For quasilinear queries (i.e., queries where predicates that occur positively are not repeated) it is shown that equivalence can be decided in polynomial time for the aggregation functions count, max, sum, parity, prod, top2 and avg. A similar result holds for cntd provided that a few additional conditions hold. The results are couched in terms of abstract characteristics of aggregation functions, and new proof techniques are used. Finally, the results above also imply that equivalence, under bag-set semantics, is decidable for non-aggregate queries with negation. 1
Sara Cohen, Werner Nutt, Yehoshua Sagiv
PODS3
2001 Flexible Queries Over Semistructured Data
abstract
Flexible queries facilitate, in a novel way, easy and concise querying of databases that have varying structures. Two different semantics, flexible and semiflexible, are introduced and investigated. The complexity of evaluating queries under the two semantics is analyzed. Query evaluation is polynomial in the size of the query, the database and the result in the following two cases. First, a semiflexible DAG query and a tree database. Second, a flexible tree query and a database that is any graph. Query containment and equivalence are also investigated. For the flexible semantics, query equivalence is always polynomial. For the semiflexible semantics, query equivalence is polynomial for DAG queries and exponential when the queries have cycles. Under the semiflexible and flexible semantics, two databases could be equivalent even when they are not isomorphic. Database equivalence is formally defined and characterized. The complexity of deciding equivalences among databases is analyzed. The implications of database equivalence on query evaluation are explained.
Yaron Kanza, Yehoshua Sagiv
PODS2
2001 Static analysis in datalog extensions
abstract
We consider the problems of containment, equivalence, satisfiability and query-reachability for datalog programs with negation. These problems are important for optimizing datalog programs. We show that both query-reachability and satisfiability are decidable for programs with stratified negation provided that negation is applied only to EDB predicates or that all EDB predicates are unary. In the latter case, we show that equivalence is also decidable. The algorithms we present can also be used to push constraints from a given query to the EDB predicates. In showing our decidability results we describe a powerful tool, the query-tree, which is used for several optimization problems for datalog programs. Finally, we show that satisfiability is undecidable for datalog programs with unary IDB predicates, stratified negation and the interpreted predicate ≠.
Alon Y. Halevy, Inderpal Singh Mumick, Yehoshua Sagiv, Oded Shmueli
J. ACM3
2000 Combining the Power of Searching and Querying
Sara Cohen, Yaron Kanza, Yakov A. Kogan, Werner Nutt, Yehoshua Sagiv, Alexander Serebrenik
CoopIS5
1999 A Formal Yet Practical Approach to Electronic Commerce
abstract
This work explores (semi-) automated EC on the WWW. The EContracts framework enables EC WWW sites and EC automated tools to present standardized information. This information (1) allows each party to decide whether it wishes to engage in an EC activity with the other party, (2) enables automated negotiation between the parties, and (3) enables the establishment of an electronic contract, i.e., a formal description of an agreed upon EC transaction. The EContracts framework defines the basic software components of an EC party and their interconnections. Based on the EContracts framework, various applications can be built. Examples are deal making applications, deal feasibility checkers, brokers etc. Furthermore, the definitions of the data structures and the algorithms enable a theoretical investigation of automated commerce.
David Konopnicki, Lior Leiba, Oded Shmueli, Yehoshua Sagiv
CoopIS4
1999 Queries with Incomplete Answers over Semistructured Data
abstract
Semistructured data occur in situations where informationThe growing need to integrate data from heterogeneous lacks a homogeneous structure and is incomplete.Yet, up to sources and to access data sources with irregular or incomnow the incompleteness of information has not been reflected plete contents is the main motivation for research into semiby special features of query languages for semistructured structured data models and query languages for them.Semidata.Our goal is to investigate the principles of queries that structured data do not comply with a strict schema and allow for incomplete answers.We do not present, however, are inherently incomplete.Query languages for such data a concrete query language.should ,reflect these characteristics.Queries over classical structured data models contain a number of variables and conditions on these variables.An answer is a binding of the variables by elements of the database such that the conditions are satisfied.In the present paper, we loosen this concept in so far as we allow also answers that are partial, that is, not all variables in the query are bound by such an answer.Partial answers make it necessary to refine the model of query evaluation.The first modification relates to the satisfaction of conditions: under some circumstances we consider conditions involving unbound variables as satisfied.Second, in order to prevent a proliferation of answers, we only accept answers that are maximal in the sense that there are no assignments that bind more variables and satisfy the conditions of the query.
Yaron Kanza, Werner Nutt, Yehoshua Sagiv
PODS3
1998 Deciding Equivalences Among Aggregate Queries
abstract
Equivalcncc of aggregate queries is investigated for the class of conjunctive queries with comparisons and the aggregate operators min, max, count, count-distinct, and sum.Essentlally, this class contains all unnested SQL queries with the above aggregate operators, with a WHERE clause consisting of a conjunction of comparisons, and without a HAVING clause.The comparisons can be interpreted over either a dense order (c,g., over the rationals) or a discrete order (e.g., over the integers).Generally, however, different techniques and characterizations are needed in each of these two case-s.For queries with either max or min, equivalence is characterlzcd in terms of dominance mappings, which can be viewed aa a goncralization of containment mappings.For queries with the count-distinct operator, a sufficient condition for cquivalcncc is given in terms of equivalence of conjunctive qucrics under set semantics.For some special cases, it is shown that this condition is also necessary.For conjunctive queries with comparisons but without aggregation, equivalence under bag-set semantics is characterized in terms of isomorphism, This characterization essentially remains the same also for queries with the count operator.Moreover, this characterization also applies to queries with the sum operator if the queries have either constants or comparisons, but not both.In the general case (i.e., both comparisons and constants), the characterization of the equivalence of queries with the sum operator is more elaborate.All the characterizations given in the paper are decidable with polynomial spncc, Finally, it is shown that all the characterizations for min-, max-, count-, and sum-queries yield polynomial-time algorithms for linear queries, i.e., queries with no repeated prcdicatcs in their bodies.
Werner Nutt, Yehoshua Sagiv, Sara Cohen
PODS2
1998 WebSuite: A Tool Suite for Harnessing Web Data
Catriel Beeri, Gershon Elber, Tova Milo, Yehoshua Sagiv, Oded Shmueli, Naftali Tishby, Yakov A. Kogan, David Konopnicki, Pini Mogilevski, Noam Slonim
WebDB4
1998 Utilizing the Multiple Facets of WWW Contents
Yakov A. Kogan, David Michaeli, Yehoshua Sagiv, Oded Shmueli
Data Knowl. Eng.3
1997 TermiLog: A System for Checking Termination of Queries to Logic Programs
Naomi Lindenstrauss, Yehoshua Sagiv, Alexander Serebrenik
CAV2
1997 Automatic Termination Analysis of Logic Programs
Naomi Lindenstrauss, Yehoshua Sagiv
ICLP2
1997 Speeding up Inferences Using Relevance Reasoning: A Formalism and Algorithms
Alon Y. Halevy, Richard Fikes, Yehoshua Sagiv
Artif. Intell.3
1997 Monotonic Aggregation in Deductive Database
Kenneth A. Ross, Yehoshua Sagiv
J. Comput. Syst. Sci.2
1997 The TSIMMIS Approach to Mediation: Data Models and Languages
Hector Garcia-Molina, Yannis Papakonstantinou, Dallan Quass, Anand Rajaraman, Yehoshua Sagiv, Jeffrey D. Ullman, Vasilis Vassalos, Jennifer Widom
J. Intell. Inf. Syst.5
1996 Decomposition of Relationships through Pivoting
Joachim Biskup, Ralf Menzel, Torsten Polle, Yehoshua Sagiv
ER4
1995 Answering Queries Using Views
abstract
We consider the problem of computing answers to queries by using materialized views.Aside from its potential in optimizing query evaluation, the problem also arises in
Alon Y. Halevy, Alberto O. Mendelzon, Yehoshua Sagiv, Divesh Srivastava
PODS3
1995 Semantic Query Optimization in Datalog Programs
abstract
) Alon Y. Levy AT&T Bell Laboratories [email protected] Yehoshua Sagiv Hebrew University, Jerusalem [email protected] Abstract Semantic query optimization refers to the process of using integrity constraints (ic's) in order to optimize the evaluation of queries. The process is well understood in the case of unions of select-project-join queries (i.e., nonrecursive datalog). For arbitrary datalog programs, however, the issue has largely remained an unsolved problem. This paper studies this problem and shows when semantic query optimization can be completely done in recursive rules provided that order constraints and negated EDB subgoals appear only in the recursive rules, but not in the ic's. If either order constraints or negated EDB subgoals are introduced in ic's, then the problem of semantic query optimization becomes undecidable. Since semantic query optimization is closely related to the containment problem of a datalog program in a union of conjunctive queries, our res...
Alon Y. Halevy, Yehoshua Sagiv
PODS2
1995 Answering Queries Using Templates with Binding Patterns
Anand Rajaraman, Yehoshua Sagiv, Jeffrey D. Ullman
PODS2
1995 Optimization of a Subclass of Conjunctive Queries
Joachim Biskup, Pratul Dublish, Yehoshua Sagiv
Acta Informatica3
1995 Editor's Forword
Yehoshua Sagiv
J. Comput. Syst. Sci.1
1995 Argument Reduction by Factoring
Jeffrey F. Naughton, Raghu Ramakrishnan 0001, Yehoshua Sagiv, Jeffrey D. Ullman
Theor. Comput. Sci.3
1994 Constraint Checking with Partial Information
abstract
Constraints are a valuable tool for managing information across multiple databases, as well as for general purposes of assuring data integrity. However, efficient implementation of constraint checking is difficult. In this paper we explore techniques for assuring constraint satisfaction without performing a complete evaluation of the constraints. We consider methods that use only constraint definitions, methods that use constraints and updates, and methods that use constraints, updates, and “local” data.
Ashish Gupta 0001, Yehoshua Sagiv, Jeffrey D. Ullman, Jennifer Widom
PODS2
1994 Query Optimization by Predicate Move-Around
Alon Y. Halevy, Inderpal Singh Mumick, Yehoshua Sagiv
VLDB3
1993 Exploiting Irrelevance Reasoning to Guide Problem Solving
Alon Y. Halevy, Yehoshua Sagiv
IJCAI2
1993 Equivalence, Query-Reachability, and Satisfiability in Datalog Extensions
abstract
We consider the problems of equivalence, satisfiability and query-reachability for datalog programs with negation and dense-order constraints. These problems are important for optimizing datalog programs. We show that both query-reachability and satisfiability are decidable for programs with stratified negation provided that negation is applied only to EDB predicates or that all EDB predicates are unary. In the latter case, we show that equivalence is also decidable. The algorithms we present are also used to push constraints from a given query to the EDB predicates. Finally, we show that satisfiability is undecidable for datalog programs with unary IDB predicates, stratified negation and the interpreted predicate ≠
Alon Y. Halevy, Inderpal Singh Mumick, Yehoshua Sagiv, Oded Shmueli
PODS3
1993 Queries Independent of Updates
Alon Y. Halevy, Yehoshua Sagiv
VLDB2
1993 Undecidable Optimization Problems for Database Logic Programs
abstract
Datalogis the language of logic programs without function symbols.It is used as a database query language.If it is possible to eliminate recursion from a Datalog program F', then t' is said to be bounded.It is shown that the problem of deciding whether a given Datalog program is bounded is undecidable, even for linear programs (i.e., programs in which each rule contains at most one occurrence of a recursive predicate).It is then shown that every semantic property of Datalog programs is undecidable if it is stable, is strongly nontrivial, and contains An earlier version of this work appeared under the same title in the Proceedings of the 2nd IEEE Symposium on Logic i~z Computer Science (Ithaca, N.Y.).
Haim Gaifman, Harry G. Mairson, Yehoshua Sagiv, Moshe Y. Vardi
J. ACM3
1993 Logical Query Optimization by Proff-Tree Transformation
Raghu Ramakrishnan 0001, Yehoshua Sagiv, Jeffrey D. Ullman, Moshe Y. Vardi
J. Comput. Syst. Sci.2
1993 Solving Queries by Tree Projections
abstract
Suppose a database schema D is extended to D¯ by adding new relation schemas, and states for D are extended to states for D¯ by applying joins and projections to existing relations. It is shown that certain desirable properties that D¯ has with respect to D . These properties amount to the ability to compute efficiently the join of all relations in a state for D from an extension of this state over D¯ . The equivalence is proved for unrestricted (i.e., both finite and infinite) databases. If D¯ is obtained from D by adding a set of new relation schemas that form a tree schema, then the equivalence also holds for finite databases. In this case there is also a polynomial time algorithm for testing the existence of a tree projection of D¯ with respect to D .
Yehoshua Sagiv, Oded Shmueli
ACM Trans. Database Syst.1
1992 Constraints and Redundancy in Datalog
abstract
Two types of redundancies in datalog program are considered. Redundancy based on reachability eliminates rules and predicates that do not participate in any derivation tree of a fact for the query predicate. Redundancy based on irrelevance is similar, but considers only minimal derivation trees, that is, derivation trees having no pair of identical atoms, such that one is an ancestor of the other. Algorithms for detecting these redundancies are given, including the case of programs with constraint literals. These algorithms not only detect redundancies in the presence of constraints, but also push constraints from the given query and rules to the EDB predicates. Under certain assumptions discussed in the paper, the constraints are pushed to the EDB as tightly as possible.
Alon Y. Halevy, Yehoshua Sagiv
PODS2
1992 Monotonic Aggregation in Deductive Databases
abstract
We propose a semantics for aggregates in deductive databases based on a notion of minimality. Unlike some previous approaches, we form a minimal model of a program component including aggregate operators, rather than insisting that the aggregate apply to atoms that have been fully determined, or that aggregate functions are rewritten in terms of negation. In order to guarantee the existence of such a minimal model we need to insist that the domains over which we are aggregating are complete lattices, and that the program is in a sense monotonic. Our approach generalizes previous approaches based on the well-founded semantics and various forms of stratification. We are also able to handle a large variety of monotonic (or pseudo-monotonic) aggregate functions.
Kenneth A. Ross, Yehoshua Sagiv
PODS2
1992 Querying Object-Oriented Databases
abstract
We present a novel language for querying object-oriented databases. The language is built around the idea of extended path expressions that substantially generalize [ZAN83], and on an adaptation of the first-order formalization of object-oriented languages from [KW89, KLW90, KW92]. The language incorporates features not found in earlier proposals; it is easier to use and has greater expressive power. Some of the salient features of our language are: ffl Precise model-theoretic semantics. ffl A very expressive form of path expressions that not only can do joins, selections and unnesting, but can also be used to explore the database schema. ffl Views can be defined and manipulated in a much more uniform way than in other proposals. ffl Database schema can be explored in the very same language that is used to retrieve data. Unlike in relational languages, the user needs not know anything about the system tables that store schema information. ffl The notions of a type and type-correctness have precise meaning. It accommodates a wide variety of queries that might be deemed well- or ill-typed under different circumstances. In particular, we show that there is more than one way of settling the issue of type correctness. For expository purposes and due to space limitation, we chose to make a number of simplifying assumptions and left some features out. A more complete account can be found in [KSK92].
Michael Kifer, Won Kim 0001, Yehoshua Sagiv
SIGMOD Conference3
1992 Minimizing Restricted-Fanout Queries
Yehoshua Sagiv, Yatin P. Saraiya
Discret. Appl. Math.1
1991 Inference of Inequality Constraints in Logic Programs
abstract
Article Free Access Share on Inference of inequality constraints in logic programs (extended abstracts) Authors: Alexander Brodsky Hebrew University Hebrew UniversityView Profile , Yehoshua Sagiv Hebrew University and Stanford University Hebrew University and Stanford UniversityView Profile Authors Info & Claims PODS '91: Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systemsApril 1991 Pages 227–240https://doi.org/10.1145/113413.113434Online:01 April 1991Publication History 27citation263DownloadsMetricsTotal Citations27Total Downloads263Last 12 Months5Last 6 weeks0 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New BinderNameCancelCreateExport CitationPublisher SiteeReaderPDF
Alexander Brodsky 0001, Yehoshua Sagiv
PODS2
1991 Evaluation of Queries in Independent Database Schemes
abstract
A simple characterization of independent database schemes is proved. An algorithm is given for translating a tableau T , posed as a query on a representative instance, to a union of tableaux that is equivalent to T , but can be applied directly to database relations. The algorithm may take exponential time (in the size of T and the database scheme), and it is applicable only to independent database schemes. If T is a just a projection of a representative instance, then the algorithm has a simpler form (which is still exponential in the worst case) and is polynomial in some cases.
Yehoshua Sagiv
J. ACM1
1990 Optimizatioin of a Subclass of Conjunctive Queries
Pratul Dublish, Joachim Biskup, Yehoshua Sagiv
ICDT3
1989 Inference of Monotonicity Constraints in Datalog Programs
abstract
Datalog (i.e., function-free logic) programs with monotonicity constraints on extensional predicates are considered. A monotonicity constraint states that one argument of a predicate is always less than another argument, according to some partial order. Relations of an extensional database are required to satisfy the monotonicity constraints imposed on their predicates. More specifically, a partial order is defined on the domain (i.e., set of constants) of the database, and every tuple of each relation satisfies the monotonicity constraints imposed on its predicate. An algorithm is given for inferring all monotonicity constraints that hold in relations of the intensional database from monotonicity constraints that hold in the extensional database. A complete inference algorithm is also given for disjunctions of monotonicity and equality constraints. It is shown that the inference of monotonicity constraints in programs is a complete problem for exponential time. For linear programs, this problem is complete for polynomial space.
Alexander Brodsky 0001, Yehoshua Sagiv
PODS2
1989 Proof-Tree Transformation Theorems and Their Applications
abstract
For certain sets of logical rules, one can demonstrate that for every proof tree there is another tree proving the same fact and having a special form. One technique for detecting such opportunities is to reduce the question to one of conjunctive-query containment. A more powerful technique is to test whether one conjunctive query is contained in the infinite union of conjunctive queries formed by expanding a set of recursive rules. We discuss two applications of these techniques. First, we give tests for commutativity of linear rules. When linear rules commute, we can reduce the complexity of “counting” methods for query evaluation from exponential to polynomial; commutativity also implies separability in the sense of Naughton. A second application is the discovery of linear rules that are equivalent to given nonlinear rules.
Raghu Ramakrishnan 0001, Yehoshua Sagiv, Jeffrey D. Ullman, Moshe Y. Vardi
PODS2
1989 Safety of Datalog Queries over Infinite Databases
abstract
A query is safe with respect to a set of constraints if for every database that satisfies the constraints the query is guaranteed to yield a finite set of answers. We study here the safety problem for Datalog programs with respect to finiteness constraints. We show that safety can be viewed as a combination of two properties: weak safety, which guarantees the finiteness of intermediate answers, and termination, which guarantees the finiteness of the evaluation. We prove that while weak safety is decidable, termination is not. We then consider monadic programs, i.e., programs in which all intensional predicates are monadic, and show that safety is decidable in polynomial time for monadic programs. While we do not settle the safety problem, we show that a closely related problem, the decision problem for safety with respect to functional dependencies, is undecidable even for monadic programs.
Yehoshua Sagiv, Moshe Y. Vardi
PODS1
1989 Efficient Evaluation of Right-, Left-, and Mult-Lineare Rules
abstract
We present an algorithm for the efficient evaluation of a useful subset of recursive queries. Like the magic sets transformation, the algorithm consists of a rewriting phase followed by semi-naive bottom-up evaluation of the resulting rules. We prove that on a wide range of recursions, this algorithm achieves a factor of Ο(n) speedup over magic sets. Intuitively, the transformations in this algorithm achieve their performance by reducing the arity of the recursive predicates in the transformed rules.
Jeffrey F. Naughton, Raghu Ramakrishnan 0001, Yehoshua Sagiv, Jeffrey D. Ullman
SIGMOD Conference3
1989 Argument Reduction by Factoring
Jeffrey F. Naughton, Raghu Ramakrishnan 0001, Yehoshua Sagiv, Jeffrey D. Ullman
VLDB3
1989 Concurrency and Trie Hashing
Witold Litwin, Yehoshua Sagiv, Krishnamurthy Vidyasankar
Acta Informatica2
1989 On the Convergence of Query Evaluation
Foto N. Afrati, Christos H. Papadimitriou, George Papageorgiou 0001, Athena Roussou, Yehoshua Sagiv, Jeffrey D. Ullman
J. Comput. Syst. Sci.5
1989 A Characterization of Finite fd-Acyclicity
Yehoshua Sagiv, Oded Shmueli
J. Comput. Syst. Sci.1
1988 On Bounded Database Schemes and Bounded Horn-Clause Programs
abstract
A lossless database scheme with full implicational dependencies is considered. The following condition is necessary in order that restricted projections of the representative instance could be expressed in relational algebra (i.e., in first-order logic): The dependencies of the database scheme are equivalent to a single join dependency and some equality-generating dependencies. An important special case is when the database scheme has only full tuple-generating dependencies. In this case, restricted projections of the representative instance can be expressed in relational algebra if and only if the following condition is true: The dependencies of the database scheme are equivalent to a single join dependency. Testing this condition is decidable. This result also applies to the class of Horn-clause programs consisting only of typed rules with one predicate symbol R (and without function symbols). A program consisting of rules of this form is equivalent to a nonrecursive program if and only if it is equivalent to a project-join mapping. Finally, it is also shown that a tableau mapping is idempotent if and only if it is a project-join mapping.
Yehoshua Sagiv
SIAM J. Comput.1
1987 Undecidable Optimization Problems for Database Logic Programs
Haim Gaifman, Harry G. Mairson, Yehoshua Sagiv, Moshe Y. Vardi
LICS3
1987 A Decidable Class of Bounded Recursions
abstract
Detecting bounded recursions is a powerful optimization technique for recursions database query languages as bounded recursions can be replaced by equivalent nonrecursive definitions. The problem is of theoretical interest because by varying the class of recursions considered one can generate instances that vary from linearly decidable to NP-hard to undecidable. In this paper we review and clarify the existing definitions of boundedness. We then specify a sample criterion that guarantees that the condition in Vaughton [7] is necessary and sufficient for boundedness. The programs satisfying this criterion subsume and extend previously known decidable classes of bounded linear recursions.
Jeffrey F. Naughton, Yehoshua Sagiv
PODS2
1987 Optimizing Datalog Programs
abstract
Datalog programs, i.e., Prolog programs without function symbols, are considered It is assumed that a variable appearing in the head of a rule must also appear in the body of the rule. The input of a program is a set of ground atoms (which are given in addition to the program's rules) and, therefore, can be viewed as an assignment of relations to some of the program's predicates. Two programs are equivalent if they produce the same result for all possible assignments of relations to the extensional predicates (i.e., the predicates that do not appear as heads of rules). Two programs are uniformly equivalent if they produce the same result for all possible assignments of initial relations to all the predicates (i.e., both extensional and intentional). The equivalence problem for Datalog programs is known to be undecidable. It is shown that uniform equivalence is decidable, and an algorithm is given for minimizing a Datalog program under uniform equivalence. A technique for removing parts of a program that are redundant under equivalence (but not under uniform equivalence) is developed. A procedure for testing uniform equivalence is also developed for the case in which the database satisfies some constraints.
Yehoshua Sagiv
PODS1
1987 Correction to "An equivalence between relational database dependencies and a fragment of propositional logic"
abstract
According to the definition of satisfaction of Boolean dependencies, Theorem 15 is not true for Boolean dependencies with negation. (A positive Boolean dependency is built using the Boolean connectives ⋏, ⋎, and ↛; a general Boolean dependency (with negation) may use also the Boolean connective ¬.) Actually, the definition of satisfaction is not meaningful for Boolean dependencies with negation, since many are never satisfied. We show how the definition of satisfaction should be changed in order to make Boolean dependencies with negation meaningful and correct the error. We associate with each relation r a set α( r ) of truth assignments , as follows. For each pair of distinct tuples of r , the set α( r ) contains the truth assignment that maps an attribute A to true if the two tuples are equal on A , and to false if the two tuples have different values for A . A Boolean dependency σ is satisfied by a relation r if σ (i.e., the corresponding Boolean formula) satisfies every truth assignment of α( r ). The original definition given in the paper is equivalent to having α( r ) also include the truth assignment that is generated by pairs in which both tuples are really the same tuple of r , that is, to having α( r ) also always include the truth assignment τ mapping all attributes to true. Under that definition, however, many Boolean dependencies with negation are never satisfied and, hence, are meaningless. More precisely, according to the original definition, a Boolean dependency is satisfied by
Yehoshua Sagiv, Claude Delobel, Douglas Stott Parker Jr., Ronald Fagin
J. ACM1
1986 Convergence of Sideways Query Evaluation
abstract
Article Free Access Share on Convergence of sideways query evaluation Authors: Foto Afrati National Technical University of Athens National Technical University of AthensView Profile , Christos Papadimitriou Stanford University Stanford UniversityView Profile , George Papageorgiou National Technical University of Athens National Technical University of AthensView Profile , Athena Roussou National Technical University of Athens National Technical University of AthensView Profile , Yehoshua Sagiv Stanford University Stanford UniversityView Profile , Jeffrey D Ullman Stanford University Stanford UniversityView Profile Authors Info & Claims PODS '86: Proceedings of the fifth ACM SIGACT-SIGMOD symposium on Principles of database systemsJune 1985Pages 24–30https://doi.org/10.1145/6012.15400Published:01 June 1985Publication History 15citation220DownloadsMetricsTotal Citations15Total Downloads220Last 12 Months10Last 6 weeks0 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New BinderNameCancelCreateExport CitationPublisher SiteeReaderPDF
Foto N. Afrati, Christos H. Papadimitriou, George Papageorgiou 0001, Athena Roussou, Yehoshua Sagiv, Jeffrey D. Ullman
PODS5
1986 Magic Sets and Other Strange Ways to Implement Logic Programs
abstract
Several methods for implementing database queries expressed as logical rules are given and they are compared for efficiency. One method, called “magic sets,” is a general algorithm for rewriting logical rules so that they may be implemented bottomUP (= forward chaining) in a way that cuts down on the irrelevant facts that are generated. The advantage of this scheme is that by working bottom-up, we can take advantage of efficient methods for doing massive joins. Two other methods are ad hoc ways of implementing “linear” rules, i.e., rules where at most one predicate in any body is recursive. These methods are
François Bancilhon, David Maier 0001, Yehoshua Sagiv, Jeffrey D. Ullman
PODS3
1986 The Equivalence of Solving Queries and Production Tree Projections
abstract
Article The equivalence of solving queries and producing tree projections (extended abstract) Share on Authors: Yehoshua Sagiv View Profile , Oded Shmueli View Profile Authors Info & Claims PODS '86: Proceedings of the fifth ACM SIGACT-SIGMOD symposium on Principles of database systemsJune 1985 Pages 160–172https://doi.org/10.1145/6012.15413Online:01 June 1985Publication History 3citation309DownloadsMetricsTotal Citations3Total Downloads309Last 12 Months2Last 6 weeks0 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New BinderNameCancelCreateExport CitationPublisher SiteGet Access
Yehoshua Sagiv, Oded Shmueli
PODS1
1986 On Finite FD-Acyclicity
abstract
Database schemes with functional dependencies are considered.The satisfying states of these schemes are those having representative instances that satisfy all the xfunctional dependencies.All states are assumed to be finite.A database scheme is fdacyclic if all its pairwise consistent satisfying states are also join consistent.If the relation schemes of a database scheme are closed under the functional dependencies, then the database scheme is fd-acyclic if and only if it is acyclic (i.e., its corresponding hypergraph is acyclic).If a cover of the functional dependencies is embedded in the database scheme, then fd-acyclicity can be tested in polynomial time.
Yehoshua Sagiv, Oded Shmueli
PODS1
1986 Concurrent Operations on B*-Trees with Overtaking
Yehoshua Sagiv
J. Comput. Syst. Sci.1
1985 Concurrent Operations on B-Trees with Overtaking
abstract
Algorithms for concurrent operations (i.e., searches, insertions, and deletions) on B∗-trees are presented. These algorithms improve those given by Lehman and Yao (ACM Trans. Database Systems 6, No. 4 (1981), 650–670), since an insertion process has to lock only one node at any time (as opposed to locking simultaneously two or three nodes in ibid. Another improvement is the ability to compress the tree when some nodes become too sparse as a result of some deletions. Compressing the tree is done by a process that periodically scans the whole tree while running concurrently with the other operations. Alternatively, it is possible to initiate a compression process after each deletion that leaves a node less than half full. These compression processes may run concurrently with the other operations, and they scan only the nodes that have to be compressed. Each compression process has to lock simultaneously three nodes.
Yehoshua Sagiv
PODS1
1985 On Computing Restricted Projections of Representative Instances
abstract
Article On computing restricted projections of representative instances Share on Author: Yehoshua Sagiv View Profile Authors Info & Claims PODS '85: Proceedings of the fourth ACM SIGACT-SIGMOD symposium on Principles of database systemsMarch 1985 Pages 171–180https://doi.org/10.1145/325405.325427Online:25 March 1985Publication History 24citation82DownloadsMetricsTotal Citations24Total Downloads82Last 12 Months2Last 6 weeks1 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New BinderNameCancelCreateExport CitationPublisher SiteGet Access
Yehoshua Sagiv
PODS1
1983 Designing Globally Consistent Network Schemas
abstract
In this paper we address several problems relating to functional dependencies and network schemas. We investigate properties of the functional dependencies that are implicitly defined in a network schema. A definition for the satisfaction of functional dependencies by a network database is proposed, and then we give a sufficient condition for the global consistency of a network schema. A network schema is globally consistent if all its databases satisfy the functional dependencies that are implicitly defined in the schema. Finally, we describe a design methodology for producing a network schema whose set of implicitly defined functional dependencies implies a set of functional dependencies specified by the user.
Sharon McCure Kuck, Yehoshua Sagiv
SIGMOD Conference2
1983 Quadratic Algorithms for Minimizing Joins in Restricted Relational Expressions
abstract
An important step in the optimization of queries in relational databases is minimizing the number of join operations in the evaluation of a query. It is shown that three subclasses of tableaux (including the subclass of simple tableaux) have $O(n^2 )$ time equivalence and minimization algorithms. Since tableaux are nonprocedural representations of relational expressions over select, project and join, these minimization algorithms can be used to minimize the number of join operators in expressions whose tableaux belong to one of these subclasses.
Yehoshua Sagiv
SIAM J. Comput.1
1983 A Characterization of Globally Consistent Databases and Their Correct Access Paths
abstract
The representative instance is proposed as a representation of the data stored in a database whose relations are not the projections of a universal instance. Database schemes are characterized for which local consistency implies global consistency. (Local consistency means that each relation satisfies its own functional dependencies; global consistency means that the representative instance satisfies all the functional dependencies.) A method of efficiently computing projections of the representative instance is given, provided that local consistency implies global consistency. Throughout, it is assumed that a cover of the functional dependencies is embodied in the database scheme in the form of keys.
Yehoshua Sagiv
ACM Trans. Database Syst.1
1982 A Universal Relation Database System Implemented via the Network Model
abstract
We describe a network schema design algorithm that uses a well-designed relational schema as input. The resulting network database handles incomplete information, since we use only the modified foreign-key constraint and not the universal instance assumption. We believe that the representative instance is a correct representation of information stored in the database. We show how to map the representative instance to the network database. We give two algorithms for translating a relational query to a network application program. The first algorithm is confined to relational queries that express selections and projections over the universal relation scheme. The second algorithm includes all relational queries over select, project and (natural) join. Optimization techniques are discussed for both types of translation.
Sharon McCure Kuck, Yehoshua Sagiv
PODS2
1982 Subset Dependencies and a Completeness Result for a Subclass of Embedded Multivalued Dependencies
abstract
It tS shown that embedded multwalued dependencies do not have a complete axlomatizatlon A new type of dependenoes, called subset dependencies, is introduced.Subset dependencies are a generahzauon of embedded multtvalued dependencies It is shown that a subclass of subset dependenoes (that does not include all the embedded multwalued dependenoes) has a complete axlomatlzation consisting of reflexivity and translt~vity rules As a result, ~t ~s shown how to test implications of embedded muluvalued dependencies under some restricted conditions Categories and Subject Descriptors H 2 1 ]Database Management] Logical Destgn--data models
Yehoshua Sagiv, Scott F. Walecka
J. ACM1
1981 Can We Use the Universal Instance Assumption Without Using Nulls?
abstract
We claim that the representative instance of [Ho1, Va3] is a correct representation of the data stored in a database even when the relations of the database are not the projections of a single universal instance. If no constraint (other than functional and join dependencies) is imposed on the data, then projections of the representative instance cannot always be computed by lossless joins. We show that if the database satisfies a modified foreign-key constraint, then projections of the representative instance can be computed by performing the union of several lossless joins. A class of relation schemes for which no constraint is necessary is characterized, and we show how to compute projections of the representative instance for databases that belong to this class.
Yehoshua Sagiv
SIGMOD Conference1
1981 On the Complexity of Testing Implications of Functional and Join Dependencies
abstract
It iS shown that testing whether a dependency o is unpiled by a set ~ of functional and join dependencies is NP-hard if o is a join dependency, but it reqmres only O(l u Ill ~ II) time ff o Is either a funcuonal or a multivalued dependency ( j U [ is the number of elements in the set of all the attributes U, and II ~ II as the space required to write down ~).The fact that inferring join dependencies is NP-hard follows from the followmg stronger result.It is proved that if ~ is a set of one jom dependency and several funcuonal dependencies, then testing whether Z implies a join dependency o is NP-complete By combming this result with a recent result of Beeri and Var& ~t can be proved that if 2 is a set of one join dependency and several multivalued dependencies, then testing whether ~ unphes a join dependency o Is NP-hard It is also shown that the problem of deciding whether a JD-rule can be applied to a tableau T and the problem of testing whether a relation r does not obey a join dependency are NP-complete.The first problem is NP-complete even if T can be obtamed from a tableau corresponding to a join dependency by applying some FD-rules.As a result, It follows that deciding whether the join of several relations obtained by projecUon from a umversal instance is not equal to the universal instance is NP-complete.Finally, it is proved that there is no umversal constant n such that for every set of multlvalued dependencies ~ and a join dependency o that is not unpiled by ~, there is a relation with no more than n tuples in which holds but o fails.
David Maier 0001, Yehoshua Sagiv, Mihalis Yannakakis
J. ACM2
1981 An Equivalence Between Relational Database Dependencies and a Fragment of Propositional Logic
abstract
It is known that there is an eqmvalence between functional dependencies m a relatmonal database and a certain fragment of proposmonal logic Thins eqmvalence is extended to include both functional and multivalued dependencmes.Thus, for each dependency there is a corresponding statement m proposmonal logic.It ms then shown that a dependency (funcuonal or multivalued) is a consequence of a set of dependencies ff and only ff the corresponding proposiuonal statement ~s a consequence of the corresponding set of proposmonal statements.Examples are given to show that these techniques are valuable mn provmdmg much shorter proofs of theorems about dependencies than have been obtained by more tradmonal means It is shown that this eqmvalence cannot be extended to include either join dependencies or embedded multmvalued dependencies.
Yehoshua Sagiv, Claude Delobel, Douglas Stott Parker Jr., Ronald Fagin
J. ACM1
1981 Inferring a Tree from Lowest Common Ancestors with an Application to the Optimization of Relational Expressions
abstract
We present an algorithm for constructing a tree to satisfy a set of lineage constraints on common ancestors. We then apply this algorithm to synthesize a relational algebra expression from a simple tableau, a problem arising in the theory of relational databases.
Alfred V. Aho, Yehoshua Sagiv, Thomas G. Szymanski, Jeffrey D. Ullman
SIAM J. Comput.2
1981 Equivalence of Relational Database Schemes
abstract
We investigate the question of when two database schemes embody the same information. We argue that this question reduces to the equivalence of the sets of fixed points of the project-join mappings associated with the two database schemes in question. When data dependencies are given, we need only consider those fixed points that satisfy the dependencies. A polynomial algorithm to test the equivalence of database schemes, when there are no dependencies, is given. We also provide an exponential algorithm to handle the case where there are functional and/or multivalued dependencies. Furthermore, we give a polynomial time test to determine whether a project-join mapping preserves a set of functional dependencies, and a polynomial time algorithm for equivalence of database schemes whose project-join mappings do preserve the given set of functional dependencies. Lastly, we introduce the “update sets” approach to database design as an application of these results.
Catriel Beeri, Alberto O. Mendelzon, Yehoshua Sagiv, Jeffrey D. Ullman
SIAM J. Comput.3
1980 An Algorithm for Inferring Multivalued Dependencies with an Application to Propositional Logic
abstract
An algorithm is given for deciding whether a functional or a multivalued dependency σ (with a right-hand side Y ) is implied by a set of functional and multivalued dependencies Σ. The running time of the algorithm is O (| Y |‖Σ‖), where Y is the number of attributes in Y and ‖Σ‖ is the size of the description of Σ. The problem of constructing the dependency basis of a set of attributes X is also investigated. It is shown that the dependency basis can be found in O ( S ‖Σ‖) time, where S is the number of sets in the dependency basis. Since functional and multivalued dependencies correspond to a subclass of propositional logic (that can be viewed as a generalization of Horn clauses), the algorithm given is also an efficient inference procedure for this subclass of propositional logic.
Yehoshua Sagiv
J. ACM1
1980 Equivalences Among Relational Expressions with the Union and Difference Operators
abstract
Queries in relational databases can be formulated in terms of relational expressions using the relational operations select, project, join, union, and difference The equivalence problem for these queries is studied with query optimization m mind It ts shown that testmg eqmvalence of relational expressions with the operators select, project, join, and union is complete m the class FIt of the polynomial-time hierarchy A nonprocedural representation for queries formulated by these expressions is proposed This method of query representation can be viewed as a generahzatlon of tableaux or conjunctive queries (which are used to represent expressions with only select, project, and join) Furthermore, this method is extended to queries formulated by relatmnal expressions that also contain the difference operator, provided that the project operator is not applied to subexpresstons with the difference operator A procedure for testing eqmvalence of these queries is given It ts shown that testmg containment of tableaux is a necessary step in testing equivalence of queries with union and difference Three important cases m which containment of tableaux can be tested m polynomial time are described, although the containment problem is shown to be NP-complete even for tableaux that correspond to expressions with only one project and several join operators
Yehoshua Sagiv, Mihalis Yannakakis
J. ACM1
1979 Testing Implications of Data Dependencies (Abstract)
abstract
We present a computation method---the chase---for testing implication of data dependencies by a set of data dependencies. The chase operates on tableaux similar to those of Aho, Sagiv, and Ullman. The chase includes previous tableau computation methods as special cases. By interpreting tableaux alternately as mappings or as templates for instances, we can test implication of functional and join dependencies. This information is useful in determining when a relational database scheme accurately represents the information it is intended to. The chase can also be used to test equivalence of database schemes and as part of the test of whether the relation schemes in a database scheme are independent components.
David Maier 0001, Alberto O. Mendelzon, Yehoshua Sagiv
SIGMOD Conference3
1979 Equivalence of Relational Database Schemes
abstract
We investigate the question of when two database schemes embody the same information. We argue that this question reduces to the equivalence of the sets of fixed points of the project-join mappings associated with the two database schemes in question. When data dependencies are given, we need only consider those fixed points that satisfy the dependencies. A polynomial algorithm to test the equivalence of database schemes, when there are no dependencies, is given. We also provide an exponential algorithm to handle the case where there are functional and/or multivalued dependencies. Furthermore, we give a polynomial time test to determine whether a project-join mapping preserves a set of functional dependencies, and a polynomial time algorithm for equivalence of database schemes whose project-join mappings do preserve the given set of functional dependencies. Lastly, we introduce the “update sets” approach to database design as an application of these results.
Catriel Beeri, Alberto O. Mendelzon, Yehoshua Sagiv, Jeffrey D. Ullman
STOC3
1979 Equivalences Among Relational Expressions
abstract
Many database queries can be formulated in terms of expressions whose operands represent tables of information (relations) and whose operators are the relational operations select, project, and join. This paper studies the equivalence problem for these relational expressions, with expression optimization in mind. A matrix, called a tableau, is proposed as a natural representative for the value of an expression. It is shown how tableaux can be made to reflect functional dependencies among attributes. A polynomial time algorithm is presented for the equivalence of tableaux that correspond to an important subset of expressions, although the equivalence problem is shown to be NP-complete under slightly more general circumstances.
Alfred V. Aho, Yehoshua Sagiv, Jeffrey D. Ullman
SIAM J. Comput.2
1979 Efficient Optimization of a Class of Relational Expressions
abstract
The design of several database query languages has been influenced by Codd's relational algebra. This paper discusses the difficulty of optimizing queries based on the relational algebra operations select, project, and join. A matrix, called a tableau, is proposed as a useful device for representing the value of a query, and optimization of queries is couched in terms of finding a minimal tableau equivalent to a given one. Functional dependencies can be used to imply additional equivalences among tableaux. Although the optimization problem is NP-complete, a polynomial time algorithm exists to optimize tableaux that correspond to an important subclass of queries.
Alfred V. Aho, Yehoshua Sagiv, Jeffrey D. Ullman
ACM Trans. Database Syst.2
1979 Testing Implications of Data Dependencies
abstract
Presented is a computation method—the chase —for testing implication of data dependencies by a set of data dependencies. The chase operates on tableaux similar to those of Aho, Sagiv, and Ullman. The chase includes previous tableau computation methods as special cases. By interpreting tableaux alternately as mappings or as templates for relations, it is possible to test implication of join dependencies (including multivalued dependencies) and functional dependencies by a set of dependencies.
David Maier 0001, Alberto O. Mendelzon, Yehoshua Sagiv
ACM Trans. Database Syst.3
1978 Efficient Optimization of a Class of Relational Expressions (Abstract)
abstract
Many useful database queries can be formulated in terms of expressions whose operands are relations and whose operators are the relational operations select, project, and join. This paper investigates the computational complexity of optimizing relational expressions of this form under a variety of cost measures. A matrix, called a tableau, is proposed as a conventient representative for the value of an expression. Functional dependencies can be used to imply additional equivalences among tableaux. The optimization problem is shown to be NP-complete, but we can give a polynomial time algorithm to optimize tableaux that correspond to an important subclass of expressions.
Alfred V. Aho, Yehoshua Sagiv, Jeffrey D. Ullman
SIGMOD Conference2
1978 Equivalence among Relational Expressions with the Union and Difference Operation
Yehoshua Sagiv, Mihalis Yannakakis
VLDB1