A query method and system for resource description framework based on relational database

A resource description framework and query method technology, applied in the field of semantic web data retrieval, can solve problems such as the inability to establish parent-child relationships, the inability to distinguish between optional graph modes, and the understanding of parallel optional graph modes to be discussed, so as to preserve semantics Effect

Active Publication Date: 2016-08-03
四川电子科技大学教育发展基金会
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you join the graph-merging mode, since there is no master-slave distinction in the sub-graph mode, it is impossible to directly establish this parent-child relationship between the two modes, and it is indistinguishable from the optional graph mode
Liu Jing also proposed the "pattern tree" method, which is basically consistent with ArtemChebotko's method, but the understanding of the parallel optional graph pattern in his method needs to be discussed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A query method and system for resource description framework based on relational database
  • A query method and system for resource description framework based on relational database
  • A query method and system for resource description framework based on relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0038] The Resource Description Framework (RDF) uses Web identifiers to identify things and describes resources through attributes and attribute values. where resource is anything that can have a URI, such as http: / / www.w3school.com.cn / rdf; An attribute is a resource with a name, such as "author" or "homepage"; and an attribute value is the value of an attribute, such as "David" or "http: / / www.w3school.com.cn" (note that an attribute The value can be another resource).

[0039] Resources, attributes and attribute values ​​constitute the basic structure of triples in RFD expressions. In a triple, the resource itself is the subject, the attribute name is the predicate, and the attribute value is the object. A set of such triples is called an RDF graph, which can be represented by a graph with a no...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a resource description framework querying method and system based on a relational database, wherein the method includes the following steps: establishing a result variable table according to the SPARQL query statement input by a user, separating the SPARQL query statement to obtain each basic graphic pattern, and establishing the constant table, the variable table and the blank note table corresponding to the basic graphic patterns and a pattern string identifying the logical relation between the basic graphic patterns; generating a pattern tree based on the pattern string; generating the SQL subquery fragment for each basic graphic pattern according to the corresponding element structural table of each basic graphic pattern, and representing the relationship between the basic graphic patterns based on the pattern tree to connect the SQL subquery fragments into a whole SQL query statement section; utilizing the SQL query statement section obtained through conversion to query the RDF data in the relational database; and semantics wrapping the query result according to the limitation of the SPARQL result set and the user setting and returning the query result to the user.

Description

technical field [0001] The invention relates to a semantic web data retrieval technology, in particular to a resource description framework (RDF) query method and system based on a relational database. Background technique [0002] Semantic Web (Semantic Web) has become a hot spot in the Internet development in recent years. Semantic Web, which represents the future of intelligent network, is a knowledge-centered model. In addition to human-readable document and XML message formats, it adds data that machines can understand and process. [0003] Resource Description Framework (ResourceDescriptionFramework, RDF) is a standard data model for describing Web resources. Due to the semi-structured nature of Web data, the RDF query language should support the query of semi-structured data. The SRARQL (SPARQL Protocol and RDF Query Language) language proposed by the World Wide Web Consortium (W3C) is such a semi-structured query language for RDF graphs. [0004] SPARQL is to the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 陈佳吴跃吴少智黎明
Owner 四川电子科技大学教育发展基金会
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products