Hello Holger,

I have done the following test...

I have inserted some triples into a new empty spin file

INSERT {
:A :score 5 .
:A :score 4 .
:B :score 7 .
:B :score 6 .
:C :score 3 .
:C :score 2 .
}
WHERE {}

In TBCME SPARQL query tab, the following query is OK and give me the good 
result list B, A, C 
SELECT ?s
WHERE {
    ?s:score ?score
}
GROUP BY ?s
ORDER BY DESC (MAX(?score))

But this one sends me back multiple warnings  "WARN [Thread-160] 
(Log.java:108) - URI <http://spinrdf.org/sp#Max> not bound" and wrong 
results A, B, C
SELECT ?s
WHERE {
    ?s:score ?score
}
GROUP BY ?s
ORDER BY DESC (sp:Max(?score))

The workspace I am using is a new one, fully rebuilt with my new install of 
TBCME 4.6.3.

Thanks
Jamal









Le mardi 21 avril 2015 01:18:21 UTC+2, Holger Knublauch a écrit :
>
>  Hi Jamal,
>
> I cannot reproduce this. You may need to provide more information or send 
> along an example file illustrating the issue.
>
> Here is what I tried. I created a new SM script containing an 
> sml:IterateOverSelect and a (dummy) body. The select query was
>
> SELECT ((MAX(?x)) AS ?result)
> WHERE {
>     BIND (43 AS ?x) .
> }
>
> which is internally stored as sp:Max yet converted correctly to MAX at 
> execution time.
>
> Thanks,
> Holger
>
>
> On 4/20/2015 20:51, J.REZZOUK wrote:
>  
> Hello,
>
> I would like to use a MAX aggregator in a sml:IterateOverSelect module : 
> in the TBCME module editor, MAX is automatically replaced by sp:Max when I 
> save the iteration query ; and when I run the script, I get the following 
> warning "WARN [qtp16794866-38] (Log.java:108) - URI 
> <http://spinrdf.org/sp#Max> <http://spinrdf.org/sp#Max> not bound"
>
> In debug mode, I can check that ...
> - sp:Max doesn't give the result list I am expecting,
> - replacing sp:Max by MAX give me the good results.
>
> Could you help me ?
>
> Thanks in advance
> Jamal
> PS : Windows 7 + TBCME 4.6.3 (same issue with TBCME 4.4)
>
>  -- 
> You received this message because you are subscribed to the Google Group 
> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid 
> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to [email protected] 
> <javascript:>
> --- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
> 

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, 
TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
--- 
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/d/optout.

Reply via email to