I was introduced to freebase by James Burke's (of Connections fame--highly
recommended TV series) k-web project and played with it some.  I am more
interested in transforming JSON with macro-JSON, with the possibility of
macro-JSON transforming itself.

However if freebase has implemented some kind of historical gazetteer
(including temporal information), that would interest me a lot.  I imagine
showing a globe collapsing as the speed of communication between points is
reduced.

What I mean by persistent below is things that remain constant between runs
of a macro program.  For example,  in comparing a value to null, the null
is made persistent in the macro, but not necessarily in the thing the macro
is processing.  Another thing that might be considered constant is the
number of predicates in a conditional branch.  My hope with
macro-macro-JSON is to make those things more flexible.  Perhaps even
bordering on genetic algorithms.

I am hoping to find a multiuser JSON editor with an excellent API.  If EDN
already has such an editor, I will consider using it.  Pointers anyone?
On Jul 22, 2013 6:14 PM, "Chris Gahan" <[email protected]> wrote:

> Hey John,
>
> If you don't mind me asking, what's the higher level goal of this tool
> you're making? Are you interested in transforming JSON? Querying JSON?
>
> If you're interested in queries, Freebase has a very nice graph query
> system (called MQL) where the user gives it a JSON structure as a query
> template, and the database does some graph traversal and returns a
> collection of JSON structures that match the template.
>
> I think it's a really nice system; you can see some examples here:
> http://www.freebase.com/query
>
> The basic idea is that your JSON query template has some key/values for it
> to match (eg: "artist": "The Police"), and whatever values are left blank
> (eg: "album": []) gets populated with results. It has the littany of
> standard database query features as well, like ordering and limits and
> ranges and whatnot: http://mql.freebaseapps.com
>
> Hope this helps!
> -- Chris
>
>
> On Sun, Jul 21, 2013 at 4:45 PM, John Carlson <[email protected]> wrote:
>
>> Or numbers for pointers...
>> On Jul 21, 2013 3:43 PM, "John Carlson" <[email protected]> wrote:
>>
>>> I think what would be more difficult would be identifying what is
>>> persistent and what is runtime values.  Also, JSON doesn't contain
>>> pointers, so one would have to use strings for pointers.
>>> On Jul 21, 2013 3:22 PM, "James McCartney" <[email protected]> wrote:
>>>
>>>>
>>>> I thought about this briefly. One issue is how to distinguish literal
>>>> strings from identifiers.
>>>>
>>>> On Sun, Jul 21, 2013 at 10:28 AM, John Carlson <[email protected]>wrote:
>>>>
>>>>> Hmm.  I've been thinking about creating a macro language written in
>>>>> JSON that operates on JSON structures.  Has someone done similar work?
>>>>> Should I just create a JavaScript AST in JSON? Or should I create an AST
>>>>> specifically for JSON manipulation?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> John
>>>>>
>>>>> _______________________________________________
>>>>> fonc mailing list
>>>>> [email protected]
>>>>> http://vpri.org/mailman/listinfo/fonc
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --- james mccartney
>>>> _______________________________________________
>>>> fonc mailing list
>>>> [email protected]
>>>> http://vpri.org/mailman/listinfo/fonc
>>>>
>>>>
>> _______________________________________________
>> fonc mailing list
>> [email protected]
>> http://vpri.org/mailman/listinfo/fonc
>>
>>
>
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc
>
>
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to