- From: Richard H. McCullough <rhm@volcano.net>
- Date: Sat, 15 Oct 2005 07:23:46 -0700
- To: <tran_minh_hang@yahoo.com>
- Cc: <semanticweb@yahoogroups.com>, "KR-language" <KR-language@YahooGroups.com>, "semantic-web at W3C" <semantic-web@w3c.org>, "OWL at W3C" <www-rdf-logic@w3.org>
A minor correction (I keep forgetting the last syntax change I made in MKR): put a semicolon in front of each left curly brace. Dick McCullough knowledge := man do identify od existent done; knowledge haspart proposition list; http://rhm.cdepot.net/ ----- Original Message ----- From: "Richard H. McCullough" <rhm@volcano.net> To: <tran_minh_hang@yahoo.com> Cc: <semanticweb@yahoogroups.com>; "KR-language" <KR-language@YahooGroups.com>; "semantic-web at W3C" <semantic-web@w3c.org>; "OWL at W3C" <www-rdf-logic@w3.org> Sent: Saturday, October 15, 2005 7:14 AM Subject: Re: [semanticweb]Reading OWL File > You'll find it a lot easier to extract that info. using MKE. > Click on link below my name. > Here's a sample MKR script to get you started. > > do read rdf from > http://www.atl.lmco.com/projects/ontology/ontologies/animals/animalsA.owl > done; > ClassSet isall ?; # list of classes > every class ismem ClassSet { > proplist := $class has ?; # list of properties for each class > every prop in $proplist { > $prop has ?; # characteristics for each property > }; > }; > > Dick McCullough > knowledge := man do identify od existent done; > knowledge haspart proposition list; > http://rhm.cdepot.net/ > ----- Original Message ----- > From: <semanticweb@yahoogroups.com> > To: <semanticweb@yahoogroups.com> > Sent: Saturday, October 15, 2005 6:13 AM > Subject: [semanticweb] Digest Number 927 > > >> ------------------------ Yahoo! Groups Sponsor --------------------~--> >> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home >> page >> http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/9rHolB/TM >> --------------------------------------------------------------------~-> >> >> There is 1 message in this issue. >> >> Topics in this digest: >> >> 1. Reading OWL File >> From: "tran_minh_hang" <tran_minh_hang@yahoo.com> >> >> >> ________________________________________________________________________ >> ________________________________________________________________________ >> >> Message: 1 >> Date: Sat, 15 Oct 2005 08:51:03 -0000 >> From: "tran_minh_hang" <tran_minh_hang@yahoo.com> >> Subject: Reading OWL File >> >> Hi all >> >> Am very new with OWL,Jena, OWLJessKB and Jess. So it may seem that >> my questions are very simple to you but please kindly reply me >> because it will help me alot for my final year project. >> >> I want to read information from OWL file. For example, the file is >> from this URL >> http://www.atl.lmco.com/projects/ontology/ontologies/animals/animalsA >> .owl >> >> My first module is to do the following task: >> -Find the list of classes in OWL file. >> -Find the list of properties for each class. >> -Check the characteristics for each property: Eg: >> InverfunctionalProperty,Range,Cardinality vv... >> >> Currently am trying to use OWLJessKB.Am trying to follow the >> procedure in OWL-S Matcher Software from this link >> >> http://kbs.cs.tu- >> berlin.de/ivs/Projekte/owlsmatcher/xref/de/tuberlin/ivs/owl/matching/ >> Reasoner.html >> >> One sample query for InverfuntionalProperty like this: >> >> kb.executeCommand( "(defquery query-subproperty (declare (variables ? >> y)) (triple(predicate \"http://www.w3.org/2000/01/rdf- >> schema#subPropertyOf\")(subject ?x)(object ?y)))" ); >> >> I trying to run this query but it is not working >> >> Does anyone know how to solve this problem or does anyone know >> another way to do my project that is easier. >> >> I would appriate your help so much >> >> Thanks >> Minh Hang >> >> >> >> >> >> >> >> ________________________________________________________________________ >> ________________________________________________________________________ >> >> >> >> ------------------------------------------------------------------------ >> Yahoo! Groups Links >> >> <*> To visit your group on the web, go to: >> http://groups.yahoo.com/group/semanticweb/ >> >> <*> To unsubscribe from this group, send an email to: >> semanticweb-unsubscribe@yahoogroups.com >> >> <*> Your use of Yahoo! Groups is subject to: >> http://docs.yahoo.com/info/terms/ >> >> ------------------------------------------------------------------------ >> >> >> >> >
Received on Saturday, 15 October 2005 14:24:26 UTC