Algorithm 1. Integration of profile supplier information to ubiquitous user model. | |
Require: U2MIO ontology | |
Ensure: All the semantic mappings MXi,U, U2MIO enhance recommendations and new instance in U2MIO with profile information | |
1: | Extract sdi from profile information supplier |
2: | Save sdi with a timestamp and source id in the Raw data repository |
3: | if source id is new to U2MIO then |
4: | create a new concept scheme Xi, identify (Ci, Hi, Vi) and insert an instance with Vi values in U2MIO comment: Element level matching |
5: | Extract CT from the ubiquitous user model concept scheme U |
6: | Calculate the relation R0 of every triplet 〈cs, ct, R0〉 ∀cs ∈ CS, ∀ct ∈ CT comment: Structure level matching |
7: | Select the set of neighbors NS, ∀cs ∈ Cs and NT, ∀ctb ∈ CT |
8: | Calculate relation R1 of every triplet 〈c′s, c′tb, R1〉 ∀c′s ∈ Ns, ∀c′tb ∈ Nt |
9: | Apply IF THEN rules given R0 and R1 ∀cs ∈ Cs and obtain MXi,U = map (cs, ctb) ∀cs ∈ CS, ∀ctb ∈ CT and U2MIO |
10: | Add MXi,U to U2MIO and implement recommendations |
11: | else |
12: | Update Xi instance with Vi values in U2MIO |
13: | end if |