diff --git a/README.md b/README.md index a54a6e6..5839295 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To download the terms in CSV you can do: And if you want them in json-ld: -`curl -H "accept:application/ld+json" -L https://w3id.org/ro/terms > context.json` +`curl -H "accept:application/ld+json" -L https://w3id.org/ro/terms > context.jsonld` Equivalent content negotiation is available for each of the [folders](https://github.com/ResearchObject/ro-terms/tree/master) registered under ro-terms, e.g. diff --git a/context.jsonld b/context.jsonld new file mode 100644 index 0000000..a652029 --- /dev/null +++ b/context.jsonld @@ -0,0 +1,8 @@ +[ + "https://w3id.org/ro/crate/1.1/context", + { + "Person": "https://w3id.org/ro/terms/#Person", + "fullName": "https://w3id.org/ro/terms/#fullName", + "friend_of": "https://w3id.org/ro/terms/#friend_of" + } +] \ No newline at end of file diff --git a/copo/context.jsonld b/copo/context.jsonld new file mode 100644 index 0000000..9df4680 --- /dev/null +++ b/copo/context.jsonld @@ -0,0 +1,94 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "associated_tol_project": "https://w3id.org/ro/terms/copo#associated_tol_project", + "biosampleAccession": "https://w3id.org/ro/terms/copo#biosampleAccession", + "boldAccession": "https://w3id.org/ro/terms/copo#boldAccession", + "copo_id": "https://w3id.org/ro/terms/copo#copo_id", + "copo_profile_title": "https://w3id.org/ro/terms/copo#copo_profile_title", + "created_by": "https://w3id.org/ro/terms/copo#created_by", + "manifest_id": "https://w3id.org/ro/terms/copo#manifest_id", + "public_name": "https://w3id.org/ro/terms/copo#public_name", + "sampleDerivedFrom": "https://w3id.org/ro/terms/copo#sampleDerivedFrom", + "SAMPLE_FORMAT": "https://w3id.org/ro/terms/copo#SAMPLE_FORMAT", + "sampleSameAs": "https://w3id.org/ro/terms/copo#sampleSameAs", + "sampleSymbiontOf": "https://w3id.org/ro/terms/copo#sampleSymbiontOf", + "sraAccession": "https://w3id.org/ro/terms/copo#sraAccession", + "status": "https://w3id.org/ro/terms/copo#status", + "submissionAccession": "https://w3id.org/ro/terms/copo#submissionAccession", + "time_created": "https://w3id.org/ro/terms/copo#time_created", + "time_updated": "https://w3id.org/ro/terms/copo#time_updated", + "TISSUE_REMOVED_FROM_BARCODING": "https://w3id.org/ro/terms/copo#TISSUE_REMOVED_FROM_BARCODING", + "tol_project": "https://w3id.org/ro/terms/copo#tol_project", + "updated_by": "https://w3id.org/ro/terms/copo#updated_by", + "Sample": "https://w3id.org/ro/terms/sample#Sample", + "SERIES": "https://w3id.org/ro/terms/sample#SERIES", + "RACK_OR_PLATE_ID": "https://w3id.org/ro/terms/sample#RACK_OR_PLATE_ID", + "TUBE_OR_WELL_ID": "https://w3id.org/ro/terms/sample#TUBE_OR_WELL_ID", + "SPECIMEN_ID": "https://w3id.org/ro/terms/sample#SPECIMEN_ID", + "ORDER_OR_GROUP": "https://w3id.org/ro/terms/sample#ORDER_OR_GROUP", + "FAMILY": "https://w3id.org/ro/terms/sample#FAMILY", + "GENUS": "https://w3id.org/ro/terms/sample#GENUS", + "TAXON_ID": "https://w3id.org/ro/terms/sample#TAXON_ID", + "SCIENTIFIC_NAME": "https://w3id.org/ro/terms/sample#SCIENTIFIC_NAME", + "TAXON_REMARKS": "https://w3id.org/ro/terms/sample#TAXON_REMARKS", + "INFRASPECIFIC_EPITHET": "https://w3id.org/ro/terms/sample#INFRASPECIFIC_EPITHET", + "CULTURE_OR_STRAIN_ID": "https://w3id.org/ro/terms/sample#CULTURE_OR_STRAIN_ID", + "COMMON_NAME": "https://w3id.org/ro/terms/sample#COMMON_NAME", + "LIFESTAGE": "https://w3id.org/ro/terms/sample#LIFESTAGE", + "SEX": "https://w3id.org/ro/terms/sample#SEX", + "ORGANISM_PART": "https://w3id.org/ro/terms/sample#ORGANISM_PART", + "SYMBIONT": "https://w3id.org/ro/terms/sample#SYMBIONT", + "RELATIONSHIP": "https://w3id.org/ro/terms/sample#RELATIONSHIP", + "GAL": "https://w3id.org/ro/terms/sample#GAL", + "GAL_SAMPLE_ID": "https://w3id.org/ro/terms/sample#GAL_SAMPLE_ID", + "COLLECTOR_SAMPLE_ID": "https://w3id.org/ro/terms/sample#COLLECTOR_SAMPLE_ID", + "COLLECTED_BY": "https://w3id.org/ro/terms/sample#COLLECTED_BY", + "COLLECTOR_AFFILIATION": "https://w3id.org/ro/terms/sample#COLLECTOR_AFFILIATION", + "DATE_OF_COLLECTION": "https://w3id.org/ro/terms/sample#DATE_OF_COLLECTION", + "COLLECTION_LOCATION": "https://w3id.org/ro/terms/sample#COLLECTION_LOCATION", + "DECIMAL_LATITUDE": "https://w3id.org/ro/terms/sample#DECIMAL_LATITUDE", + "DECIMAL_LONGITUDE": "https://w3id.org/ro/terms/sample#DECIMAL_LONGITUDE", + "GRID_REFERENCE": "https://w3id.org/ro/terms/sample#GRID_REFERENCE", + "HABITAT": "https://w3id.org/ro/terms/sample#HABITAT", + "DEPTH": "https://w3id.org/ro/terms/sample#DEPTH", + "ELEVATION": "https://w3id.org/ro/terms/sample#ELEVATION", + "ORIGINAL_COLLECTION_DATE": "https://w3id.org/ro/terms/sample#ORIGINAL_COLLECTION_DATE", + "ORIGINAL_GEOGRAPHIC_LOCATION": "https://w3id.org/ro/terms/sample#ORIGINAL_GEOGRAPHIC_LOCATION", + "ORIGINAL_DECIMAL_LATITUDE": "https://w3id.org/ro/terms/sample#ORIGINAL_DECIMAL_LATITUDE", + "ORIGINAL_DECIMAL_LONGITUDE": "https://w3id.org/ro/terms/sample#ORIGINAL_DECIMAL_LONGITUDE", + "TIME_OF_COLLECTION": "https://w3id.org/ro/terms/sample#TIME_OF_COLLECTION", + "DESCRIPTION_OF_COLLECTION_METHOD": "https://w3id.org/ro/terms/sample#DESCRIPTION_OF_COLLECTION_METHOD", + "DIFFICULT_OR_HIGH_PRIORITY_SAMPLE": "https://w3id.org/ro/terms/sample#DIFFICULT_OR_HIGH_PRIORITY_SAMPLE", + "IDENTIFIED_BY": "https://w3id.org/ro/terms/sample#IDENTIFIED_BY", + "IDENTIFIER_AFFILIATION": "https://w3id.org/ro/terms/sample#IDENTIFIER_AFFILIATION", + "IDENTIFIED_HOW": "https://w3id.org/ro/terms/sample#IDENTIFIED_HOW", + "SPECIMEN_IDENTITY_RISK": "https://w3id.org/ro/terms/sample#SPECIMEN_IDENTITY_RISK", + "MIXED_SAMPLE_RISK": "https://w3id.org/ro/terms/sample#MIXED_SAMPLE_RISK", + "PRESERVED_BY": "https://w3id.org/ro/terms/sample#PRESERVED_BY", + "PRESERVER_AFFILIATION": "https://w3id.org/ro/terms/sample#PRESERVER_AFFILIATION", + "PRESERVATION_APPROACH": "https://w3id.org/ro/terms/sample#PRESERVATION_APPROACH", + "PRESERVATIVE_SOLUTION": "https://w3id.org/ro/terms/sample#PRESERVATIVE_SOLUTION", + "TIME_ELAPSED_FROM_COLLECTION_TO_PRESERVATION": "https://w3id.org/ro/terms/sample#TIME_ELAPSED_FROM_COLLECTION_TO_PRESERVATION", + "DATE_OF_PRESERVATION": "https://w3id.org/ro/terms/sample#DATE_OF_PRESERVATION", + "SIZE_OF_TISSUE_IN_TUBE": "https://w3id.org/ro/terms/sample#SIZE_OF_TISSUE_IN_TUBE", + "BARCODE_HUB": "https://w3id.org/ro/terms/sample#BARCODE_HUB", + "TISSUE_REMOVED_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TISSUE_REMOVED_FOR_BARCODING", + "PLATE_ID_FOR_BARCODING": "https://w3id.org/ro/terms/sample#PLATE_ID_FOR_BARCODING", + "TUBE_OR_WELL_ID_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TUBE_OR_WELL_ID_FOR_BARCODING", + "TISSUE_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TISSUE_FOR_BARCODING", + "BARCODE_PLATE_PRESERVATIVE": "https://w3id.org/ro/terms/sample#BARCODE_PLATE_PRESERVATIVE", + "BARCODING_STATUS": "https://w3id.org/ro/terms/sample#BARCODING_STATUS", + "PURPOSE_OF_SPECIMEN": "https://w3id.org/ro/terms/sample#PURPOSE_OF_SPECIMEN", + "HAZARD_GROUP": "https://w3id.org/ro/terms/sample#HAZARD_GROUP", + "REGULATORY_COMPLIANCE": "https://w3id.org/ro/terms/sample#REGULATORY_COMPLIANCE", + "VOUCHER_ID": "https://w3id.org/ro/terms/sample#VOUCHER_ID", + "PROXY_VOUCHER_ID": "https://w3id.org/ro/terms/sample#PROXY_VOUCHER_ID", + "VOUCHER_LINK": "https://w3id.org/ro/terms/sample#VOUCHER_LINK", + "PROXY_VOUCHER_LINK": "https://w3id.org/ro/terms/sample#PROXY_VOUCHER_LINK", + "VOUCHER_INSTITUTION": "https://w3id.org/ro/terms/sample#VOUCHER_INSTITUTION", + "OTHER_INFORMATION": "https://w3id.org/ro/terms/sample#OTHER_INFORMATION" + } + ] +} diff --git a/criminalcharacters/context.jsonld b/criminalcharacters/context.jsonld new file mode 100644 index 0000000..70b25d5 --- /dev/null +++ b/criminalcharacters/context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "education": "https://w3id.org/ro/terms/criminalcharacters#education", + "interests": "https://w3id.org/ro/terms/criminalcharacters#interests", + "Person": "https://w3id.org/ro/terms/criminalcharacters#Person" + } + ] +} \ No newline at end of file diff --git a/earth-science/context.jsonld b/earth-science/context.jsonld new file mode 100644 index 0000000..6d9ce51 --- /dev/null +++ b/earth-science/context.jsonld @@ -0,0 +1,85 @@ +{ + "@context" : { + "DataCubeCollection" : { + "@id" : "https://w3id.org/ro/terms/earth-science/DataCubeCollection" + }, + "ExecutableResearchObject" : { + "@id" : "https://w3id.org/ro/terms/earth-science/ExecutableResearchObject" + }, + "temporalReferenceSystem" : { + "@id" : "https://w3id.org/ro/terms/earth-science/temporalReferenceSystem" + }, + "productVersion" : { + "@id" : "https://w3id.org/ro/terms/earth-science/productVersion" + }, + "temporalStepResolution" : { + "@id" : "https://w3id.org/ro/terms/earth-science/temporalStepResolution" + }, + "lowestElevation" : { + "@id" : "https://w3id.org/ro/terms/earth-science/lowestElevation" + }, + "maxValue" : { + "@id" : "https://w3id.org/ro/terms/earth-science/maxValue" + }, + "dataTypeUnit" : { + "@id" : "https://w3id.org/ro/terms/earth-science/dataTypeUnit" + }, + "noDataValue" : { + "@id" : "https://w3id.org/ro/terms/earth-science/noDataValue" + }, + "spatialStepResolution" : { + "@id" : "https://w3id.org/ro/terms/earth-science/spatialStepResolution" + }, + "dataQuality" : { + "@id" : "https://w3id.org/ro/terms/earth-science/dataQuality" + }, + "otherDataAcquisitionSystem" : { + "@id" : "https://w3id.org/ro/terms/earth-science/otherDataAcquisitionSystem" + }, + "productType" : { + "@id" : "https://w3id.org/ro/terms/earth-science/productType" + }, + "processor" : { + "@id" : "https://w3id.org/ro/terms/earth-science/processor" + }, + "instrument" : { + "@id" : "https://w3id.org/ro/terms/earth-science/instrument" + }, + "coordinateReferenceSystem" : { + "@id" : "https://w3id.org/ro/terms/earth-science/coordinateReferenceSystem" + }, + "dataType" : { + "@id" : "https://w3id.org/ro/terms/earth-science/dataType" + }, + "linksToResources" : { + "@id" : "https://w3id.org/ro/terms/earth-science/linksToResources" + }, + "highestElevation" : { + "@id" : "https://w3id.org/ro/terms/earth-science/highestElevation" + }, + "verticalReferenceSystem" : { + "@id" : "https://w3id.org/ro/terms/earth-science/verticalReferenceSystem" + }, + "platform" : { + "@id" : "https://w3id.org/ro/terms/earth-science/platform" + }, + "extent" : { + "@id" : "https://w3id.org/ro/terms/earth-science/extent" + }, + "minValue" : { + "@id" : "https://w3id.org/ro/terms/earth-science/minValue" + }, + "DataCubeProduct" : { + "@id" : "https://w3id.org/ro/terms/earth-science/DataCubeProduct" + }, + "JupyterNotebook" : { + "@id" : "https://w3id.org/ro/terms/earth-science/JupyterNotebook" + }, + "verticalStepResolution" : { + "@id" : "https://w3id.org/ro/terms/earth-science/verticalStepResolution" + }, + "processingLevel" : { + "@id" : "https://w3id.org/ro/terms/earth-science/processingLevel" + } + } +} diff --git a/example/context.jsonld b/example/context.jsonld new file mode 100644 index 0000000..f78aaf8 --- /dev/null +++ b/example/context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "Book": "https://w3id.org/ro/terms/example#Book", + "title": "https://w3id.org/ro/terms/example#title" + } + ] +} \ No newline at end of file diff --git a/gen_context.py b/gen_context.py index fc353d7..bdd8301 100644 --- a/gen_context.py +++ b/gen_context.py @@ -37,7 +37,7 @@ def main(args): context = build_context(ns_dir.name, vocab_path, ro_crate_version=args.ro_crate_version) if not args.output: - args.output = ns_dir / "context.json" + args.output = ns_dir / "context.jsonld" with open(args.output, "wt", encoding="utf8") as f: json.dump(context, f, ensure_ascii=False, indent=4, sort_keys=False) diff --git a/ods/context.jsonld b/ods/context.jsonld new file mode 100644 index 0000000..52feaa7 --- /dev/null +++ b/ods/context.jsonld @@ -0,0 +1,16 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "Specimen": "https://w3id.org/ro/terms/ods#Specimen", + "SpecimenRecord": "https://w3id.org/ro/terms/ods#SpecimenRecord", + "authoritative": "https://w3id.org/ro/terms/ods#authoritative", + "modified": "https://w3id.org/ro/terms/ods#modified", + "midsLevel": "https://w3id.org/ro/terms/ods#midsLevel", + "physicalSpecimenId": "https://w3id.org/ro/terms/ods#physicalSpecimenId", + "institution": "https://w3id.org/ro/terms/ods#institution", + "materialType": "https://w3id.org/ro/terms/ods#materialType", + "name": "https://w3id.org/ro/terms/ods#name" + } + ] +} \ No newline at end of file diff --git a/sample/context.jsonld b/sample/context.jsonld new file mode 100644 index 0000000..4ed184d --- /dev/null +++ b/sample/context.jsonld @@ -0,0 +1,74 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "Sample": "https://w3id.org/ro/terms/sample#Sample", + "SERIES": "https://w3id.org/ro/terms/sample#SERIES", + "RACK_OR_PLATE_ID": "https://w3id.org/ro/terms/sample#RACK_OR_PLATE_ID", + "TUBE_OR_WELL_ID": "https://w3id.org/ro/terms/sample#TUBE_OR_WELL_ID", + "SPECIMEN_ID": "https://w3id.org/ro/terms/sample#SPECIMEN_ID", + "ORDER_OR_GROUP": "https://w3id.org/ro/terms/sample#ORDER_OR_GROUP", + "FAMILY": "https://w3id.org/ro/terms/sample#FAMILY", + "GENUS": "https://w3id.org/ro/terms/sample#GENUS", + "TAXON_ID": "https://w3id.org/ro/terms/sample#TAXON_ID", + "SCIENTIFIC_NAME": "https://w3id.org/ro/terms/sample#SCIENTIFIC_NAME", + "TAXON_REMARKS": "https://w3id.org/ro/terms/sample#TAXON_REMARKS", + "INFRASPECIFIC_EPITHET": "https://w3id.org/ro/terms/sample#INFRASPECIFIC_EPITHET", + "CULTURE_OR_STRAIN_ID": "https://w3id.org/ro/terms/sample#CULTURE_OR_STRAIN_ID", + "COMMON_NAME": "https://w3id.org/ro/terms/sample#COMMON_NAME", + "LIFESTAGE": "https://w3id.org/ro/terms/sample#LIFESTAGE", + "SEX": "https://w3id.org/ro/terms/sample#SEX", + "ORGANISM_PART": "https://w3id.org/ro/terms/sample#ORGANISM_PART", + "SYMBIONT": "https://w3id.org/ro/terms/sample#SYMBIONT", + "RELATIONSHIP": "https://w3id.org/ro/terms/sample#RELATIONSHIP", + "GAL": "https://w3id.org/ro/terms/sample#GAL", + "GAL_SAMPLE_ID": "https://w3id.org/ro/terms/sample#GAL_SAMPLE_ID", + "COLLECTOR_SAMPLE_ID": "https://w3id.org/ro/terms/sample#COLLECTOR_SAMPLE_ID", + "COLLECTED_BY": "https://w3id.org/ro/terms/sample#COLLECTED_BY", + "COLLECTOR_AFFILIATION": "https://w3id.org/ro/terms/sample#COLLECTOR_AFFILIATION", + "DATE_OF_COLLECTION": "https://w3id.org/ro/terms/sample#DATE_OF_COLLECTION", + "COLLECTION_LOCATION": "https://w3id.org/ro/terms/sample#COLLECTION_LOCATION", + "DECIMAL_LATITUDE": "https://w3id.org/ro/terms/sample#DECIMAL_LATITUDE", + "DECIMAL_LONGITUDE": "https://w3id.org/ro/terms/sample#DECIMAL_LONGITUDE", + "GRID_REFERENCE": "https://w3id.org/ro/terms/sample#GRID_REFERENCE", + "HABITAT": "https://w3id.org/ro/terms/sample#HABITAT", + "DEPTH": "https://w3id.org/ro/terms/sample#DEPTH", + "ELEVATION": "https://w3id.org/ro/terms/sample#ELEVATION", + "ORIGINAL_COLLECTION_DATE": "https://w3id.org/ro/terms/sample#ORIGINAL_COLLECTION_DATE", + "ORIGINAL_GEOGRAPHIC_LOCATION": "https://w3id.org/ro/terms/sample#ORIGINAL_GEOGRAPHIC_LOCATION", + "ORIGINAL_DECIMAL_LATITUDE": "https://w3id.org/ro/terms/sample#ORIGINAL_DECIMAL_LATITUDE", + "ORIGINAL_DECIMAL_LONGITUDE": "https://w3id.org/ro/terms/sample#ORIGINAL_DECIMAL_LONGITUDE", + "TIME_OF_COLLECTION": "https://w3id.org/ro/terms/sample#TIME_OF_COLLECTION", + "DESCRIPTION_OF_COLLECTION_METHOD": "https://w3id.org/ro/terms/sample#DESCRIPTION_OF_COLLECTION_METHOD", + "DIFFICULT_OR_HIGH_PRIORITY_SAMPLE": "https://w3id.org/ro/terms/sample#DIFFICULT_OR_HIGH_PRIORITY_SAMPLE", + "IDENTIFIED_BY": "https://w3id.org/ro/terms/sample#IDENTIFIED_BY", + "IDENTIFIER_AFFILIATION": "https://w3id.org/ro/terms/sample#IDENTIFIER_AFFILIATION", + "IDENTIFIED_HOW": "https://w3id.org/ro/terms/sample#IDENTIFIED_HOW", + "SPECIMEN_IDENTITY_RISK": "https://w3id.org/ro/terms/sample#SPECIMEN_IDENTITY_RISK", + "MIXED_SAMPLE_RISK": "https://w3id.org/ro/terms/sample#MIXED_SAMPLE_RISK", + "PRESERVED_BY": "https://w3id.org/ro/terms/sample#PRESERVED_BY", + "PRESERVER_AFFILIATION": "https://w3id.org/ro/terms/sample#PRESERVER_AFFILIATION", + "PRESERVATION_APPROACH": "https://w3id.org/ro/terms/sample#PRESERVATION_APPROACH", + "PRESERVATIVE_SOLUTION": "https://w3id.org/ro/terms/sample#PRESERVATIVE_SOLUTION", + "TIME_ELAPSED_FROM_COLLECTION_TO_PRESERVATION": "https://w3id.org/ro/terms/sample#TIME_ELAPSED_FROM_COLLECTION_TO_PRESERVATION", + "DATE_OF_PRESERVATION": "https://w3id.org/ro/terms/sample#DATE_OF_PRESERVATION", + "SIZE_OF_TISSUE_IN_TUBE": "https://w3id.org/ro/terms/sample#SIZE_OF_TISSUE_IN_TUBE", + "BARCODE_HUB": "https://w3id.org/ro/terms/sample#BARCODE_HUB", + "TISSUE_REMOVED_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TISSUE_REMOVED_FOR_BARCODING", + "PLATE_ID_FOR_BARCODING": "https://w3id.org/ro/terms/sample#PLATE_ID_FOR_BARCODING", + "TUBE_OR_WELL_ID_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TUBE_OR_WELL_ID_FOR_BARCODING", + "TISSUE_FOR_BARCODING": "https://w3id.org/ro/terms/sample#TISSUE_FOR_BARCODING", + "BARCODE_PLATE_PRESERVATIVE": "https://w3id.org/ro/terms/sample#BARCODE_PLATE_PRESERVATIVE", + "BARCODING_STATUS": "https://w3id.org/ro/terms/sample#BARCODING_STATUS", + "PURPOSE_OF_SPECIMEN": "https://w3id.org/ro/terms/sample#PURPOSE_OF_SPECIMEN", + "HAZARD_GROUP": "https://w3id.org/ro/terms/sample#HAZARD_GROUP", + "REGULATORY_COMPLIANCE": "https://w3id.org/ro/terms/sample#REGULATORY_COMPLIANCE", + "VOUCHER_ID": "https://w3id.org/ro/terms/sample#VOUCHER_ID", + "PROXY_VOUCHER_ID": "https://w3id.org/ro/terms/sample#PROXY_VOUCHER_ID", + "VOUCHER_LINK": "https://w3id.org/ro/terms/sample#VOUCHER_LINK", + "PROXY_VOUCHER_LINK": "https://w3id.org/ro/terms/sample#PROXY_VOUCHER_LINK", + "VOUCHER_INSTITUTION": "https://w3id.org/ro/terms/sample#VOUCHER_INSTITUTION", + "OTHER_INFORMATION": "https://w3id.org/ro/terms/sample#OTHER_INFORMATION" + } + ] +} \ No newline at end of file diff --git a/sapporo/context.jsonld b/sapporo/context.jsonld new file mode 100644 index 0000000..4fd06ed --- /dev/null +++ b/sapporo/context.jsonld @@ -0,0 +1,23 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "lineCount": "https://w3id.org/ro/terms/sapporo#lineCount", + "FileStats": "https://w3id.org/ro/terms/sapporo#FileStats", + "stats": "https://w3id.org/ro/terms/sapporo#stats", + "generatedBy": "https://w3id.org/ro/terms/sapporo#generatedBy", + "totalReads": "https://w3id.org/ro/terms/sapporo#totalReads", + "mappedReads": "https://w3id.org/ro/terms/sapporo#mappedReads", + "unmappedReads": "https://w3id.org/ro/terms/sapporo#unmappedReads", + "duplicateReads": "https://w3id.org/ro/terms/sapporo#duplicateReads", + "mappedRate": "https://w3id.org/ro/terms/sapporo#mappedRate", + "unmappedRate": "https://w3id.org/ro/terms/sapporo#unmappedRate", + "duplicateRate": "https://w3id.org/ro/terms/sapporo#duplicateRate", + "variantCount": "https://w3id.org/ro/terms/sapporo#variantCount", + "snpsCount": "https://w3id.org/ro/terms/sapporo#snpsCount", + "indelsCount": "https://w3id.org/ro/terms/sapporo#indelsCount", + "wesState": "https://w3id.org/ro/terms/sapporo#wesState", + "exitCode": "https://w3id.org/ro/terms/sapporo#exitCode" + } + ] +} \ No newline at end of file diff --git a/test/context.jsonld b/test/context.jsonld new file mode 100644 index 0000000..8129651 --- /dev/null +++ b/test/context.jsonld @@ -0,0 +1,20 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "TestSuite": "https://w3id.org/ro/terms/test#TestSuite", + "TestInstance": "https://w3id.org/ro/terms/test#TestInstance", + "TestService": "https://w3id.org/ro/terms/test#TestService", + "TestDefinition": "https://w3id.org/ro/terms/test#TestDefinition", + "PlanemoEngine": "https://w3id.org/ro/terms/test#PlanemoEngine", + "JenkinsService": "https://w3id.org/ro/terms/test#JenkinsService", + "TravisService": "https://w3id.org/ro/terms/test#TravisService", + "GithubService": "https://w3id.org/ro/terms/test#GithubService", + "instance": "https://w3id.org/ro/terms/test#instance", + "runsOn": "https://w3id.org/ro/terms/test#runsOn", + "resource": "https://w3id.org/ro/terms/test#resource", + "definition": "https://w3id.org/ro/terms/test#definition", + "engineVersion": "https://w3id.org/ro/terms/test#engineVersion" + } + ] +} \ No newline at end of file diff --git a/text-commons/context.jsonld b/text-commons/context.jsonld new file mode 100644 index 0000000..b323987 --- /dev/null +++ b/text-commons/context.jsonld @@ -0,0 +1,101 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "AnalyticalLexicon": "https://w3id.org/ro/terms/text-commons#AnalyticalLexicon", + "Annotation": "https://w3id.org/ro/terms/text-commons#Annotation", + "BilingualLexicon": "https://w3id.org/ro/terms/text-commons#BilingualLexicon", + "ComparativeDescription": "https://w3id.org/ro/terms/text-commons#ComparativeDescription", + "DictionaryLexicon": "https://w3id.org/ro/terms/text-commons#DictionaryLexicon", + "DiscourseAnnotation": "https://w3id.org/ro/terms/text-commons#DiscourseAnnotation", + "DiscourseDataset": "https://w3id.org/ro/terms/text-commons#DiscourseDataset", + "DiscourseDescription": "https://w3id.org/ro/terms/text-commons#DiscourseDescription", + "DramaText": "https://w3id.org/ro/terms/text-commons#DramaText", + "EtymologicalLexicon": "https://w3id.org/ro/terms/text-commons#EtymologicalLexicon", + "FormulaicText": "https://w3id.org/ro/terms/text-commons#FormulaicText", + "FrequencyLexicon": "https://w3id.org/ro/terms/text-commons#FrequencyLexicon", + "GesturalAnnotation": "https://w3id.org/ro/terms/text-commons#GesturalAnnotation", + "GesturalDataset": "https://w3id.org/ro/terms/text-commons#GesturalDataset", + "GesturalDescription": "https://w3id.org/ro/terms/text-commons#GesturalDescription", + "GesturalTranscription": "https://w3id.org/ro/terms/text-commons#GesturalTranscription", + "KinesicAnnotation": "https://w3id.org/ro/terms/text-commons#KinesicAnnotation", + "KinesicDataset": "https://w3id.org/ro/terms/text-commons#KinesicDataset", + "KinesicDescription": "https://w3id.org/ro/terms/text-commons#KinesicDescription", + "KinesicTranscription": "https://w3id.org/ro/terms/text-commons#KinesicTranscription", + "LanguageDescription": "https://w3id.org/ro/terms/text-commons#LanguageDescription", + "Lexicon": "https://w3id.org/ro/terms/text-commons#Lexicon", + "LudicText": "https://w3id.org/ro/terms/text-commons#LudicText", + "MorphologicalAnnotation": "https://w3id.org/ro/terms/text-commons#MorphologicalAnnotation", + "MorphologicalDataset": "https://w3id.org/ro/terms/text-commons#MorphologicalDataset", + "MorphologicalDescription": "https://w3id.org/ro/terms/text-commons#MorphologicalDescription", + "MusicalAnnotation": "https://w3id.org/ro/terms/text-commons#MusicalAnnotation", + "MusicalDataset": "https://w3id.org/ro/terms/text-commons#MusicalDataset", + "MusicalTranscription": "https://w3id.org/ro/terms/text-commons#MusicalTranscription", + "NarrativeText": "https://w3id.org/ro/terms/text-commons#NarrativeText", + "OratoryText": "https://w3id.org/ro/terms/text-commons#OratoryText", + "OrthographicDataset": "https://w3id.org/ro/terms/text-commons#OrthographicDataset", + "OrthographicDescription": "https://w3id.org/ro/terms/text-commons#OrthographicDescription", + "OrthographicText": "https://w3id.org/ro/terms/text-commons#OrthographicText", + "OrthographicTranscription": "https://w3id.org/ro/terms/text-commons#OrthographicTranscription", + "Part-of-speechAnnotation": "https://w3id.org/ro/terms/text-commons#Part-of-speechAnnotation", + "Part-of-speechDataset": "https://w3id.org/ro/terms/text-commons#Part-of-speechDataset", + "Part-of-speechDescription": "https://w3id.org/ro/terms/text-commons#Part-of-speechDescription", + "PedagogicalDescription": "https://w3id.org/ro/terms/text-commons#PedagogicalDescription", + "PhonemicTranscription": "https://w3id.org/ro/terms/text-commons#PhonemicTranscription", + "PhoneticAnnotation": "https://w3id.org/ro/terms/text-commons#PhoneticAnnotation", + "PhoneticDataset": "https://w3id.org/ro/terms/text-commons#PhoneticDataset", + "PhoneticDescription": "https://w3id.org/ro/terms/text-commons#PhoneticDescription", + "PhoneticLexicon": "https://w3id.org/ro/terms/text-commons#PhoneticLexicon", + "PhoneticTranscription": "https://w3id.org/ro/terms/text-commons#PhoneticTranscription", + "PhonologicalAnnotation": "https://w3id.org/ro/terms/text-commons#PhonologicalAnnotation", + "PhonologicalDataset": "https://w3id.org/ro/terms/text-commons#PhonologicalDataset", + "PhonologicalDescription": "https://w3id.org/ro/terms/text-commons#PhonologicalDescription", + "ProceduralText": "https://w3id.org/ro/terms/text-commons#ProceduralText", + "Proper-namesLexicon": "https://w3id.org/ro/terms/text-commons#Proper-namesLexicon", + "ProsodicAnnotation": "https://w3id.org/ro/terms/text-commons#ProsodicAnnotation", + "ProsodicDescription": "https://w3id.org/ro/terms/text-commons#ProsodicDescription", + "ProsodicTranscription": "https://w3id.org/ro/terms/text-commons#ProsodicTranscription", + "ReportText": "https://w3id.org/ro/terms/text-commons#ReportText", + "SemanticAnnotation": "https://w3id.org/ro/terms/text-commons#SemanticAnnotation", + "SemanticDataset": "https://w3id.org/ro/terms/text-commons#SemanticDataset", + "SemanticDescription": "https://w3id.org/ro/terms/text-commons#SemanticDescription", + "SingingText": "https://w3id.org/ro/terms/text-commons#SingingText", + "SyntacticAnnotation": "https://w3id.org/ro/terms/text-commons#SyntacticAnnotation", + "SyntacticDataset": "https://w3id.org/ro/terms/text-commons#SyntacticDataset", + "SyntacticDescription": "https://w3id.org/ro/terms/text-commons#SyntacticDescription", + "TerminologyLexicon": "https://w3id.org/ro/terms/text-commons#TerminologyLexicon", + "Text": "https://w3id.org/ro/terms/text-commons#Text", + "ThesaurusLexicon": "https://w3id.org/ro/terms/text-commons#ThesaurusLexicon", + "Transcription": "https://w3id.org/ro/terms/text-commons#Transcription", + "TranslationAnnotation": "https://w3id.org/ro/terms/text-commons#TranslationAnnotation", + "UnintelligibleSpeechText": "https://w3id.org/ro/terms/text-commons#UnintelligibleSpeechText", + "WordlistLexicon": "https://w3id.org/ro/terms/text-commons#WordlistLexicon", + "WordnetLexicon": "https://w3id.org/ro/terms/text-commons#WordnetLexicon", + "annotator": "https://w3id.org/ro/terms/text-commons#annotator", + "author": "https://w3id.org/ro/terms/text-commons#author", + "compiler": "https://w3id.org/ro/terms/text-commons#compiler", + "consultant": "https://w3id.org/ro/terms/text-commons#consultant", + "dataInputter": "https://w3id.org/ro/terms/text-commons#dataInputter", + "depositor": "https://w3id.org/ro/terms/text-commons#depositor", + "developer": "https://w3id.org/ro/terms/text-commons#developer", + "editor": "https://w3id.org/ro/terms/text-commons#editor", + "illustrator": "https://w3id.org/ro/terms/text-commons#illustrator", + "interpreter": "https://w3id.org/ro/terms/text-commons#interpreter", + "interviewer": "https://w3id.org/ro/terms/text-commons#interviewer", + "participant": "https://w3id.org/ro/terms/text-commons#participant", + "performer": "https://w3id.org/ro/terms/text-commons#performer", + "photographer": "https://w3id.org/ro/terms/text-commons#photographer", + "recorder": "https://w3id.org/ro/terms/text-commons#recorder", + "register": "https://w3id.org/ro/terms/text-commons#register", + "researchParticipant": "https://w3id.org/ro/terms/text-commons#researchParticipant", + "researcher": "https://w3id.org/ro/terms/text-commons#researcher", + "responder": "https://w3id.org/ro/terms/text-commons#responder", + "signer": "https://w3id.org/ro/terms/text-commons#signer", + "singer": "https://w3id.org/ro/terms/text-commons#singer", + "speaker": "https://w3id.org/ro/terms/text-commons#speaker", + "sponsor": "https://w3id.org/ro/terms/text-commons#sponsor", + "transcriber": "https://w3id.org/ro/terms/text-commons#transcriber", + "translator": "https://w3id.org/ro/terms/text-commons#translator" + } + ] +} \ No newline at end of file diff --git a/wfexs/context.jsonld b/wfexs/context.jsonld new file mode 100644 index 0000000..f012953 --- /dev/null +++ b/wfexs/context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "syntheticOutput": "https://w3id.org/ro/terms/wfexs#syntheticOutput", + "globPattern": "https://w3id.org/ro/terms/wfexs#globPattern", + "filledFrom": "https://w3id.org/ro/terms/wfexs#filledFrom" + } + ] +} \ No newline at end of file diff --git a/workflow-run/context.jsonld b/workflow-run/context.jsonld new file mode 100644 index 0000000..7ac0141 --- /dev/null +++ b/workflow-run/context.jsonld @@ -0,0 +1,23 @@ +{ + "@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "ParameterConnection": "https://w3id.org/ro/terms/workflow-run#ParameterConnection", + "ContainerImage": "https://w3id.org/ro/terms/workflow-run#ContainerImage", + "DockerImage": "https://w3id.org/ro/terms/workflow-run#DockerImage", + "SIFImage": "https://w3id.org/ro/terms/workflow-run#SIFImage", + "connection": "https://w3id.org/ro/terms/workflow-run#connection", + "sourceParameter": "https://w3id.org/ro/terms/workflow-run#sourceParameter", + "targetParameter": "https://w3id.org/ro/terms/workflow-run#targetParameter", + "md5": "https://w3id.org/ro/terms/workflow-run#md5", + "sha1": "https://w3id.org/ro/terms/workflow-run#sha1", + "sha256": "https://w3id.org/ro/terms/workflow-run#sha256", + "sha512": "https://w3id.org/ro/terms/workflow-run#sha512", + "environment": "https://w3id.org/ro/terms/workflow-run#environment", + "registry": "https://w3id.org/ro/terms/workflow-run#registry", + "tag": "https://w3id.org/ro/terms/workflow-run#tag", + "containerImage": "https://w3id.org/ro/terms/workflow-run#containerImage", + "resourceUsage": "https://w3id.org/ro/terms/workflow-run#resourceUsage" + } + ] +} \ No newline at end of file diff --git a/workflow-run/readme.md b/workflow-run/readme.md index dbdd36a..ae5ff20 100644 --- a/workflow-run/readme.md +++ b/workflow-run/readme.md @@ -6,7 +6,7 @@ Maintainer: - The [Workflow Run RO-Crate](https://www.researchobject.org/workflow-run-crate/) working group * Namespace: -* Context: [context.json](context.json) +* Context: [context.jsonld](context.jsonld) * Terms (CSV): [vocabulary.csv](vocabulary.csv) * Specification (JSON-LD): [wfrun.jsonld](wfrun.jsonld) * Specification (Turtle): [wfrun.ttl](wfrun.ttl)