Michael, Yes, you can infer any triples you want in a rule. But the example query you created needs to be changed.
Your CONSTRUCT clause will not work because ?x is unbound. You must bind it in the WHERE clause to create a URI for this new resource. Check out various TopBraid functions for building URI. Regards, Irene Sent from my iPhone > On Jan 31, 2014, at 8:10 AM, "Michael B." <[email protected]> wrote: > > Is there any way to create new instances / resources using a SPIN rule? I'd > like to infer a new individual with something like this: > > >> CONSTRUCT { ?x a :IndirectCapability. >> ?x :fitForActionType ?actionType. >> ?x :compatibleWithAccessory ?accessory. >> ?this :hasIndirectCapability ?x} >> WHERE { >> ?this :compatibleWithAccessory ?accessory. >> ?accessory :fitForActionType ?actionType. >> } > > Regards, > Michael > -- > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, > SPARQLMotion, SPARQL Web Pages and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
