Sub-queries (like LET and aggregations) are native ARQ extensions that
have not reached standard status yet. It is likely that they will be
added to SPARQL 1.1, but currently the SPIN syntax does not support
them. I will add this to our TODO list, but cannot promise any date
for this capability.
Holger
On Apr 10, 2009, at 12:19 PM, Schmitz, Jeffrey A wrote:
>
>
> 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
-~----------~----~----~----~------~----~------~--~---