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
33
教育基盤LODの提供と利活用: 可視化と構造化の側面から / 20260723 Educational Infrastructure LOD
masao
0
26
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
270
Other Decks in Research
See All in Research
ros2-perf-multihost: Automated Coordination Framework for Objective Architecture Evaluation in Distributed Systems
takasehideki
0
140
視覚若手の会LENSって何??
mickey_0226
0
340
論文読み会 SNLP2026 Tau2-Bench: Evaluating Conversational Agents in a Dual-Control Environment
s_mizuki_nlp
0
300
CVPR2026論文紹介_VLMにとって良いvision encoderとは何か?Rethinking Model Selection in VLM Through the Lens of Gromov-Wasserstein Distance
kobayashi31
1
260
Evaluation génomique des femelles laitières croisées : comprendre la méthode pour accompagner les éleveurs à son utilisation
institutdelelevage
PRO
0
170
JPA2026_NetworkTutorial_JunKashihara
junkashihara
0
230
医療LLMの現在地〜最新研究から社会実装までを考える〜
kento1109
1
1.8k
J-STAGEの現況と全文XML登載必須化について
xspa2012
0
330
完全自律LLMエージェントでDIVER OSINT CTF 2026に挑戦してみた
analokmaus
0
760
長時間動画QAにおけるマルチエージェント推論 ・SVAgent: Storyline-Guided Long Video Understanding via Cross-Modal Multi-Agent Collaboration
murakawatakuya
1
220
山中市政の総括:相反する二つの顔
sishi
0
130
Byzantine Eventual Consistency for Reliable Local-First Software
ept
0
190
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
How to Talk to Developers About Accessibility
jct
2
570
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
RailsConf 2023
tenderlove
30
1.6k
Speed Design
sergeychernyshev
33
2.2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
Scaling GitHub
holman
464
140k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
Code Review Best Practice
trishagee
74
20k
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