As the subject states, I want to return only a single JSON object, not an 
array of JSON objects or a single JSON object where one of the values is 
another JSON object.  This has to be done from a SINGLE SPARQL query being 
placed within the ui:JSONServices subclass (from the documentation I read, 
the place to place the query is within the ui:prototype property) then 
defining name-value pairs.  An argument is defined; the SPARQL query gets 
more info on this argument.  I have read online that this can be achieved 
as follows: <swon:Value arg:name="Name_To_Give" arg:value="{= 
spl:object(?argument, schema:argumentHasRandomValue) }" />.  THIS IS NOT 
THE ANSWER I AM LOOKING FOR since I have never seen that in any SPARQL 
query leading me to believe that it is not something based on standards but 
something proprietary that might not work with anything but TopBraid 
Composer AND the same value can be obtained as follows: SELECT ?randomValue 
WHERE { ?argument schema:argumentHasRandomValue ?randomValue . }, the 
assumption being that the value only appears once is valid in my case.  I 
have a feeling this can be achieved by defining a property within the 
<swon:Object> tag but I haven't found any documentation that tells me what 
this property is.  Any advice?

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

Reply via email to