摘要 |
<p>PROBLEM TO BE SOLVED: To provide an ontology-based query method and apparatus which prevents complex reasoning operations and improves the query speed and the reasoning speed.SOLUTION: A method includes (1) acquiring at least one triple for a query input by a user, (2) searching for at least one key-value pair meeting a query condition among key-value pairs stored in each of a plurality of computing nodes, and determining an element corresponding to a query object from three elements included in a key value of the key-value pair meeting the query condition in order to acquire elements corresponding to query objects determined in each of the plurality of computing nodes, and (3) acquiring a query result according to the elements corresponding to the query objects determined in each of the plurality of computing nodes.</p> |