Skip to main content
. 2012 Sep 28;12(10):13249–13283. doi: 10.3390/s121013249
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〉 ∀csCS, ∀ctCT
comment: Structure level matching
 7:  Select the set of neighbors NS, ∀csCs and NT, ∀ctbCT
 8:  Calculate relation R1 of every triplet 〈cs, ctb, R1〉 ∀csNs, ∀ctbNt
 9:  Apply IF THEN rules given R0 and R1csCs and obtain
MXi,U = map (cs, ctb) ∀csCS, ∀ctbCT 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