Search Mailing List Archives
[protege-user] How to Relate Different Classes
name1390453675 at mail.com
Mon Nov 11 16:38:24 PST 2019
Please see in-line comments below.
> Sent: Sunday, November 10, 2019 at 10:03 PM
> From: "Samoc" <sjsiperas at mmm.com>
> To: protege-user at lists.stanford.edu
> Subject: Re: [protege-user] How to Relate Different Classes
> Michael and David
> Thank-you for the replies
> Stupid question - how does once define an instance vs a class in Protege ??
Please see my previous post about instances (individuals) vs. classes.
> Also is there a tool or programming language that allows one to parse the
> owl document and walk the relationship
> ie if I have a drug
> drug:insulin treats disease:diabetes
> can I walk thru the owl document to get all drugs related to diabetes ?
In Java you can use OWL API to load an ontology from an OWL file. Then you need a reasoner to execute a DL query “treats some diabetes”, which will return a list of drug classes, including insulin.
> Thanks for your input
> Sent from: http://protege-project.136.n4.nabble.com/Protege-User-f4659818.html
> protege-user mailing list
> protege-user at lists.stanford.edu
More information about the protege-user