On Tue, 2011-09-27 at 03:48 +0100, Monika Solanki wrote: > I am using the generic rule reasoner layered on top of pellet. The TBox and > ABox for my use case are in separate namespaces. I would like to add the > most useful results from the inferred model back into the ABox and persist > it. These results are those which have all subjects in the ABox namespace > and do not include bnodes in the subject or object position. I do not want > to persist the complete inferred model as the new ABox. Is there a way to > filter the results through calls to the reasoner rather than manipulate the > results in the code?
Not that I can think of unless there is a limited number of ABox subject nodes - in which case you could list those via the base model then ask for their properties via the inference model. You can use filterDrop to filter results as a stream. Dave
