On Tuesday, July 03, 2012 10:33:57 AM Cong Wang wrote: > I am planning to modify the code of rdfs inference in jena, > actually I need to add some more rules for domain need.. > Does anyone know which part of the code I need to modify???
Do you need to change rdfs inference in Jena, or do you just need to create a new inference model with different rules? Jena's RDFS inference is mostly just some particular rules supplied to a rule-based reasoner. You can supply your own rules (based on the default RDFS rules) to do whatever you want. The default rules are in etc. Depending on your requirements, I think you want to start with rdfs-fb.rules or rdfs.rules -- the fb set uses hybrid inference (forward rules which can generate backward rules), while the rdfs.rules can I think run in either direction since they're not hybrid. Chris -- "It is seldom good news." ~Crystal Ball~, /The Tough Guide to Fantasyland/ Epimorphics Ltd, http://www.epimorphics.com Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT Epimorphics Ltd. is a limited company registered in England (number 7016688)
