
262 Foundations of Fuzzy Logic and Semantic Web Languages
It can be verified that a call to getN extT uple(p), will put two join combina-
tions hl, h, 0.76i and hl, j, 0.68i into Q(p). Therefore, the procedure will return
hl, h, 0.76i as the result and remove hl, h, 0.76i from Q(p).
The second call of getNextT uple(p), we will return hl, j, 0.68i as Q(p) is
still non-empty, and remove this tuple from Q(p) (which makes it empty).
The third call of getNextT uple(p), it will return he, f, 0.675i. The fourth
call of getNextT uple(p), it we return hl, n, 0.52i. Finally, in the fifth call of
getNextT uple(p), it will return ho, q, 0.33i.
Threshold for querying ...