Passing multiple queries and return multiple results

0 views
Skip to first unread message

Ron Michael Zettlemoyer

unread,
Nov 24, 2014, 10:14:19 PM11/24/14
to sta...@clarkparsia.com
Is there any mechanism - or could there be - for submitting multiple queries via HTTP and returning the results in a single response? 

Mike Grove

unread,
Nov 25, 2014, 7:21:19 AM11/25/14
to stardog
On Mon, Nov 24, 2014 at 10:14 PM, Ron Michael Zettlemoyer <r...@zettlemoyer.com> wrote:
Is there any mechanism - or could there be - for submitting multiple queries via HTTP and returning the results in a single response? 

For update queries, that's part of the language; you can send > 1 update query at once.  For reads, the quick and dirty solution would probably be to union together a bunch of subqueries.

Cheers,

Mike
 

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Ron Michael Zettlemoyer

unread,
Nov 26, 2014, 4:30:56 PM11/26/14
to Stardog
Sorry, yes, I was just thinking of reads.

Unions would actually be a good solution for most of my cases. I'd forgotten how different they are from SQL unions. Thanks!
Reply all
Reply to author
Forward
0 new messages