[Developers] write grammar questions: question 1 -- user-defined types
Dae Park
daepark at metaweb.com
Tue Jun 3 19:09:07 UTC 2008
Starting with "/test/note",
1. all non-alphanumeric characters are converted to underscore:
"_test_note"
2. any two or more sequences of "_" is converted to a single "_"
3. mql does not allow a key to begin with "_", therefore we prepend
an "x" in these cases: "x_test_note"
-dae
On Jun 3, 2008, at 3:13 AM, Will Fitzgerald wrote:
> (First in a series of questions)
>
> I created a new type '/test/note'. It appears that the actual name for
> my type is 'user/wf/default_domain/x_test_note'. (This is on the
> sandbox)
>
> Is there documentation for this somewhere? Is the general rule that
> '/' converts to space, and an 'x' is prepended? Under what conditions
> is a x_-style type converted to the form I created?
>
> --
> Will Fitzgerald
> weblog: <http://www.entish.org/willwhim>
> Stop US torture: <http://www.unsubscribe-me.org>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list