Property path is the latest navigational extension of the standard query language SPARQL 1.1 for the Semantic Web.However,in the existing SPARQL query systems which support property path,the query efficiency is very l...Property path is the latest navigational extension of the standard query language SPARQL 1.1 for the Semantic Web.However,in the existing SPARQL query systems which support property path,the query efficiency is very low and does not support reasoning.This paper proposes a new existential semantics which has polynomial-time evaluation complexity and an equivalent relationship with the current semantics,and transforms the property path expressions to the extended nested regular expressions based on the existential semantics and proves the semantic equivalence after the transformation considering the RDFS semantics.The property path query engine is achieved by implementing the nested regular expressions algorithm and the transformation rules from the property path expressions to the nested regular expressions,which maintains the syntax simplicity of property path and the goal-oriented polynomial-time reasoning to avoid computing the RDF graph closure.The experiment results not only show the characteristics of query engine based on the existential semantics in efficiency and reasoning,but also further validate the equivalence between the results based on current semantics and those based on the existential semantics for property path after the removal of duplicate values.展开更多
基金Supported by National Natural Science Foundation of China(No. 61070202 and No. 61100049)
文摘Property path is the latest navigational extension of the standard query language SPARQL 1.1 for the Semantic Web.However,in the existing SPARQL query systems which support property path,the query efficiency is very low and does not support reasoning.This paper proposes a new existential semantics which has polynomial-time evaluation complexity and an equivalent relationship with the current semantics,and transforms the property path expressions to the extended nested regular expressions based on the existential semantics and proves the semantic equivalence after the transformation considering the RDFS semantics.The property path query engine is achieved by implementing the nested regular expressions algorithm and the transformation rules from the property path expressions to the nested regular expressions,which maintains the syntax simplicity of property path and the goal-oriented polynomial-time reasoning to avoid computing the RDF graph closure.The experiment results not only show the characteristics of query engine based on the existential semantics in efficiency and reasoning,but also further validate the equivalence between the results based on current semantics and those based on the existential semantics for property path after the removal of duplicate values.