Research Article

An Intelligent Information Retrieval Approach Based on Two Degrees of Uncertainty Fuzzy Ontology

Pseudocode 1

/ / situation (a.i)
for ( ) {
get(query);
if (query words exist in modification process ontology && have relation together){
 if (the query word is parent of other words)
add(other parent of this word to the query terms);
 else if (the query word is child of other words)
add(other child of this word to the query terms);
} / / end if
} / / end for
***************************
/ / situation (a.ii)
for ( ) {
get(query);
 if (query words exist in modification process ontology && have no relation together){
 add(all parents and children of this words to query);
} / / end for
***************************
/ / situation (b.i)
for ( ) {
get(query);
if (query words exist in modification process ontology && have relation together){
 if (the query word is parent of other words && their membership degree >=threshold limit)
 add(other parent of this word to the query terms);
else if (the query word is child of other words && their membership degree >=threshold limit)
add(other child of this word to the query terms);
} / / end if
} / / end for
***************************
/ / situation (b.ii)
for ( ) {
get(query);
if (query words exist in modification process ontology && have no relation together && their
membership degree > = threshold limit){
 add(all parents and children of this words to query);
} / / end for
***************************