This set of files talks about whether certain countries have nuclear 
weapons and whether they have aircraft carriers.

Here is a description of each of the files with examples.

Category.csv:
If there are two levels of property, then there will be depth 0 and depth 1.
However, we don't have that, so Cateogy.csv does not change from this sample.

import.yml: says where the files that need to be used.
Note that the files can therefore have different names from those
mentioned below as long as import.yml maps them.
e.g. Ling.csv could for our application be called Countries.csv
as long as import.yml identifies that table to  ling.
Marco: what should the paths look like.

Group.csv: Gives general descriptive information about the data, e.g.
it's about Weapons and also the mandatory fields for examples.

Ling.csv was originally only for languages, but can apply to anything,
so here we apply it to countries.
Each country has an id (which need not have any meaning), a name, a parent_id
(not applicable for us so leave it blank), and then three last fields
that should be 0, 0 and blank (so ending in a comma).

Property.csv has a description of properties. Should be self-explanatory.

LingsProperty.csv relates these two.
For example, since the United States is 1 and 10 is the property id for
the property nuclear weapons, we have the value Yes. The last two fields
are always 0 followed by blank (so ending in a comma)

Examples.csv has information about examples pertaining to particular
ling_ids (in this case countries).
For example, 
9,1,0,Example_1,
says that the example whose id is 9 refers to country 1 (United Sates),
the gorup id will always be 0, and the example has some name.

StoredValue.csv has the values of the mandatory fields of each example
(in our case name and comment as stated in Group.csv)
For example, the first two rows of that file correspond to the name
and comment field of example 8, where 8 corresponds (in Example.csv)
to an example of ling_id  1 (United States).

ExamplesLingsProperty.csv:
This relates examples to to LingsProperties, e.g. eventually giving
the names of various aircraft carriers of various countries.
It first has an id of an ExampleLingsProperty, then the id of the example
from Examples.csv, then the id of the LingsProperty (e.g. The first
row of ExamplesLingsProperty has 4,8,91,0, where the 4 is the identifier
of this particular ExamplesLingsProperty, 8 corresponds to the Example_0
from the Examples.csv table and
91 corresponds to the row 91,1,20,Yes,0,
from LingsProperty.csv corresponding to country 1 (United States), property
20 (aircraft carriers) has a yes).

User.csv:
has three users. admin means that the person can modify anything to
the data in terraling.
user may have specific powers within a group (e.g. the weapons application),
but that is not determined here.
You'll want to make yourself users.

Member.csv:  A member is a user of a specific group.
He/She can be a "member" or a "group admin". A member can edit
 some stuff within the group, while a group admin can do everything within that group/context. A group admin has "powers" only within his group
so in other groups he/she's a regular user.
So you will want to make yourself a group admin.
Dear Dennis,

To add Italy as Country these are the steps:

• I assume the user is logged and in the weapons group
• go to Weapons (perhaps it should be "Countries"?) and click New Weapons
• fill the name box with Italy and then press submit

To add a geographical info we need to add the latlong property to the group:
• go to the Properties page and click new property
• fill the box with "latlong"
• choose category0
• click submit

To add/edit/update any value in a particular country just:

• go to the country list
• click on a country name
• click on supported edit
• here thanks to Ling - the guy, not the language - you an easily set/compare values with examples/sureness checks

Marco Liberati

> On 10 Jun 2014, at 12:51, "Dennis Shasha" <shasha@courant.nyu.edu> wrote:
> 
> Dear Marco,
> Cool. It looks really good.
> Ok, now say I wanted to edit it to add in Italy
> and/or to put in geographical info?
> Thanks,
> Dennis
