Skip to content

Commit

Permalink
generated data
Browse files Browse the repository at this point in the history
  • Loading branch information
johenglisch committed Mar 1, 2024
1 parent 1343ab0 commit ff063ca
Show file tree
Hide file tree
Showing 8 changed files with 33,133 additions and 0 deletions.
1 change: 1 addition & 0 deletions cldf/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.csv text eol=crlf
3 changes: 3 additions & 0 deletions cldf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# CLDF directory

This directory contains the dataset formatted as [CLDF dataset](https://cldf.clld.org).
309 changes: 309 additions & 0 deletions cldf/cldf-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
{
"@context": [
"http://www.w3.org/ns/csvw",
{
"@language": "en"
}
],
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#StructureDataset",
"dc:license": "https://creativecommons.org/licenses/by/4.0/",
"dc:title": "Austronesian and Papuan Numeral Systems",
"prov:wasDerivedFrom": [
{
"rdf:about": "barlownumeralsystems",
"rdf:type": "prov:Entity",
"dc:created": "11e6906",
"dc:title": "Repository"
},
{
"rdf:about": "https://github.com/glottolog/glottolog",
"rdf:type": "prov:Entity",
"dc:created": "v4.8",
"dc:title": "Glottolog"
}
],
"prov:wasGeneratedBy": [
{
"dc:title": "python",
"dc:description": "3.8.10"
},
{
"dc:title": "python-packages",
"dc:relation": "requirements.txt"
}
],
"rdf:ID": "barlownumeralsystems",
"rdf:type": "http://www.w3.org/ns/dcat#Distribution",
"tables": [
{
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#ValueTable",
"dc:extent": 30560,
"tableSchema": {
"columns": [
{
"datatype": {
"base": "string",
"format": "[a-zA-Z0-9_\\-]+"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#id",
"required": true,
"name": "ID"
},
{
"dc:extent": "singlevalued",
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#languageReference",
"required": true,
"name": "Language_ID"
},
{
"dc:extent": "singlevalued",
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#parameterReference",
"required": true,
"name": "Parameter_ID"
},
{
"dc:extent": "singlevalued",
"datatype": "string",
"null": [
"?",
""
],
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#value",
"required": false,
"name": "Value"
},
{
"dc:extent": "singlevalued",
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#codeReference",
"required": false,
"name": "Code_ID"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#comment",
"required": false,
"name": "Comment"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#source",
"required": false,
"separator": ";",
"name": "Source"
}
],
"foreignKeys": [
{
"columnReference": [
"Language_ID"
],
"reference": {
"resource": "languages.csv",
"columnReference": [
"ID"
]
}
},
{
"columnReference": [
"Parameter_ID"
],
"reference": {
"resource": "parameters.csv",
"columnReference": [
"ID"
]
}
},
{
"columnReference": [
"Code_ID"
],
"reference": {
"resource": "codes.csv",
"columnReference": [
"ID"
]
}
}
],
"primaryKey": [
"ID"
]
},
"url": "values.csv"
},
{
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#LanguageTable",
"dc:extent": 2146,
"tableSchema": {
"columns": [
{
"datatype": {
"base": "string",
"format": "[a-zA-Z0-9_\\-]+"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#id",
"required": true,
"name": "ID"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#name",
"required": false,
"name": "Name"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#macroarea",
"required": false,
"name": "Macroarea"
},
{
"datatype": {
"base": "decimal",
"minimum": "-90",
"maximum": "90"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#latitude",
"required": false,
"name": "Latitude"
},
{
"datatype": {
"base": "decimal",
"minimum": "-180",
"maximum": "180"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#longitude",
"required": false,
"name": "Longitude"
},
{
"datatype": {
"base": "string",
"format": "[a-z0-9]{4}[1-9][0-9]{3}"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#glottocode",
"required": false,
"valueUrl": "http://glottolog.org/resource/languoid/id/{Glottocode}",
"name": "Glottocode"
},
{
"datatype": {
"base": "string",
"format": "[a-z]{3}"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#iso639P3code",
"required": false,
"name": "ISO639P3code"
}
],
"primaryKey": [
"ID"
]
},
"url": "languages.csv"
},
{
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#ParameterTable",
"dc:extent": 16,
"tableSchema": {
"columns": [
{
"datatype": {
"base": "string",
"format": "[a-zA-Z0-9_\\-]+"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#id",
"required": true,
"name": "ID"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#name",
"required": false,
"name": "Name"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#description",
"required": false,
"name": "Description"
},
{
"datatype": "json",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#columnSpec",
"required": false,
"name": "ColumnSpec"
}
],
"primaryKey": [
"ID"
]
},
"url": "parameters.csv"
},
{
"dc:conformsTo": "http://cldf.clld.org/v1.0/terms.rdf#CodeTable",
"dc:extent": 44,
"tableSchema": {
"columns": [
{
"datatype": {
"base": "string",
"format": "[a-zA-Z0-9_\\-]+"
},
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#id",
"required": true,
"name": "ID"
},
{
"dc:description": "The parameter or variable the code belongs to.",
"dc:extent": "singlevalued",
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#parameterReference",
"required": true,
"name": "Parameter_ID"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#name",
"required": false,
"name": "Name"
},
{
"datatype": "string",
"propertyUrl": "http://cldf.clld.org/v1.0/terms.rdf#description",
"required": false,
"name": "Description"
},
{
"datatype": "string",
"name": "Map_Icon"
}
],
"foreignKeys": [
{
"columnReference": [
"Parameter_ID"
],
"reference": {
"resource": "parameters.csv",
"columnReference": [
"ID"
]
}
}
],
"primaryKey": [
"ID"
]
},
"url": "codes.csv"
}
]
}
45 changes: 45 additions & 0 deletions cldf/codes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
ID,Parameter_ID,Name,Description,Map_Icon
system-binary,numeral-system,binary,,c0000dd
system-decimal,numeral-system,decimal,,cdd0000
system-quinary,numeral-system,quinary,,cffff00
system-uncommon,numeral-system,uncommon,,c009900
system-unknown,numeral-system,unknown,,tcccccc
subsystem-binary-proper,numeral-subsystem,binary proper,,c0000dd
subsystem-binary-3,numeral-subsystem,binary+3,,cdd0000
subsystem-binary-4,numeral-subsystem,binary+4,,cffff00
subsystem-decimal-modified,numeral-subsystem,decimal modified,,c009900
subsystem-decimal-proper,numeral-subsystem,decimal proper,,c990099
subsystem-quaternary,numeral-subsystem,quaternary,,s0000dd
subsystem-quinary,numeral-subsystem,quinary,,sdd0000
subsystem-senary,numeral-subsystem,senary,,sffff00
subsystem-unknown,numeral-subsystem,unknown,,tcccccc
binary-counting-insufficient-data,binary-counting,insufficient data,,
binary-counting-maybe,binary-counting,maybe,,
binary-counting-no,binary-counting,no,,
binary-counting-yes,binary-counting,yes,,
ternary-counting-insufficient-data,ternary-counting,insufficient data,,
ternary-counting-maybe,ternary-counting,maybe,,
ternary-counting-no,ternary-counting,no,,
quaternary-counting-insufficient-data,quaternary-counting,insufficient data,,
quaternary-counting-maybe,quaternary-counting,maybe,,
quaternary-counting-no,quaternary-counting,no,,
quaternary-counting-yes,quaternary-counting,yes,,
quinary-counting-insufficient-data,quinary-counting,insufficient data,,
quinary-counting-maybe,quinary-counting,maybe,,
quinary-counting-no,quinary-counting,no,,
quinary-counting-yes,quinary-counting,yes,,
senary-counting-insufficient-data,senary-counting,insufficient data,,
senary-counting-maybe,senary-counting,maybe,,
senary-counting-no,senary-counting,no,,
senary-counting-yes,senary-counting,yes,,
decimal-counting-insufficient-data,decimal-counting,insufficient data,,
decimal-counting-maybe,decimal-counting,maybe,,
decimal-counting-no,decimal-counting,no,,
decimal-counting-yes,decimal-counting,yes,,
vigesimal-counting-insufficient-data,vigesimal-counting,insufficient data,,
vigesimal-counting-maybe,vigesimal-counting,maybe,,
vigesimal-counting-no,vigesimal-counting,no,,
vigesimal-counting-yes,vigesimal-counting,yes,,
bodypart-tallying-maybe,bodypart-tallying,maybe,,
bodypart-tallying-yes,bodypart-tallying,yes,,
hand-word-yes,hand-word,yes,,
Loading

0 comments on commit ff063ca

Please sign in to comment.