LOD技術解説

Preview:

DESCRIPTION

横浜ストリームラボ

Citation preview

LOD 技術解説新領域融合研究センター国立情報学研究所加藤文彦(@fumi1)

内容

• 博物館とLOD

• LOD.AC

• 技術解説

博物館とLOD

• Collections Trust

• Europeana

• Science Museum

• Semuse

http://www.collectionstrust.org.uk/digital/linkeddata

10 Principles for Linked Data in the Culture Sector• Data is rich, and includes Data created by Users

• Linked Data serves both the sector and its audiences

• Linked Data connect the culture sector to a collaborative effort across the Public Sector

• Linked Data can help us achieve more efficient practice

• Linked Data can help us deliver on our commitment to Public Access

http://www.collectionstrust.org.uk/pdfs/linked_data_principles.pdf

10 Principles for Linked Data in the Culture Sector• Linked Data is the next phase in our adaptation to the

Web

• Linked Data should become an embedded function of the software we use

• We must communicate the benefits of Linked Data throughout the sector

• We must commit to commissioning Open Data, not Open Source

• We must support a commercial market of providers and suppliers to support Linked Data

http://www.collectionstrust.org.uk/pdfs/linked_data_principles.pdf

テキスト

http://www.europeana.eu/portal/

http://museum-api.pbworks.com/Science-Museum-linked-data

テキスト

http://www.semuse.org/index.php?title=Semuse

LOD.AC

• 開始: 今年5月

• http://lod.ac

• 目的: 学術情報のLOD化

• 最初の対象: 博物館・美術館

• 日本版Europeana?

進捗

• プロトタイプ

• 共通語彙の検討

• ライブラリ調査・開発

• データセット作成

共通語彙• DC(NDL) + CIDOC-CRM

• 基本的な語彙: DC

• 日本語DC拡張: DCNDL

• 博物館データ: CIDOC-CRM

• 厳密に使わず必要な語彙を拝借

現在のデータ• 対象

• 作品

• 組織

• 作者

• データソース

• 日本美術シソーラス

• 文化遺産オンライン

• 各組織Webサイト: 国立を中心に14館

日本美術シソーラス

作品

作者 組織

文化遺産オンライン

Webサイト

組織作品 作者

組織作品

Demo

今後の方向• 日本全国の博物館データ収集

• 類似施設,文書館なども視野に

• 作者同定

• 外部LODへのリンク

• Europeana, NDLSH, DBPedia, Freebase, ...

• システム構成

• Content-negotiation

• SPARQL

技術解説

システム構成

• 言語: Ruby

• RDF.rb, Sinatra, Haml

• DB: 4store

• シンプルRDF Store

RDF.rb

gem install linkeddata

4store

• http://4store.org

• オープンソース

• クラスタ対応

• Ruby: gem install rdf-4store

Content-negotiation

Request

Response

リソース'/'を要求

index.html を返答

http://example.org/にアクセス

http://example.org

リソース'/'のHTML表現を要求

リソース'/'のHTML表現であるindex.html を返答

http://example.org/にアクセス

http://example.org

リソース'/'のLOD表現を要求

リソース'/'のLOD表現を返答

http://example.org/にアクセス

http://example.org

LOD表現• RDFモデルの表現形式

• XML

• Turtle / N3

• JSON

• TRIX

• RDFa

SPARQL

RDB

Query

DB

Model RDF(Graph)

SQL

Relational Model

RDF Store

SPARQL

SPARQL

• RDF問い合わせ言語

• WebAPIの一種

• SPARQL Endpoint

SELECT * WHERE { ?s ?p ?o . } LIMIT 10

PREFIX dbp-ont: <http://dbpedia.org/ontology/>PREFIX dbpedia: <http://dbpedia.org/resource/>

SELECT *WHERE { ?Person dbp-ont:birthPlace dbpedia:Tokyo ;}LIMIT 100

PREFIX dbpedia: <http://dbpedia.org/resource/>

SELECT *WHERE { dbpedia:Vincent_van_Gogh ?p ?o .}

クエリ形式

• SELECT: 変数の値取得

• CONSTRUCT: RDFグラフ取得

• ASK: クエリ結果があるかどうか

• DESCRIBE: リソースの情報取得

LODAC: http://lod.ac

Recommended