Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for semantic query of large-scale knowledge graph based on spark

A technology of knowledge graph and semantic query, applied in the field of computer storage query, can solve the problems of inability to meet the real-time requirements of large-scale semantic data query, insufficient computing performance and scalability, large storage space, etc., to reduce iterative connections, reduce The amount of production and the effect of ensuring high efficiency

Active Publication Date: 2017-10-13
ZHEJIANG UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional RDF-based storage query engines improve query performance by building subject-predicate-object permutation indexes, but at the same time, this also consumes a large amount of storage space, and most of these engines are based on stand-alone machines, which are relatively scalable. Poor, only suitable for small-scale RDF data storage query, facing the current massive semantic data, there are problems such as insufficient computing performance and scalability
A small number of existing distributed processing engines such as hadoopRDF partially solve the scalability problem with the help of distributed platforms, but due to the iterative execution characteristics of sparql queries, their performance is still severely constrained, and cannot meet large-scale semantic data queries Real-time requirements, so its practicability is greatly restricted, and a high-performance storage query engine facing massive semantic data is urgently needed to change this dilemma

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
  • Method for semantic query of large-scale knowledge graph based on spark
  • Method for semantic query of large-scale knowledge graph based on spark
  • Method for semantic query of large-scale knowledge graph based on spark

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to describe the present invention more specifically, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0044] Such as figure 1 As shown, the present embodiment includes the following based on spark-based large-scale knowledge map semantic query method:

[0045] S01, replace the entity and relationship in each triple in the data set with the corresponding id to form a new triple.

[0046] This step is specifically as follows: query benchmark LUBM through standard RDF storage to generate large-scale semantic data; then, deploy a preprocessor, assign unique ids to all entities and relationships, and build corresponding mapping tables; finally, according to the mapping table , replace the entity and relationship in each triple in the traversal dataset with the corresponding id to get a new triple; this step can not only greatly reduce the amount of distributed...

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 method for semantic query of a large-scale knowledge graph based on spark. The method comprises the steps that (1) entities and relations in each triple are replaced by corresponding id; (2) a layered sub-graph index is established based on categories and relations and the index is stored in a hdfs document; (3) operations related to sparql query are translated by an spark operation primitive language; (4) different score functions are distributed according to characteristics of each triple mode, and an execution sequence of each triple mode in the sparql query is determined; and (5) according to the execution sequences of the triple modes and the spark operation primitive language, query and linkage are executed, and then a linkage result is analyzed by a mapping list and then returned. According to the invention, efficient query of massive semantic data is supported; extendibility is very high; and the method has very high practical values for query and application based on large-scale semantic data.

Description

technical field [0001] The present invention relates to computer storage query technology, in particular to a large-scale knowledge map semantic query method based on spark. Background technique [0002] With the rapid development of the Semantic Web, the amount of semantic data has shown explosive growth, and a large amount of semantic data in RDF format has been published by researchers in academia and industry. For example, Google's knowledge map has more than 600 million entities and 20 billion facts (2012), and the wikidata project also contains more than 20 million pages, each page contains a large number of triplet facts, YAGO and DBPedia also Contains more than 100 million records, and the Linked OpenData (LOD) project has released more than 2,700 data sources, containing a total of more than 130 billion RDF triples (2016). How to effectively store queries on large-scale RDF knowledge graphs is a thorny problem faced by many researchers, and this has always been con...

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
IPC IPC(8): G06F17/30
Inventor 陈华钧陈曦张宁豫吴朝晖
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products