Aziza; Yes, this is possible with TopBraid Composer. The most likely solution will be to create a SPARQLMotion script that takes user input and invokes the rule. But I am unclear on what criteria you are suggesting for "...automatically finds a rule and fire it". What would the user input look like? By "rules", I expect you mean SPARQL rules, i.e. values of spin:rule?
-- Scott On Mar 10, 6:52 am, aziza <[email protected]> wrote: > Hey,all! > A couple of days ago I was describing my issue of a contract > compliance. I remind you abt it in few words. > Currently I have a number of resorces and a few rules which infer a > type of resource. To infer to which type a resource belongs to I need > manually to find an appropriate rule and fire it. But actually I want > that based on input data the system would automatically identify which > rule to fire and a firing a needed rule will infer a type of this > resource. > For ex., > CONSTRUCT { ?contract a :ContractA } > WHERE > { ?contract :hasProcess ?p1 . > ?p1 hasInitiator ?i1 . > ?i1 a :Bank . > ?p1 :hasRecipient ?r1 . > ?r1 a :Supplier . > } > So, if i fire this rule it would infer that some resourceA which > satisfies some conditions under WHERE clause is a type of ContractA. > But I want other way around: based on the input data (some resource) > the system would automatically finds a rule and fire it. > Is it possible to do? Is it possible to do by TopBraid or > AllegroGraph? > Would be very grateful to you help. > Regard,Aziza -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion 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
