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
650
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
30
教育基盤LODの提供と利活用: 可視化と構造化の側面から / 20260723 Educational Infrastructure LOD
masao
0
23
Wikipedia 25周年を迎えて / 2026-03-01 Wikipedia 25-talk
masao
1
140
A Linked Open Data Infrastructure for Promoting the Educational Use of Digital Archives
masao
0
64
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
1
190
教育向けLOD基盤の活用に向けて / Edudata LOD #c4ljp25
masao
0
150
JPCOAR Validator
masao
0
120
デジタルアーカイブの教育利用促進を目指したメタデータLOD基盤に関する研究 / Research on a Metadata LOD Platform for Promoting Educational Uses of Digital Archives
masao
0
250
ttl2html (RDF/Turtle to HTML)
masao
0
270
Other Decks in Research
See All in Research
PHTalks Bengaluru - SSRF When All Else Fails
dk999
0
1.1k
データサイエンティストの就労意識~2015 → 2026 一般(個人)会員アンケートより
datascientistsociety
PRO
0
780
MM-OVSeg: Multimodal Optical–SAR Fusion for Open-Vocabulary Segmentation in Remote Sensing
satai
3
130
2025年度秋葉原ウォーカブルプロジェクト調査報告 「アキバらしいウォーカブル」とは何か
izumiyama_lab
1
220
最先端NLP勉強会2026 論文紹介:Reasoning with Sampling: Your Base Model is Smarter Than You Think (ICLR 2026 paper)
kogoro
4
600
SoftMatcha 2: 1兆語規模コーパスの超高速かつ柔らかい検索
e869120_sub
7
3.8k
SLAMはどこまで解決されたのか?
tomonom
0
1.3k
Claude Code × autoresearch 実践
mathbullet
0
270
AIエージェント時代のLLM-jpモデルのあるべき姿
k141303
0
620
Source Code Diff Revolution
tsantalis
0
140
全国町字単位空き家率推定データver1.0データ仕様
microbaseinc
0
230
Pretrain Where? Investigating How Pretraining Data Diversity Impacts Geospatial Foundation Model Performance
satai
3
130
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
350
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
HDC tutorial
michielstock
2
860
Believing is Seeing
oripsolob
1
210
Large-scale JavaScript Application Architecture
addyosmani
515
110k
[SF Ruby Conf 2025] Rails X
palkan
2
1.4k
RailsConf 2023
tenderlove
30
1.5k
4 Signs Your Business is Dying
shpigford
187
23k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
840
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