In this article, we discuss the issues involved in adding a native score management system to object-relational databases, to be used in querying Web metadata (that describes the semantic content of Web resources). The Web metadata model is based on topics (representing entities), relationships among topics (called metalinks), and importance scores (sideway values) of topics and metalinks. We extend database relations with scoring functions and importance scores. We add to SQL score-management clauses with well-defined semantics, and propose the sidewayvalue algebra (SVA), to evaluate the extended SQL queries. SQL extensions and the SVA algebra are illustrated through two Web resources, namely, the DBLP Bibliography and the SIGMOD Anthology.SQL extensions include clauses for propagating input tuple importance scores to output tuples during query processing, clauses that specify query stopping conditions, threshold predicates (a type of approximate similarity predicates for text comparisons), and user-defined-function-based predicates. The propagated importance scores are then used to rank and return a small number A preliminary version of this article was published in Proceedings of the VLDB 2002 Conference. This work was supported in part by a joint grant from the National Science Foundation (grant INT-9912229) of the U.S. and TUBITAK (grant 100U024) of Turkey, and the National Science Foundation grants ITR-0312200 and DBI-0218061. Authors' addresses: G.Özsoyoǧlu, A. Al-Hamdani, and Z. M.Özsoyoǧlu EECS Department, Case Western Reserve University, Cleveland, OH 44106; email: {tekin,abd,ozsoy}eecs.cwru.edu; I. S. Altingövde, andÖ. Ulusoy, Computer Engineering Department, Bilkent University, Ankara 06800, Turkey; email: {ismail,oulusoy}@cs.bilkent.edu.tr}; S. A.Özel-Özalp (current address): Industrial Engineering Department, Uludag University, Gorukle, Bursa 16059, Turkey; email: ayseozalp@ uludag.edu.tr. Permission to make digital/hard copy of part or all of this work for personal or classroom use is granted without fee provided that the copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication, and its date appear, and notice is given that copying is by permission of ACM, Inc. To copy otherwise, to republish, to post on servers, or to redistribute to lists requires prior specific permission and/or a fee. of output tuples. The query stopping conditions are propagated to SVA operators during query processing. We show that our SQL extensions are well-defined, meaning that, given a database and a query Q, under any query processing scheme, the output tuples of Q and their importance scores stay the same.To process the SQL extensions, we discuss two sideway value algebra operators, namely, sideway value algebra join and topic closure, give their implementation algorithms, and report their experimental evaluations.