JSON - ddbj/rdf GitHub Wiki
DDBJ全レコードのJSONを設計する
各レコード/オブジェクトについてElasticsearchロード用JSONを設計する
基本構造
{
"identifier": "", # schema:identifier
"type": "jga-dataset"# @type
"isPartOf": "JGA", # schema:isPartOf, foaf:primaryTopic
"url": "", # schema:url
"sameAs": "", # schema:sameAs, (secondary)url
"dateCreated": "", # schema:dateCreated
"dateModified": "", # schema:dateModified
"datePublished": "", # schema:datePublished
"name": "", # schema:name
"title": "", # ddbj:title
"description": "", # schema:description
"organism": { # ddbj:organism
"type": "Taxonomy", # @type
"name": "Homo sapiens",
"identifier": "9606"
}
"dbXrefs": [ # ddbj:dbXrefs, dcat:relation
{
"type": "jga-study", # @type
"identifier": "xxxx" # schema:identifier
"url": "",
}
],
distribution: [ #schema:distribution
{
type: "DataDownload",
encodingFormat: "JSON",
contentUrl: "https%3A%2F%2Fddbj.nig.ac.jp%2Fresource%2Fjga-dataset%2FJGAD00000000059.json"
},
{
type: "DataDownload",
encodingFormat: "JSON-LD",
contentUrl: "https%3A%2F%2Fddbj.nig.ac.jp%2Fresource%2Fjga-dataset%2FJGAD00000000059.jsonld"
}
]
}
]
サンプルレコードとDB毎の拡張プロパティ
- bioproject https://github.com/ddbj/rdf/blob/main/example/PRJNA1139741.jsonld#L162-L203
- biosample https://github.com/ddbj/rdf/blob/main/example/SAMN19993849.jsonld#L283-L362