Research Article
Domain-Oriented Subject Aware Model for Multimedia Data Retrieval
Algorithm 1
Subject aware query expansion algorithm.
Input: A subject aware graph , user query threshold , , input query keywords | Output: Expansion result set | (1) Initialize the result set to . | (2) Match between and the SN in the to get SK; | (3) If then search the corresponding results. | (a) Search all the SN whose parent node is the same with the parent node of SK and save them; | (b) Find the SN which satisfies the Rule 1, and rank the SN according to the difference between its SA and the SA of SK; | (c) Save the sequence number of ranking as CR.id, the name of SN as CR. expansion; | (4) search the corresponding results according to | (a) If (SK. ==null) then (i) find the IN in the which satisfies the Rule 2, and rank the IN | according to the IA of IN; | (ii) Save the sequence number of ranking as CR.id, the name of IN as CR. expansion; | (b) else (i) Search all the SN in the G whose parent node is SK and save them to a set; | (ii) Find the SN which satisfies the Rule 3 from the set, and rank the SN according to | the SA of SN; | (iii) Save the sequence number of ranking as CR.id, the name of SN as CR. expansion; | (5) Return . |
|