Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ttl2html (RDF/Turtle to HTML)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Masao Takaku
September 07, 2019
Research
640
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ttl2html (RDF/Turtle to HTML)
Masao Takaku
September 07, 2019
More Decks by Masao Takaku
See All by Masao Takaku
Wikipedia 25周年を迎えて / 2026-03-01 Wikipedia 25-talk
masao
1
120
A Linked Open Data Infrastructure for Promoting the Educational Use of Digital Archives
masao
0
55
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
1
170
教育向けLOD基盤の活用に向けて / Edudata LOD #c4ljp25
masao
0
140
JPCOAR Validator
masao
0
110
デジタルアーカイブの教育利用促進を目指したメタデータLOD基盤に関する研究 / Research on a Metadata LOD Platform for Promoting Educational Uses of Digital Archives
masao
0
220
ttl2html (RDF/Turtle to HTML)
masao
0
250
Knowledge Representation of Educational Metadata in Linked Open Data: Promoting the Educational Use of Digital Cultural Heritage
masao
0
130
論文の探し方 (高久研究室編) / How to find scholarly articles
masao
0
590
Other Decks in Research
See All in Research
Research Engineerという仕事 / Research Engineering: Bridging Research and Business
chck
1
230
LINEヤフー データサイエンス Meetup「三井物産コモディティ予測チャレンジ」の舞台裏-AlpacaTechパート
gamella
1
610
羽田新ルート運用6年の検証
1manken
0
170
CVPR2026論文紹介_VLMにとって良いvision encoderとは何か?Rethinking Model Selection in VLM Through the Lens of Gromov-Wasserstein Distance
kobayashi31
1
170
【ローカルAIに向き合う展示会vol.2】液体時間定数型モジュールを用いた オリジナルの双方向エンコーダーモデルNexteraBERT 推論速度向上検討並びにダウンストリーム評価
rikkabotan7
0
120
進学校の生徒にはア行の苗字が多いのか
ozekinote
0
480
SOTAのさらに先へ:厳しい推論制約下での高性能モデルのPost-Training
analokmaus
0
1.4k
Scalable dynamic origin-destination demand estimation enhanced by high-resolution satellite imagery data
satai
3
340
医療LLMの現在地〜最新研究から社会実装までを考える〜
kento1109
1
1.6k
データサイエンティストの就労意識~2015 → 2026 一般(個人)会員アンケートより
datascientistsociety
PRO
0
210
Fukui Shibiten 39 - AI Art
butchi
0
150
Apache Gravitinoで実現する Icebergカタログ統合とアクセスの一元化
matsumooon
0
350
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
220
The agentic SEO stack - context over prompts
schlessera
0
850
GraphQLとの向き合い方2022年版
quramy
50
15k
Marketing to machines
jonoalderson
1
5.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Producing Creativity
orderedlist
PRO
348
40k
Transcript
ttl2html (RDF/Turtle to HTML) 高久雅生 (筑波大学図書館情報メディア系)
[email protected]
1 Code4Lib JAPANカンファレンス2019
2019年9月7日(土)
結論から:最後のステップを埋めたい • poorman's LD Toolkit Excel → RDF/Turtle • ttl2html
任意のRDF/Turtleデータをウェブ公開用 HTMLファイル群の生成 • Github Pages + w3id.org 永続URI + RDF URI解決 2
3 教科書LOD LODチャレンジ2016 「教育LOD賞」を受賞! https://w3id.org/jp-textbook/
4 Poorman's Linked Data Toolkit LODチャレンジ2018 「LODプロモーション賞」を受賞! https://github.com/jp-textbook/jp- textbook.github.io/wiki/Toolkit
Linked Open Data on GitHub Pages ― 教科書LODでの経験から ― 高久雅生(筑波大学)
[email protected]
5 2018年9月1日 – 9月2日 Code4Lib JAPANカンファレンス2018 昨年のカンファレンスでのLT発表 https://speakerdeck.com/masao/lod- on-github-pages
Github PagesでのLOD公開 (2) • LD原則No.3「URIにアクセスすれば有用な情報を得 られるように(RDFやSPARQL等の標準を用いて)」 • 固定URLサービス(w3id.org)の場合: Github.com/perma-id/w3id.org
リポジトリへ Pull request するだけ 「Accept: text/turtle」ヘッダ付きリクエストに 対応しよう 6 RewriteEngine on RewriteCond "%{HTTP_ACCEPT}" "text/turtle" RewriteRule ^(.+) https://jp-textbook.github.io/$1.ttl [R=302,L] RewriteRule ^(.*) https://jp-textbook.github.io/$1 [R=302,L] cf. https://github.com/perma-id/w3id.org/blob/master/jp-textbook/.htaccess
Linked Data構築/公開の流れ 書誌情報 データベース 図書館システム TSVエクス ポート出力 編集 URI追 加
csv2ttl.rb Turtle ファイル CSVエクス ポート出力 Rubyス クリプト HTMLファイル 群 Git push Excel 人手で作成/出力 Copy&Paste 7 教科書LOD解説: 技術的側面から. GLAMtech Vol.4, 2017年6月 https://www.slideshare.net/tmasao/ 20170618-textbook-lod
ttl2html (RDF/Turtle to HTML files) • 最後のワンステップを簡単に… • 任意のRDF/Turtleファイルを読み込んで、 適当なHTMLファイルを生成する
生成されたファイル群は、Github Pages等で 公開すればそのままLinked Dataとして扱える (昨年のLT資料等を参照) • 使い方は https://github.com/masao/ttl2html を 参照のこと 8