-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '11-bug-fix' of github.com:GSS-Cogs/csv-to-csvw-action i…
…nto 11-bug-fix
- Loading branch information
Showing
7 changed files
with
584 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Dimension,Value,Measure,Unit | ||
a,0.0,length,cm | ||
b,1.0,length,cm | ||
c,2.0,length,cm | ||
d,3.0,length,cm | ||
e,4.0,length,cm |
352 changes: 352 additions & 0 deletions
352
out/csv_without_config/csv-without-config.csv-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,352 @@ | ||
{ | ||
"@context": "http://www.w3.org/ns/csvw", | ||
"@id": "csv-without-config.csv#dataset", | ||
"tables": [ | ||
{ | ||
"url": "csv-without-config.csv", | ||
"tableSchema": { | ||
"columns": [ | ||
{ | ||
"titles": "Dimension", | ||
"name": "dimension", | ||
"propertyUrl": "csv-without-config.csv#dimension/dimension", | ||
"valueUrl": "dimension.csv#{+dimension}", | ||
"required": true | ||
}, | ||
{ | ||
"titles": "Value", | ||
"name": "value", | ||
"propertyUrl": "csv-without-config.csv#measure/{+measure}", | ||
"datatype": "decimal", | ||
"required": true | ||
}, | ||
{ | ||
"titles": "Measure", | ||
"name": "measure", | ||
"propertyUrl": "http://purl.org/linked-data/cube#measureType", | ||
"valueUrl": "csv-without-config.csv#measure/{+measure}", | ||
"required": true | ||
}, | ||
{ | ||
"titles": "Unit", | ||
"name": "unit", | ||
"propertyUrl": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure", | ||
"valueUrl": "csv-without-config.csv#unit/{+unit}", | ||
"required": true | ||
}, | ||
{ | ||
"name": "virt_type", | ||
"virtual": true, | ||
"propertyUrl": "rdf:type", | ||
"valueUrl": "http://purl.org/linked-data/cube#Observation" | ||
}, | ||
{ | ||
"name": "virt_dataset", | ||
"virtual": true, | ||
"propertyUrl": "http://purl.org/linked-data/cube#dataSet", | ||
"valueUrl": "csv-without-config.csv#dataset" | ||
} | ||
], | ||
"foreignKeys": [ | ||
{ | ||
"columnReference": "dimension", | ||
"reference": { | ||
"resource": "dimension.csv", | ||
"columnReference": "uri_identifier" | ||
} | ||
} | ||
], | ||
"primaryKey": [ | ||
"dimension", | ||
"measure" | ||
], | ||
"aboutUrl": "csv-without-config.csv#obs/{dimension}@{measure}" | ||
} | ||
}, | ||
{ | ||
"url": "dimension.csv", | ||
"tableSchema": "dimension.table.json", | ||
"suppressOutput": true | ||
} | ||
], | ||
"rdfs:seeAlso": [ | ||
{ | ||
"@id": "csv-without-config.csv#csvcubed-build-activity", | ||
"@type": [ | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://www.w3.org/ns/prov#Activity" | ||
], | ||
"http://www.w3.org/ns/prov#used": [ | ||
{ | ||
"@id": "https://github.com/GSS-Cogs/csvcubed/releases/tag/v0.4.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#structure", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#DataStructureDefinition", | ||
"http://purl.org/linked-data/cube#ComponentSet", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource" | ||
], | ||
"http://purl.org/linked-data/cube#component": [ | ||
{ | ||
"@id": "csv-without-config.csv#component/length" | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/measure-type" | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/unit" | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/dimension" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#componentProperty": [ | ||
{ | ||
"@id": "csv-without-config.csv#measure/length" | ||
}, | ||
{ | ||
"@id": "http://purl.org/linked-data/cube#measureType" | ||
}, | ||
{ | ||
"@id": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure" | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#dimension/dimension" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#class/dimension", | ||
"@type": [ | ||
"http://www.w3.org/2000/01/rdf-schema#Class", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource" | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/dimension", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#ComponentSet", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#ComponentSpecification" | ||
], | ||
"http://purl.org/linked-data/cube#componentProperty": [ | ||
{ | ||
"@id": "csv-without-config.csv#dimension/dimension" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#dimension": [ | ||
{ | ||
"@id": "csv-without-config.csv#dimension/dimension" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#order": [ | ||
{ | ||
"@value": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/measure-type", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#ComponentSet", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#ComponentSpecification" | ||
], | ||
"http://purl.org/linked-data/cube#componentProperty": [ | ||
{ | ||
"@id": "http://purl.org/linked-data/cube#measureType" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#dimension": [ | ||
{ | ||
"@id": "http://purl.org/linked-data/cube#measureType" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#order": [ | ||
{ | ||
"@value": 2 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/length", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#ComponentSet", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#ComponentSpecification" | ||
], | ||
"http://purl.org/linked-data/cube#componentProperty": [ | ||
{ | ||
"@id": "csv-without-config.csv#measure/length" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#measure": [ | ||
{ | ||
"@id": "csv-without-config.csv#measure/length" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#order": [ | ||
{ | ||
"@value": 3 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#dimension/dimension", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#DimensionProperty", | ||
"http://purl.org/linked-data/cube#ComponentProperty", | ||
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", | ||
"http://purl.org/linked-data/cube#CodedProperty", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource" | ||
], | ||
"http://purl.org/linked-data/cube#codeList": [ | ||
{ | ||
"@id": "dimension.csv#code-list" | ||
} | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#label": [ | ||
{ | ||
"@language": "en", | ||
"@value": "Dimension" | ||
} | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#range": [ | ||
{ | ||
"@id": "csv-without-config.csv#class/dimension" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#measure/length", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#ComponentProperty", | ||
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#MeasureProperty" | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#label": [ | ||
{ | ||
"@language": "en", | ||
"@value": "Length" | ||
} | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#range": [ | ||
{ | ||
"@id": "http://www.w3.org/2001/XMLSchema#decimal" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#component/unit", | ||
"@type": [ | ||
"http://purl.org/linked-data/cube#ComponentSet", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#ComponentSpecification" | ||
], | ||
"http://purl.org/linked-data/cube#attribute": [ | ||
{ | ||
"@id": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#componentProperty": [ | ||
{ | ||
"@id": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#componentRequired": [ | ||
{ | ||
"@value": true | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#order": [ | ||
{ | ||
"@value": 4 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#dataset", | ||
"@type": [ | ||
"http://www.w3.org/ns/dcat#Resource", | ||
"http://purl.org/linked-data/cube#Attachable", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource", | ||
"http://purl.org/linked-data/cube#DataSet", | ||
"http://www.w3.org/ns/dcat#Dataset" | ||
], | ||
"http://purl.org/dc/terms/identifier": [ | ||
{ | ||
"@value": "Csv Without Config" | ||
} | ||
], | ||
"http://purl.org/dc/terms/issued": [ | ||
{ | ||
"@type": "http://www.w3.org/2001/XMLSchema#dateTime", | ||
"@value": "2023-05-26T10:17:48.151939" | ||
} | ||
], | ||
"http://purl.org/dc/terms/modified": [ | ||
{ | ||
"@type": "http://www.w3.org/2001/XMLSchema#dateTime", | ||
"@value": "2023-05-26T10:17:48.151939" | ||
} | ||
], | ||
"http://purl.org/dc/terms/title": [ | ||
{ | ||
"@language": "en", | ||
"@value": "Csv Without Config" | ||
} | ||
], | ||
"http://purl.org/linked-data/cube#structure": [ | ||
{ | ||
"@id": "csv-without-config.csv#structure" | ||
} | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#label": [ | ||
{ | ||
"@language": "en", | ||
"@value": "Csv Without Config" | ||
} | ||
], | ||
"http://www.w3.org/ns/prov#wasGeneratedBy": [ | ||
{ | ||
"@id": "csv-without-config.csv#csvcubed-build-activity" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#dependency/dimension", | ||
"@type": [ | ||
"http://rdfs.org/ns/void#Dataset", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource" | ||
], | ||
"http://rdfs.org/ns/void#dataDump": [ | ||
{ | ||
"@id": "./dimension.csv-metadata.json" | ||
} | ||
], | ||
"http://rdfs.org/ns/void#uriSpace": [ | ||
{ | ||
"@value": "dimension.csv#" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "csv-without-config.csv#unit/cm", | ||
"@type": [ | ||
"http://qudt.org/schema/qudt/Unit", | ||
"http://www.ontology-of-units-of-measure.org/resource/om-2/Unit", | ||
"http://www.w3.org/2000/01/rdf-schema#Resource" | ||
], | ||
"http://www.w3.org/2000/01/rdf-schema#label": [ | ||
{ | ||
"@language": "en", | ||
"@value": "cm" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.