Hello,
  I'd like to enter a spin:rule as a CONSTRUCT query that contains a sub
SELECT query within it (see example below).  When I do this, the SELECT
query seems to disappear in the form.  Is this type of query not
supported as a spin CONSTRUCT query?


CONSTRUCT {?failure Relex:ratio ?ratio}
WHERE 
{
   { SELECT ?item (sum(?rate) AS ?sysRate)
      WHERE {?item a Neutral:RepairItem .
                     ?item Neutral:failsAs ?failure .
                     ?failure Neutral:hasFailureRate ?fr .
                     ?fr Neutral:failureRate ?rate}
     GROUP BY ?item 
   }
   ?item Neutral:failsAs ?failure .
   ?failure Neutral:hasFailureRate ?fr .
   ?fr Neutral:failureRate ?rate
   LET (?ratio := 100 * ?rate / ?sysRate)
}

Thanks!
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to