Re: [SPIN-API][tbc-users] Re: SPIN API suggestion

2009-04-10 Thread Holger Knublauch
Hi Jeff, I think the scenario you describe, to create new instances of the associated class, cannot happen in spin:rules. When spin:rules are executed, the engine automatically prepends a clause such as WHERE { ?this rdf:type . ... rest of the original WHERE clause In cases

RE: [SPIN-API][tbc-users] Re: SPIN API suggestion

2009-04-10 Thread Schmitz, Jeffrey A
Thanks Holger, I have another bit of feedback for your consideration. In the SpinInferences.runQueryOnClass function, there is the following check that is performed before the query is executed on the query model: if(isRootClass(cls) || queryModel.contains(null, RDF.type, cls)