发明名称 ONTOLOGY-BASED QUERY METHOD AND APPARATUS
摘要 An ontology-based query method and apparatus include acquiring a to-be-queried triple input by the user, where a known element is a query condition. One or more unknown elements in the to-be-queried triple is a query object and searching is performed, in the key-value pairs stored in each of the plurality of computing nodes, for a key-value pair matching the query condition. An element corresponding to the query object is determined from three elements included in a key value of the matched key-value pair, to acquire elements corresponding to the query objects determined in each of the plurality of computing nodes. A query result is acquired according to the elements corresponding to the query objects determined in each of the plurality of computing nodes.
申请公布号 US2014297653(A1) 申请公布日期 2014.10.02
申请号 US201414203765 申请日期 2014.03.11
申请人 NEC (China) Co., Ltd. 发明人 Liu Bo;Li Jianqiang;Liu Chunchen
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. An ontology-based query method, wherein a plurality of key-value pairs constructed according to a triple of an ontology described with a resource description framework (RDF) are stored in a plurality of computing nodes respectively, each of the plurality of key-value pairs comprising a key and a key value, the key value comprising three elements of the triple, and the key comprising one of the three elements of the triple, the method comprising: acquiring at least one to-be-queried triple input by a user, wherein a known element in the to-be-queried triple is a query condition, and at least one unknown element in the to-be-queried triple is a query object; searching, in the key-value pairs stored in each of the plurality of computing nodes, for at least one key-value pair matching the query condition; determining an element corresponding to the query object from three elements comprised in a key value of the matched key-value pair, to acquire elements corresponding to the query objects determined in each of the plurality of computing nodes; and acquiring a query result according to the elements corresponding to the query objects determined in each of the plurality of computing nodes.
地址 Beijing CN