A relational algebra for SPARQL

msra

引用 273|浏览30
暂无评分
摘要
The SPARQL query language for RDF provides Semantic Web developers with a powerful tool to extract information from large datasets. This report describes a transformation from SPARQL into the relational algebra, an abstract intermediate language for the expression and analysis of queries. This makes existing work on query planning and optimization available to SPARQL implementors. A further translation into SQL is outlined, and mismatches between SPARQL semantics and the relational approach are discussed. The SPARQL query language is one of the latest additions to the Seman- tic Web toolbox. It provides powerful facilities to extract information out of large sets of RDF data. This report describes a transformation from SPARQL queries into the relational algebra, an intermediate language for the expression and analysis of queries that is widely used in the database area (2). An RDF graph can be represented as a "table" with three columns, ?subject, ?predicate and ?object. Each row corresponds to one triple. Similarly, the result of a SPARQL SELECT query is a table of RDF nodes. These tables are RDF relations. The algebra described in this report consists of operators on RDF relations. Some of them are well-known from regular relational algebra, others are slightly modified to reproduce SPARQL semantics. Figure 1 shows a SPARQL query and its translation into a relational operator tree.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要