Research on SPARQL Query Over Relational Databases Based on SQL Convertion

Author
ZhangLiLi
Advisor
MaZongMin
School
Northeastern University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
1
Citations
0

Request the full text

Abstract

Semantic Web is a extension for the function of current Web, making the information in the semantic Web can be understood by computers, enhancing the interaction and the collaboration between human and computer. Semantic Web uses RDF to describe the various resources on the Web, and gives them semantics. SPARQL is the recommendatory query language for RDF resources. Its principle of query is based on graph pattern matching. The users can express their semantic query as SPARQL, which can inquire on the semantic Web, so as to achieve the purpose of semantic inquiring.But when because of the needs of management of RDF semantic infomation, storing the RDF information in the relational database, the efficiency of SPARQL inquiring RDF will be greatly reduced. And Because the standard language of relational database is SQL, so it has a long significance to study how can convert SPARQL query into SQL query for the efficiency increasing.This paper mainly studies how to make the SPARQL query with the semantic query demands of users, and inquire the RDF resources stored in the relational database directly and efficiently, based on SQL convertion, with the guarantee of recall and precision. This paper firstly deeply studies the inquiring mechanisms of SPARQL, and the converting from the basic SPARQL query to SQL query; Then based on the basic query convertion, puts forward the realization of complex graph models and query models, and then puts forward the realization method of SPARQL query; Finally, according to the realization method, we realize a experiment system SPARQLtoSQL. The experimental system uses a RDF ontology, which is stored in a relational database, as experimental case, analyzes and compares the results with other methods, which effectively proves the feasibility, correctness and effectiveness of SPARQLtoSQL.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-17 1.1 Background 11-12 1.2 related researches the status quo Situation 1.2.1 semantic Web ontology query 12-14 12-13 1.2.2 semantic Web query language to SQL conversion Research Status 13-14 1.3 This paper studies the content and meaning of 14-15 1.4 This article structure 15-17 Chapter 2 RDF query technical 17-33 2.1 RDF Description 17-23 2.1.1 RDF basic idea 17-19 2.1.2 RDF basic concepts 19-20 2.1.3 RDF ontology feature 20-22 2.1.4 RDF storage 22-23 2.2 SPARQL language 23-29 2.2.1 SPARQL basic grammar 23-25 ?? 2.2.2 SPARQL graph patterns 25-28 2.2.3 SPARQL query mode 28-29 2.3 SQL language 29-31 2.3.1 SQL language classification 29-30 2.3.2 SQL data query 30 2.3.3 SQL multi-table queries 30-31 2.4 Chapter Summary 31-33 Chapter 3 basic SPARQL queries to SQL conversion 33-47 3.1 SPARQL basic parts of a query to SQL mapping 33-35 3.1.1 SPARQL SELECT query to the basic structure of the mapping 34-35 3.1.2 SPARQL query to the FROM basic structural mapping 35 3.1.3 SPARQL query to WHERE basic structural mapping 35 3.2 SPARQL basic graph pattern to SQL conversion 35-38 3.2.1 SPARQL basic graph pattern to the conversion rules in SQL WHERE clause 35-37 3.2.2 SPARQL basic graph pattern to SQL the conversion rules decomposition 37-38 3.3 SPARQL graph patterns of complex 38-45 complex decomposition rules 3.3.1 Figure mode 38-39 3.3.2 Photo mode to convert SQL language 39-40 3.3.3 optional map mode to convert SQL language 40-44 3.3.4 multi-map mode to convert SQL language 44-45 3.4 Summary 45-47 Chapter 4 SPARQL queries to research nbsp SQL query implementation methods ; 47 -63 4.1 basic keyword to SQL mapping 47-49 4.1.1 results DISTINCT modifier to SQL mapping 47-48 4.1.2 results modifier to the SQL ORDER BY mapping 48 4.1.3 results modifier LIMIT, OFFSET to SQL mapping 48 4.1.4 results of modifiers FILTER to SQL mapping 48-49 4.2 SPARQL query mode SQL query method 49-58 4.2.1 SELECT query mode SQL query method 49-54 SQL query methods 4.2.2 CONSTRUCT query mode 54-56 4.2.3 DESCRIBE query mode SQL query method 56-58 4.2.4 ASK query mode the SQL query method 58 4.3 SPARQL queries to SQL queries implementation 58-62 4.4 Summary 62-63 Chapter 5 Implementation and verification 63-75 5.1 development platform and tools 63-64 5.1.1 development platform 63 5.1.2 development Tools and technology 63-64 5.2 system design 64-65 5.3 SPARQL query analysis 65-69 5.3.1 SPARQL language grammar rules 66-67 5.3.2 SPARQL tree constructor 67-68 5.3.3 SPARQL tree traversal methods 68-69 5.4 query examples build 69-72 5.4.1 Jena framework 69 5.4.2 imported wine filling concept ontology model 69-72 5.5 results analysis 72-73 5.6 Chapter Summary 73-75 Chapter 6 summary and Outlook 75-77 6.1 summarizes 75 6.2 Looking 75-77 references 77-81 Thanks 81

