Tuesday, December 20, 2011

JSON Query Languages

// Bind to variable
$log = read(hdfs("log"));
$user = read(hdfs("user"));
// Query 1: filter and transform
$log
-> filter $.from == 101
-> transform { mandatory: $.msg };

// result ...
[
{
"mandatory": "Hello, world!"
}
]
// from http://code.google.com/p/jaql/wiki/JaqlOverview
Looks a lot like a sequence you might find in graph traversal. Bind phase, subquery, output. I guess my point here is that the query syntax and the nested form syntax should all be mushed into one group of syntax which describes a self directed graphs that convolve with any other graph. Notice they grabbed the dollar sign for us!!! But they brought back the parenthesis, I thought we dumped that.

Bind to variable should be transparent to the user. "user" and "log" are not files, they are name/graph pairs.
The convolution is: @{101.msg,log} = result, though I almost certainly got the syntax wrong (note I grabbed the = since they offered it!!. However, bottom line, JSON people are working this issue, working it enough that I am interested in writing a line of code or two. I think the inner join of the two syntax JSON sets (describe and query) gets what graph traversal needs.

I am still unsure of brackets. Does the graph layer need a hint that things might be kinda square? No, not really. The concept of squareness is likely the outcome of a slider bar somewhere. Squareness is a signal to noise ratio, it tells the bots how compact is the information storage.

Anyway, my inner join of JSON gets me the following Ugly Set:
{}=:$., From other places we got _*?!

Regarding the dollar sign. My understanding of dollar is that it means, do a defined method right now. I need reserved words or a dollar sign, I think that is the deal here. Maybe I can dump the dollar sign and get its functionality from named pairs.

What about string quotes? At the graph layer they are meaningless, at the parser, quotes really mean, include white space and ugly characters in the key value. However, we still have to work the regex for the key value='graph of bytes' problem. We have ugly set conflicts with regex. In theory our string version of graphs is TE itself, which should be regex identically. Notice graphs and regex both have the graph convolution model.

24 comments:

Diablo III items said...

it appears as if you were built with a much more wonderful saturday and sunday than my very own! ' lol, i expended it learning regarding finals. ughhh.
attractive weblog, incidentally! Cheap Guild Wars 2 Gold



Mists of Pandaria MoP Key

Anonymous said...

cheap alprazolam xanax overdose yahoo - taking xanax for anxiety

Anonymous said...

tramadol 50 mg where to buy tramadol online safely - buy tramadol online overnight delivery

Anonymous said...

buy tramadol online where to buy tramadol online legal - tramadol withdrawal symptoms canine

Anonymous said...

buy tramadol online tramadol 50 mg normon - tramadol hcl 50 mg injection

Anonymous said...

alprazolam xanax buy xanax bars 2mg online - buy xanax online yahoo answers

Anonymous said...

xanax online xanax side effects user reviews - what is xanax dosage for anxiety

Anonymous said...

order tramadol buy tramadol spain - cheap tramadol online overnight delivery

Anonymous said...

carisoprodol 350 mg carisoprodol dosage forms - carisoprodol 350 mg online

Anonymous said...

tramadol generic tramadol hcl 50 mg muscle relaxer - tramadol urinary retention

Anonymous said...

cheap cialis online eli lilly cialis price - buy cialis vegas

Anonymous said...

buy tramadol online no prescription tramadol for dogs constipation - tramadol 750 mg

Anonymous said...

cialis sale cialis for bph reviews - order cialis daily use

Anonymous said...

xanax online is it safe to buy xanax online - xanax used opiate withdrawal

Anonymous said...

cialis professional buy cialis retail - safest place buy cialis online

Anonymous said...

cialis online cialis men - cialis price us

Anonymous said...

http://landvoicelearning.com/#44827 tramadol cheap - buy tramadol with american express

Anonymous said...

tramadol online buy tramadol online with cod - tramadol hcl online pharmacy

Anonymous said...

buy ativan online picture of lorazepam 1mg - buy ativan

Anonymous said...

ativan medication ativan side effects confusion - lorazepam 1mg clonazepam

Anonymous said...

ways to buy ativan online ativan bipolar - long does ativan high last

Anonymous said...

http://ranchodelastortugas.com/#71453 xanax drug pics - xanax xr drug test

Anonymous said...

buy tramadol online tramadol for dogs dosage usa - can take 2 tramadol 50 mg

Anonymous said...

http://ranchodelastortugas.com/#51462 side effects of 1mg xanax - xanax side effects children