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 <[EMAIL PROTECTED]> > *To:* borislav popov <[EMAIL PROTECTED]> > *Cc:* DanKo <[EMAIL PROTECTED]> ; [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 <[EMAIL PROTECTED]> >>> *To:* [email protected] ; DanKo <[EMAIL PROTECTED]> ; Marin >>> Nozhchev <[EMAIL PROTECTED]> >>> *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 > > >
_______________________________________________ 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
