Hi Jeff,

I can confirm this is a bug in Jena (at least in the version that we bundle with TopBraid). It internally converts your query to something like

ASK
...
    { SELECT  (count(?hsp) AS ?hspCount)
      WHERE
{ ?hsp <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://topbraid.org/examples/spinsquare#SeriesParameter> }
      GROUP BY
    }
...
  }

(forget about the namespaces for a while). You see it appends an orphan GROUP BY before attempting to parse this back in. I will need to check whether the new version of Jena still has this issue, but meanwhile you will need to work around this issue by turning your ASK into a CONSTRUCT. See

    http://spinrdf.org/spin.html#spin-constraint-construct

Holger


On 5/21/2012 23:49, Schmitz, Jeffrey A wrote:

# Not all (or too many) Series Parameters were transformed

*ASK**WHERE*{

*?this*ACMS_Report_Specification:reportFormat ?format.

?formatcomposite:child ?sp.

    {

*SELECT*((*COUNT*(?hsp)) *AS*?hspCount)

*WHERE*{

?hspa honeywell_report:SeriesParameter .

        }

    } .

    {

*SELECT*((*COUNT*(?sp)) *AS*?spCount)

*WHERE*{

?spa ACMS_Report_Specification:SeriesParameter .

        }

    } .

*FILTER*(?spCount!= ?hspCount) .

}


--
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 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

Reply via email to