I'm using another imageobject viewer with a higher weight but the query in
this helper didn't work as I expected.
> SELECT ?widgetClass
> WHERE {
> GRAPH ui:graph {
> {
> SELECT *
> WHERE {
> ?widgetClass a swa:ObjectViewerClass .
> ?widgetClass swa:objectWidgetWeight ?w .
> ?w swa:expression ?expression .
> BIND (COALESCE(spl:object(?w, swa:weight), 0) AS ?weight) .
> }
> ORDER BY DESC (?weight)
> } .
> FILTER spin:eval(?expression, arg:kind, ?kind, arg:predicate,
> ?predicate, arg:type, ?type) .
> } .
> }
>From what I can tell the Order By doesn't affect the result. I moved ORDER
BY DESC (?weight) to the last line and then it worked.
--
You received this message because you are subscribed to the Google Group
"TopBraid Suite Users", the topics of which include the TopBraid Suite family
of products and its base technologies such as 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.