On 8/20/2014 5:31, Dejan Veselinovic wrote:
For clarification, I am currently building this functionality within a
SPARQL Web Page and have read through http://uispin.org/swon.html and
http://uispin.org/ui.html. I tried defining a ui:resultSet property
within a swon:Object element but that property is not allowed within
that element.
Why not? You can do
<swon:Object>
<ui:forEach ui:resultSet="{# ... }">
<swon:Value ...
</ui:forEach>
</swon:Object>
I know that property is allowed within the ui:forEach element but I am
only expecting a single JSON object, not an array of JSON objects
which seems to be the use for the ui:forEach element. swon:RSObject
does most of what I want (returning a single JSON object from a result
set) but the problem here is I can't define a Name-Value pair (a
swon:Value element) for that element as the names are taken directly
from the result set. Ideally, what I am looking for is an element
where I can define a result set from a SPARQL query that will only
return a single JSON object (like the swom:RSObject element) and then
define Name-Value pairs (akin to the swon:Value element) for that
result set. Does such an element exist, what is it and where did I
miss it?
See above. If this does not help, please send us an example SPARQL query
and the output that you would like to produce.
Thanks
Holger
--
-- 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 Insight, SPARQLMotion, SPARQL
Web Pages 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
---
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.