用于FRBR词汇表的多维数据集(作品、表达式、表现形式等)
cubicweb-frbr的Python项目详细描述
摘要
用于FRBR词汇表的立方体(作品、表达式、表现形式等)
安装
实例的创建:
- Create an instance using: cubicweb-ctl create libraryui <name-of-instance>
- Create the instance’s database using: cubicweb-ctl db-create <name-of-instance>
获取数据NF数据:
- Download the rdf xml dumps of databnf from http://data.bnf.fr/semanticweb. You should take all the (rdf/xml) files.
导入RDF数据:
For now, the RDF dumps are splitted in ‘docrameau’, ‘editions’, ‘org_authors’, ‘person_authors’, ‘rameau’, ‘study’, ‘works’. You should uncompress all the files in the same directory, and launch the command:
- cubicweb-ctl databnflite-import <name-of-instance> <path-to-rdf-directory>
–rdf-format=xml –lib=librdf