On Thu, Oct 22, 2009 at 16:23, Kenny Guan <[email protected]> wrote: > is there an already way to retrieve properties associated with an ontology > class in OWL file?
None that I'm aware of. It's should be quite simple though with some XML parsing or XSLT code. First find the class and all its base classes, then find all DatatypeProperty and ObjectProperty elements that declare one of these classes as their domain. The current ontology file can be found here: https://dbpedia.svn.sourceforge.net/svnroot/dbpedia/ontology/dbpedia_3.3.owl Be aware that a new version is coming up: https://dbpedia.svn.sourceforge.net/svnroot/dbpedia/ontology/dbpedia_3.4.owl Christopher ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
