;;; isd-turtle.el --- Utility to dump ideographic-structure as Turtle files
-;; Copyright (C) 2017 MORIOKA Tomohiko
+;; Copyright (C) 2017, 2018 MORIOKA Tomohiko
;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
;; Keywords: Ideographic Structures (漢字構造、解字), IDS, CHISE, RDF, Turtle
=>ucs-itaiji-005
=>ucs-itaiji-006
=>ucs-itaiji-007
+ =>ucs-itaiji-009
==>ucs@bucs
=big5
=>cbeta
(setq p1 'underlying
p2 'overlaying)
)
+ ((and idc (eq (encode-char idc '=ucs-itaiji-001) #x2FF6))
+ (setq idc-str "SLR")
+ (setq p1 'surround
+ p2 'filling)
+ )
+ ((and idc (eq (encode-char idc '=ucs-var-001) #x2FF0))
+ (setq idc-str "⿰・SLR")
+ (setq p1 'left
+ p2 'right)
+ )
+ ((and idc (eq (encode-char idc '=>iwds-1) 307))
+ (setq idc-str "⿰・⿺")
+ (setq p1 'left
+ p2 'right)
+ )
((and idc (eq (encode-char idc '=>iwds-1) 305))
(setq idc-str "⿱・⿸")
(setq p1 'above
p2 'below)
- ))
+ )
+ ((and idc (eq (encode-char idc '=>ucs@component) #x2FF5))
+ (setq idc-str "⿱・⿵")
+ (setq p1 'above
+ p2 'below)
+ )
+ )
(cond
(p3
(format "%s