Related dissertations

  1. Research on RDF Ontology Querying Using Query Relaxation Based Semantic Similarity
    LiDaZhen ·Northeastern University ·2010 ·Master's thesis
  2. Research of Migrating Relational Database Based Legacy System to Semantic Web
    ChenYiXi ·Zhejiang University ·2010 ·Doctoral dissertation
  3. Research on Semantic Correctness Oriented Integrated Data Access
  4. Research of Massive Semantic Information Parallel Inference Method Based on Cloud Computing
    ShiHuiJun ·Shanghai Jiaotong University ·2012 ·Master's thesis
  5. Part-Whole Relationship and Its Application in the Query of Semantic Web
    LiuXiaoLi ·Dalian Maritime University ·2013 ·Master's thesis
  6. Research and Implementation of Storage of Ontology Reasoning Mechanism in Relational Database
    LiuYiRu ·Chongqing University ·2012 ·Master's thesis
  7. Research and Implementation of Ontology Storage Based on Relational Database
    ZhangJie ·Chongqing University ·2012 ·Master's thesis
  8. The Management and Application of Products Ontology Based on Jena
    SunPan ·Dalian Maritime University ·2012 ·Master's thesis
  9. Query Optimization and Performance Evaluation of RDFBase
    WuYinTing ·Tianjin University ·2012 ·Master's thesis
  10. A GA-Based SPARQL Static Query Optimization Method
    WangXiaoLong ·Jilin University ·2012 ·Master's thesis
  11. Research on Schema-Based Keyword Search in Databases
    KongZhanCheng ·Tianjin University ·2012 ·Master's thesis
  12. RDF Engine Based on Relation Database
    ZhangWeiQi ·Tianjin University ·2012 ·Master's thesis
  13. Research of Knowledge Representation Based on Relation Database and Semantic Web Repository
    ZhangZuo ·Hubei University ·2011 ·Master's thesis
  14. Research and Implementation of Semantic Information Processing System Based on Allegrograph and Rest
    ZhaoTangQin ·Southwest Jiaotong University ·2012 ·Master's thesis
  15. Research on the Approaches to Combining Ontologies and Rules in the Semantic Web
    ShiLian ·Jilin University ·2009 ·Doctoral dissertation
  16. A Study on Educational Administration Information Study Based on Campus Intranet
    MengDongXia ·Taiyuan University of Technology ·2003 ·Master's thesis
  17. Based on a relational database to store and query XML documents methods
    DuanHongXiu ·Shanxi University ·2006 ·Master's thesis
  18. Research on the Theory of Incomplete Information System
  19. Research on the Theory of Incomplete Information Database
  20. Research on the Theory and Application of Incomplete Information Database