From: olivier e. <oli...@ge...> - 2011-11-03 18:31:53
|
Hi All, We are working for prototyping a kind of text annotation system with SMW. In facts we are newbies in the subject, so apologies for the level of the question. Our concern for the relationship between properties of the same document. For example how we can describe for a property is true only with another property? Is this an N-ary relation? Here an example, wiki/MyProtein ---- MyProtein interacts with Toto-12 only when BTK phosphorylated on Ser-25. The complex of MyProtein and Toto-12 activates T-cell. (... more ...) [[Category:Function]] ---- We want to bind properties together, - [[interacts with::Toto-12]] *bind with* [[phosphorylated on::Ser;25]] - [[activates::T-cell]] *bind with* [[complex of::Toto-12]] We thought about two solutions. 1) we can create one document for each sentence and describe the document as [[subClassOf::MyProtein]]. I suppose this is the better solution mainly if two sentence can be from two different category. And I suppose also the property subClassOf::MyProtein specify the subject of the triplet. Cons: we have to create a document for each sentence with a auto number generation. 2) Or we use the parser function #set_internal from Semantic Internal Objects... I'm a bit confuse here... Because of my poor English, I hope I'm enough clear. Any suggestion to annotate correctly this example, will be really appreciated. Regards, Olivier -- olivier evalet code, usability, it and 0pointer exception... |