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
670
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
Transcript
8 slides
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
More Decks by Masao Takaku
See All by Masao Takaku
AI時代に学術情報をどう探し、どう使うか: 研究の様々な場面と一研究者の経験から
masao
0
210
ウェブサイト運営における生成AIの影響と今後の課題 / 20261101 saveMLAK GenAI Bot
masao
0
37
Sustainable Linked Open Data Publishing through Static Site Generation: A Decade of Educational LOD Infrastructure
masao
0
43
教育基盤LODの提供と利活用: 可視化と構造化の側面から / 20260723 Educational Infrastructure LOD
masao
0
37
Wikipedia 25周年を迎えて / 2026-03-01 Wikipedia 25-talk
masao
1
170
A Linked Open Data Infrastructure for Promoting the Educational Use of Digital Archives
masao
0
83
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
1
210
教育向けLOD基盤の活用に向けて / Edudata LOD #c4ljp25
masao
0
170
JPCOAR Validator
masao
0
150
Other Decks in Research
See All in Research
完全自律LLMエージェントでDIVER OSINT CTF 2026に挑戦してみた
analokmaus
0
830
Local Development Companies Network - National Conference 2026
ldcn
0
180
論文読み会 SNLP2026 Tau2-Bench: Evaluating Conversational Agents in a Dual-Control Environment
s_mizuki_nlp
0
350
Bilan travail en élevage : première restitution des enquêtes 2025-2026
institutdelelevage
PRO
0
290
山中市政の総括:相反する二つの顔
sishi
0
240
A new deal for disabled people
resolutionfoundation
0
390
Easy to Guess, Hard to Verify: Lessons from AIMO 3 for Olympiad-Level AI Mathematics
corochann
0
160
Prithvi-EO-2.0
satai
3
120
Bilan travail en élevage : première restitution des enquêtes 2025-2026
institutdelelevage
PRO
0
200
Du suivi individuel à la sélection animale : comment Digi4Live valorise les données des technologies numériques en élevage
institutdelelevage
PRO
0
120
SAM3を用いたコマ・吹き出しの 領域検出と分割構造からの読み順推定
kzmssk
0
230
Détection des lésions podales par thermographie infrarouge chez les bovins et les ovins
institutdelelevage
PRO
0
130
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Code Reviewing Like a Champion
maltzj
529
40k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Statistics for Hackers
jakevdp
799
230k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
380
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Being A Developer After 40
akosma
PRO
92
590k
The Cost Of JavaScript in 2023
addyosmani
56
10k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Into the Great Unknown - MozCon
thekraken
41
2.8k