smushing
I am putting together more about smushing, which will be a key factor in the global semantic web: to connect annotations that were made by different people.
A typical smushing algorithm would be:
There are different approaches to find the canonical resource:
In gnowsis we have the problem of incremental smushing, which means that we crawl thousands of emails per day and then would like to smush the persons in the addresses, but only of the new messages.
I have posted this algorithm also in the ESW wiki, where you can comment on it.
A typical smushing algorithm would be:
- take a large datastore DS that contains a set of triples Tset = {Ta, Tb, Tc, ... }
- iterate through known InverseFunctionalProperties IFPset = {Ia, Ib, Ic, ....}
- for each InverseFunctionalProperty Iy that is represented in the Tset as predicate, do a check for smushing.
- find all triples TxIy so that Tx has Property Iy
- find one triple Txc of TxIy that points to a grounding resource / canonical resource (see below)
- Use the subject Sx from the triple Txc and aggregate all other triples of subjects of TxIy to Sx. This means, change the subject in the triples to Sx.
- add owl:sameAs triples to connect all Subjects(TxIy) to Sx
There are different approaches to find the canonical resource:
- take by random
- prefer the resource that is annotated in special ontology (ie prefer SKOS concepts over foaf:Persons)
- prefer the more public resource (googlefight, public urls wins over private uris)
- prefer the best annotated resource (the resource with the most triples - attention, this is self-amplification of single resources)
- prefer the resource with the shortest / the longest uri
- prefer named resources over anonymous resources (this is very important, you must not smush to anonyms)
- store the smushing in an extra graph
- delete the old triples, add the smushing
- add the smushing additional to the old triples (tricky)
In gnowsis we have the problem of incremental smushing, which means that we crawl thousands of emails per day and then would like to smush the persons in the addresses, but only of the new messages.
I have posted this algorithm also in the ESW wiki, where you can comment on it.
leobard - 29. Jul, 11:35
|
Trackback URL:
https://leobard.twoday.net/stories/867171/modTrackback
It just awesome.. sounds great.. i really like your post... thanks for great sharing...
keep it up.. keep sharing
Redwood City Boot Camp