Changes between Initial Version and Version 1 of SigMmt/Templates/TemplateRoleIds

Show
Ignore:
Timestamp:
10/14/10 23:53:16 (14 years ago)
Author:
dkanga (IP: 38.109.155.98)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SigMmt/Templates/TemplateRoleIds

    v0 v1  
     1(Moved from an email thread) 
     2 
     3Rahul, 
     4 
     5We have loaded the proto and initial set templates here: 
     6[[BR]] 
     7http://facade.iringsandbox.org/TemporaryInitialSetTemplates/sparql 
     8 
     9Please give it a try and let me know if you have any problems. I have 
     10attached spreadsheets with the template and role IDs. 
     11 
     12Darius 
     13---- 
     14Hi Darius, 
     15 
     16I am continuing to look through this, still not finished. So far I have 
     17one main question: 
     18I see that there are things like "hasClass" "hasClass1" "hasClass2"; 
     19Shouldn't there be just one "hasClass" with just one R number? 
     20 
     21Thanks, 
     22rahul 
     23---- 
     24Hi Rahul, 
     25 
     26No, template roles with the same name are unique on their own, so if two 
     27unrelated templates both have a role called hasClass then those two 
     28roles will have different R number IDs. However specialized templates 
     29have the same role IDs as their parents. This will let us easily 
     30associate a template and other templates specialized from it, because 
     31they will share the same role IDs, but they will not share role IDs with 
     32any other templates. 
     33 
     34Darius  
     35---- 
     36Hi Darius, 
     37 
     38>>No, template roles with the same name are unique on their own, so if 
     39two unrelated templates both have a role called hasClass then those two 
     40roles will have different R number IDs. 
     41 
     42Can you please explain the assumption behind above statement bit more. 
     43Is the assumption coming from part 7 or part 8? because I dont think 
     44this is intended in part 7 and might cause issues while moving to JORD. 
     45 
     46 
     47thanks, 
     48rahul 
     49---- 
     50Hi Rahul, 
     51 
     52I haven't seen anything about role IDs in Part 7 or 8. The Part 8 sample 
     53OWL files use the role name as the ID. Certainly Parts 7 and 8 have 
     54nothing about ids-adi (R number) IDs. 
     55 
     56I remember some discussions with Julian about whether role IDs should be 
     57unique or only unique in the context of a template, and the decision was 
     58that they should be unique by themselves. I think this makes sense, and 
     59it gives several advantages, such as the ability to change role metadata 
     60without affecting other templates, and the ability for specialized and 
     61non-specialized templates to interoperate as mentioned before. Do you 
     62see any problems or disadvantages with this approach? 
     63 
     64Darius  
     65---- 
     66Hi Darius, 
     67 
     68Yes, there are issues. Let me try to explain.  
     69First of all I agree with the statement : 
     70 
     71>> I remember some discussions with Julian about whether role IDs should be 
     72>> unique or only unique in the context of a template, and the decision was 
     73>> that they should be unique by themselves. 
     74 
     75But unfortunately it is little off topic and if anything current implementation is contradicting it.    
     76 
     77e.g.  
     78 
     79{{{ 
     80http://tpl.rdlfacade.org/data#R73685972461      hasClass 
     81http://tpl.rdlfacade.org/data#R92056686967      hasClass 
     82http://tpl.rdlfacade.org/data#R75254917408      hasClass 
     83http://tpl.rdlfacade.org/data#R68940711977      hasClass 
     84http://tpl.rdlfacade.org/data#R16697929282      hasClass 
     85}}} 
     86 
     87reasons : 
     88 
     891. Thought part 8 examples don't use R numbers they use same id similar to "#hasClass" when referring to this role in all the templates. (Verified for examples above).  Since IDs are dumb, the only important fact remains that it is same in all the templates.  
     90[[BR]] 
     912. Going back to Julian's statement above even a single id for hasClass is unique by itself. It is not dependent upon any specific template.  
     92[[BR]] 
     933. All the templates which have role name "hasClass" are trying to convey same meaning at that "thing filling that role is at the class level as compared to thing filling the other role(s)" so each "hasClass" role need not have separate id. If the meaning changes then there should be a separate role all together and then off course separate id e.g. #hasRole1.  
     94 
     95Thanks, 
     96rahul 
Home
About PCA
Reference Data Services
Projects
Workgroups