Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ttl2html (RDF/Turtle to HTML)
Search
Masao Takaku
September 07, 2019
Research
660
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
Sustainable Linked Open Data Publishing through Static Site Generation: A Decade of Educational LOD Infrastructure
masao
0
34
教育基盤LODの提供と利活用: 可視化と構造化の側面から / 20260723 Educational Infrastructure LOD
masao
0
28
Wikipedia 25周年を迎えて / 2026-03-01 Wikipedia 25-talk
masao
1
150
A Linked Open Data Infrastructure for Promoting the Educational Use of Digital Archives
masao
0
69
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
1
190
教育向けLOD基盤の活用に向けて / Edudata LOD #c4ljp25
masao
0
160
JPCOAR Validator
masao
0
140
デジタルアーカイブの教育利用促進を目指したメタデータLOD基盤に関する研究 / Research on a Metadata LOD Platform for Promoting Educational Uses of Digital Archives
masao
0
260
ttl2html (RDF/Turtle to HTML)
masao
0
280
Other Decks in Research
See All in Research
【ローカルAIに向き合う展示会vol.2】液体時間定数型モジュールを用いた オリジナルの双方向エンコーダーモデルNexteraBERT 推論速度向上検討並びにダウンストリーム評価
rikkabotan7
0
230
Evaluation génomique des femelles laitières croisées : comprendre la méthode pour accompagner les éleveurs à son utilisation
institutdelelevage
PRO
0
170
【中間報告】国会議員の立法・政策実務を支える環境を巡る現状と課題
polipoli
0
730
論文紹介:Doc-to-LoRA: Learning to Instantly Internalize Contexts
yukako_nakano
0
200
SAM3を用いたコマ・吹き出しの 領域検出と分割構造からの読み順推定
kzmssk
0
190
La génomique au service de la fromageabilité du lait grâce aux spectres MIR
institutdelelevage
PRO
0
180
[SNLP2026] Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach
wataruuuuu
0
340
論文読み会 SNLP2026 Tau2-Bench: Evaluating Conversational Agents in a Dual-Control Environment
s_mizuki_nlp
0
300
生成AIなんでも展示会vol6 LT登壇資料 NexteraBERT
rikkabotan7
0
190
MIRU2026 チュートリアル講演2:三次元データ処理の動向
nnchiba
8
5.3k
進化?迷走?CasualConc ファミリーアプリの現在地 @ 英語コーパス学会 2026
casualconc
0
140
敵対生成プロンプト同時探索による内省型プロンプト最適化
kinoue_smarthr
0
440
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.9k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Skip the Path - Find Your Career Trail
mkilby
1
250
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
530
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Statistics for Hackers
jakevdp
799
230k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
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