Patent ID: 8346745

Claim:
A non-transitory computer-readable medium storing a program causing a hardware processor to execute a process for retrieving information, the process comprising: accepting a second composition, which is a retrieval condition that includes second sentence elements; executing a syntactic analysis of (i) a first composition, which is an object to be searched that includes first sentence elements, and (ii) the second composition, the syntactic analysis (a) extracting from the first composition the first sentence elements, (b) extracting from the second composition the second sentence elements, (c) creating a first sentence element relation, which is a relation between the first sentence elements, and (d) creating a second sentence element relation, which is a relation between the second sentence elements; creating composition index information, which includes the first sentence elements and the first sentence element relation, based on a result of the syntactic analysis; creating retrieval condition information, which includes the second sentence elements and the second sentence element relation, based on the result of the syntactic analysis; and determining the first composition corresponding to the composition index information as a retrieval result for the retrieval condition, when a pair of the second sentence elements included in the retrieval condition information and having the second sentence element relation of a predetermined property corresponds to a pair of the first sentence elements included in the composition index information, wherein the predetermined property is determined to be dynamic when the second sentence element relation is a verb-like usage, the predetermined property is determined to be static when the second sentence element relation is not a verb-like usage, and the determining includes determining whether the pair of the second sentence elements corresponds to the pair of the pair of the first sentence elements when the predetermined property is dynamic, and determining whether one of the pair of the second sentence elements corresponds to one of the pair of the first sentence elements when the predetermined property is static.