2013 · 80 citations · 33 references
EngineeringQuery ModelSemanticsSemantic WebCorpus LinguisticsNatural Language ProcessingSyntaxInformation RetrievalData ScienceComputational LinguisticsData IntegrationQuery ExpansionLanguage StudiesQuery LanguagesLinq FrameworkPractical TheoryLanguage-integrated QueryComputer ScienceQuery AnalysisDatabase TheoryQuery OptimizationSql QueryApproximate Query AnsweringLinguistics
Language-integrated query is receiving renewed attention, in part because of its support through Microsoft's LINQ framework. We present a practical theory of language-integrated query based on quotation and normalisation of quoted terms. Our technique supports join queries, abstraction over values and predicates, composition of queries, dynamic generation of queries, and queries with nested intermediate data. Higher-order features prove useful even for constructing first-order queries. We prove a theorem characterising when a host query is guaranteed to generate a single SQL query. We present experimental results confirming our technique works, even in situations where Microsoft's LINQ framework either fails to produce an SQL query or, in one case, produces an avalanche of SQL queries.
33
Erik Meijer, Brian Beckman, Gavin Bierman · 2006 · 367 citations
Making smalltalk a database system
George P. Copeland, David Maier · 1984 · 365 citations
A modal analysis of staged computation
Rowan Davies, Frank Pfenning · Journal of the ACM · 2001 · 293 citations
Peter Buneman, Leonid Libkin, Dan Suciu et al. · ACM SIGMOD Record · 1994 · 213 citations
Database Theory, Syntax, Engineering +15