Hi Mehnaz, A good start for reading is the KIM Developers Guide available here: http://www.ontotext.com/kim/doc/sys-doc/DevelopersGuide.html The topic "KIM Web Services API" is what you need to get orientation of what tools you can use. Then you can check the "JavaDoc" for the APIs and methods you chose. This is just to get full impression on what the tools you will use - do under the surface.
After you consider the things - you may send me a short note about what you are going to do and which APIs/Methods you are going to use. I'll send you some hints and comments about that. Greetings, DanKo ----- Original Message ----- From: Mehnaz Adnan To: DanKo Cc: [email protected] Sent: Thursday, November 06, 2008 11:50 PM Subject: Re: [KIM-discussion] problem in treating URI as URL Hi Danko, Thanks very much. Now I am successfull in hiding "Abstarct" class branches from plugin tree. I want to explore KIM API Web Services extention to provide more user centric view. Thanks if you direct me to the relevant documentation. Regards Mehnaz 2008/11/6 DanKo <[EMAIL PROTECTED]> Hi Mehnaz, ####About the exclusion of the "Abstract" class from the visible ontology - try the following: 1) Stop the Tomcat and the KIM servers; 2) Change the fragment: <owl:Class rdf:about="#Abstract" rdfs:label="Abstract"> <rdfs:comment>Something, which ...</rdfs:comment> <rdfs:subClassOf rdf:resource="&psys;Entity"/> </owl:Class> to: <owl:Class rdf:about="#Abstract" rdfs:label="Abstract"> <rdfs:comment>Something, which ...</rdfs:comment> <rdfs:subClassOf rdf:resource="&psys;Entity_"/> </owl:Class> in file "<KIM_HOME>\condext\default\kb\protont.owl" 3) Delete the CONTENT of the folder: "<KIM_HOME>\condext\default\populated" 4) Delete the CONTENT of the folder: "<TOMCAT_HOME>\work" 5) Start again the KIM server. 6) Start again the Tomcat server. 7) Start the IE and activate the "KIM Plugin" 8) Go to the Plugin's tab named "config" and ensure there are set these values: (IP Address: localhost) and (Port: 8080) 9) Press the "Set" button 10) Go to the Plugin's tab named "classes" and check if the "Abstract" branch of the class tree has disappeared. #### About the different labels of the external sources URL's: As Bobi mentioned - there is nothing we can do in the context of the "KIM Plugin" right now. But there is always the possibility to program your own interface. The most universal way for client application to comunicate with the KIM server is throug the KIM API Web Services extention. If you are interested we can direct you to the appropriate documentation. Greetings, DanKo ----- Original Message ----- From: borislav popov To: Mehnaz Adnan Cc: DanKo ; [email protected] Sent: Friday, October 31, 2008 12:27 AM Subject: Re: [KIM-discussion] problem in treating URI as URL Hi Mehnaz, that's a pitty you did not get any progress with the plugin. Danko will check and get back to you. regarding the labels: i think i get what you mean. we are also discussing to standardize some ways for expressing how we would like to express a particular association with a class; relationships to entities; and even entire descriptions of entities. i.e. associate the lexical aspects of the schema with the schema itself, so that it facilitates natural language generation for more humane interfaces. If you need a completely different view from what you get in kb explorer or entity result - these are just queries to the knowledge base - in the case of kb explorer it's a series of simple SeRQL queries. alternatively you can have your own interface on top of the kim server. for altering the current interface - danko can discuss this with some of the colleagues and then we can probably provide a solution - how you can probably do it yourself. take care borislav On Oct 30, 2008, at 10:13 PM, Mehnaz Adnan wrote: Hi Borislav, Thanks for getting back. I was busy in doing some thing lese . But i could not manage to do some tweaking in plugin . For the ontology tree in plugin, I did the same step as per your advice i.e change subclass property of "Abstract" class like this <rdfs:subClassOf rdf:resource="&psys;Entity_"/> but nothing changed in the ontlogy tree view in Plugin. Still it is showing "Abstract" class. Any solution to do this. I really want to show ontology tree in plugin as per my domain ontology. For external sources labels, I have added new label "has web resource" to page like this <http://xmlns.com/foaf/0.1/page> <http://www.w3.org/2000/01/rdf-schema#label> "has a web resource" . and it show "has web resource" for both of the external webpages like has a web resource www.wikipedia.org has a web resource www.british-airways.com Can we do some thing to assign two different labels to the above external entities? like Wikipedia page www.wikipedia.org Home page www.british-airways.com Thanks and Regards Mehnaz 2008/10/30 borislav popov <[EMAIL PROTECTED]> Hi Mehnaz, what is going on - did you manage? borislav On Oct 6, 2008, at 12:10 PM, DanKo wrote: Hi Mehnaz, --> for the label of the property, just add this triple: <http://xmlns.com/foaf/0.1/page> <http://www.w3.org/2000/01/rdf-schema#label> "new-Lable-Here" . for example in the "..\kb\inspace.nt" file. --> for the tree of the classes visible in the class hierarchy window: Bobi has correctly noted that the KIM Plugin was created before the "Visibility" paradigm was introduced - so "Visibility" just doesn't help here. What you can use as a work around is the following trick: Change of property: <rdfs:subClassOf rdf:resource="&psys;Entity"/> for <rdfs:subClassOf rdf:resource="&psys;Entity_"/> of the class: <http://proton.semanticweb.org/2006/05/protont#Abstract> in file "..\kb\owl\protont.owl" effectively removes the "Abstract" and all its subclasses as visible/usable classes In other words - you should alter/disable the "subClassOf" property of all classes you do not want to use/see in your case HTH DanKo senior developer, KIM ----- Original Message ----- From: Mehnaz Adnan To: borislav popov Cc: DanKo ; [email protected] Sent: Saturday, October 04, 2008 4:50 AM Subject: Re: [KIM-discussion] problem in treating URI as URL Hi , I tried to link "British Airline" with two external pages by adding this in the KIM wkb.nt <http://www.ontotext.com/kim/2006/05/wkb#Airline_T.9> <http://xmlns.com/foaf/0.1/page> <http://www.british-airways.com> . <http://www.ontotext.com/kim/2006/05/wkb#Airline_T.9> <http://xmlns.com/foaf/0.1/page> <http://www.wikipedia.com> . and it shows two external link like page www.british-airways.com page www.wikipedia.com so it is successful. Now if I want to change the label "page" in KIM explorer, how can I do it? Next I exculded some of the triples in visibilty.nt but it did not have any effect on the ontology tree in the KIM plugin. Any tip how can we do it. Regards Mehnaz 2008/10/2 borislav popov <[EMAIL PROTECTED]> Hi Mehnaz, 1) you can use the same property (obviously). however - we haven't tried this scenario and i doubt it has been taken into account in the design phase - but it is interesting what will happen in the UI. I would say this seems as a quite straightforward change - to allow you reference more than one external resources - so we can either add it to the code or open that piece so you can add it yourself. 2) Regarding the KIM plug-in - in theory - yes; in practice - still yes, but only after some hardships. The documentation is not mentioning anything and is quite old (e.g. referring the old KIM ontology and not PROTON). i would say go ahead - try it and let us know the adverse outcomes. then we will try it with a piece of your ontology and let you know the solution. As the plugin is a quite old piece of code we prefer not to produce new versions but try to adjust the data whenever possible. all the best borislav On Oct 2, 2008, at 11:25 AM, Mehnaz Adnan wrote: Thanks Danko, Now the "page" relation is treated as URL. I have two more questions ( sorry :). 1) If I want to link an entity alias like "British Airways" to more than one URLs, how can we do it? Actually I want to provide external linking of my entities tohttp://www.wikipedia.org as well as http://www.pubmed.org. 2)Is it possible to change the ontology tree view in KIM plug in, if I am using only my domain specific ontology for annotation. Thanks for your continuous support. Mehnaz 2008/10/2 DanKo <[EMAIL PROTECTED]> Hi Mehnaz, You almost succeeded. Just instead of property "<http://proton.semanticweb.org/2006/05/protonu#hasWebPage>" you should use the property "<http://xmlns.com/foaf/0.1/page>". So your triple should look like this: <http://www.ontotext.com/kim/2006/05/wkb#Airline_T.9> <http://xmlns.com/foaf/0.1/page> <http://british-airways.com> . Then it will open a new browser screen. HTH DanKo ----- Original Message ----- From: madn002 madn002 To: [email protected] ; DanKo ; Marin Nozhchev Sent: Wednesday, September 24, 2008 1:29 AM Subject: problem in treating URI as URL Hi I want to use the feature of latest version of KIM to provide linking of resources to external website.For testing purpose I have made the follwoing change in wkb.nt for "British Airways" <http://www.ontotext.com/kim/2006/05/wkb#Airline_T.9> <http://proton.semanticweb.org/2006/05/protonu#hasWebPage> <http://british-airways.com> . like the example <http://dbpedia.org/resource/%21%21> <http://xmlns.com/foaf/0.1/page> <http://en.wikipedia.org/wiki/%21%21> . in "dbpedia ontology given" in FAQ section. But when the resource is browsed in KIM explorer using KIM plugin it is like this hasWebPage british-airways.com It does not truned into a hyperlink to biritish airways website. Please help me to sort out this problem. Thanks Mehnaz _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com __________ NOD32 3571 (20081030) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com
_______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
