when_exe 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/lib/when_exe.rb +89 -3
  3. data/lib/when_exe/basictypes.rb +37 -7
  4. data/lib/when_exe/calendarnote.rb +18 -13
  5. data/lib/when_exe/calendartypes.rb +3 -9
  6. data/lib/when_exe/coordinates.rb +23 -373
  7. data/lib/when_exe/ephemeris.rb +7 -7
  8. data/lib/when_exe/ephemeris/notes.rb +0 -14
  9. data/lib/when_exe/events.rb +1851 -0
  10. data/lib/when_exe/icalendar.rb +121 -4
  11. data/lib/when_exe/linkeddata.rb +29 -18
  12. data/lib/when_exe/locales/akt.rb +63 -0
  13. data/lib/when_exe/locales/locale.rb +60 -11
  14. data/lib/when_exe/mini_application.rb +14 -8
  15. data/lib/when_exe/namespace.rb +42 -0
  16. data/lib/when_exe/parts/enumerator.rb +13 -2
  17. data/lib/when_exe/parts/geometric_complex.rb +51 -1
  18. data/lib/when_exe/parts/method_cash.rb +15 -10
  19. data/lib/when_exe/parts/resource.rb +47 -29
  20. data/lib/when_exe/region/chinese.rb +4 -3
  21. data/lib/when_exe/region/chinese/calendars.rb +4 -4
  22. data/lib/when_exe/region/chinese/epochs.rb +6 -6
  23. data/lib/when_exe/region/chinese/notes.rb +3 -3
  24. data/lib/when_exe/region/chinese/twins.rb +6 -6
  25. data/lib/when_exe/region/islamic.rb +1 -1
  26. data/lib/when_exe/region/japanese.rb +4 -4
  27. data/lib/when_exe/region/japanese/eclipses.rb +2 -2
  28. data/lib/when_exe/region/japanese/location.rb +93 -0
  29. data/lib/when_exe/region/japanese/notes.rb +29 -11
  30. data/lib/when_exe/region/japanese/residues.rb +1 -1
  31. data/lib/when_exe/region/japanese/twins.rb +18 -6
  32. data/lib/when_exe/region/location.rb +40 -0
  33. data/lib/when_exe/region/martian.rb +1 -1
  34. data/lib/when_exe/region/ryukyu.rb +1 -1
  35. data/lib/when_exe/spatial.rb +611 -0
  36. data/lib/when_exe/timestandard.rb +3 -3
  37. data/lib/when_exe/tmobjects.rb +32 -0
  38. data/lib/when_exe/tmposition.rb +211 -1318
  39. data/lib/when_exe/tmptypes.rb +1265 -0
  40. data/lib/when_exe/tmreference.rb +35 -0
  41. data/lib/when_exe/version.rb +3 -3
  42. data/test/events/example-datasets +7 -0
  43. data/test/events/history-dataset.csv +22 -0
  44. data/test/events/japanese-holiday-index.csv +28 -0
  45. data/test/events/japanese-holiday.csv +77 -0
  46. data/test/events/japanese-holiday.ttl +778 -0
  47. data/test/events/make_events_ttl.rb +18 -0
  48. data/test/events/mori_wikichoshi.csv +14 -0
  49. data/test/events/ndl_koyomi.csv +220 -0
  50. data/test/events/ndl_koyomi_index.csv +44 -0
  51. data/test/events/primeminister-dataset.csv +19 -0
  52. data/test/events/shogun-dataset.csv +22 -0
  53. data/test/events/test-history-dataset-edge-sparql.csv +26 -0
  54. data/test/events/test-history-dataset-edge.csv +27 -0
  55. data/test/events/test-history-dataset-sparql.csv +22 -0
  56. data/test/events/test-history-dataset.csv +23 -0
  57. data/test/events/test-history-events-edge.ttl +89 -0
  58. data/test/events/test-history-events.csv +6 -0
  59. data/test/examples/Terms.m17n +1 -1
  60. data/test/test.rb +6 -0
  61. data/test/test/coordinates.rb +2 -2
  62. data/test/test/events.rb +32 -0
  63. data/test/test/region/japanese.rb +20 -0
  64. data/test/test/region/m17n.rb +2 -2
  65. data/test/test/region/mayan.rb +6 -6
  66. data/test/test/tmposition.rb +63 -1
  67. metadata +26 -2
@@ -0,0 +1,18 @@
1
+ # -*- coding: utf-8 -*-
2
+ =begin
3
+ Copyright (C) 2016 Takashi SUGA
4
+
5
+ You may use and/or modify this file according to the license
6
+ described in the LICENSE.txt file included in this archive.
7
+ =end
8
+
9
+ require 'linkeddata'
10
+ require 'when_exe'
11
+
12
+ Encoding.default_external = 'UTF-8'
13
+ Encoding.default_internal = 'UTF-8'
14
+
15
+ path = ARGV[0] || 'https://raw.githubusercontent.com/suchowan/when_exe/master/test/events/japanese-holiday-index.csv'
16
+ datasets = When.Resource(path)
17
+ repository = datasets.repository
18
+ puts repository[''].dump(:ttl, :prefixes=>datasets.used_ns)
@@ -0,0 +1,14 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
4
+ dc:, http://purl.org/dc/elements/1.1/
5
+ dcq:, http://purl.org/dc/terms/
6
+ ts:, http://hosi.org/ts#
7
+ {rdfs:label}, HOWMLが作成した森町のウィキ町史データ
8
+ {ts:reference}, https://www.dropbox.com/s/f7d3141gc6suwnn/mori_wikichoshi.rdf?dl=1,"/<date>([-+\d]+)<\/date>.*?<i:description>(.+?)<\/i:description>/"
9
+ {dc:contributor}, http://howml.org/wikichoshi-project, ウィキ町史プロジェクト
10
+ {dcq:license}, https://creativecommons.org/licenses/by/4.0/legalcode, CC-BY
11
+ {dcq:valid}, [1]
12
+ {dcq:abstract}, [2]
13
+ {ts:start}, {dcq:valid}, xsd:integer
14
+ {ts:until}, {dcq:valid}, xsd:integer
@@ -0,0 +1,220 @@
1
+ 0998-07...0999-01, 2591248/2..35, 立命館出版部『御堂関白記』
2
+ 1000-01...1000-07, 2591250/2..35, 立命館出版部『御堂関白記』
3
+ 1004-01...1004-07, 2591251/2..36, 立命館出版部『御堂関白記』
4
+ 1005-01...1005-07, 2591252/2..40, 立命館出版部『御堂関白記』
5
+ 1007-07...1008-01, 2591253/2..41, 立命館出版部『御堂関白記』
6
+ 1008-07...1009-01, 2591254/2..33, 立命館出版部『御堂関白記』
7
+ 1009-07...1010-01, 2591255/2..33, 立命館出版部『御堂関白記』
8
+ 1010-01...1010-07, 2591256/2..39, 立命館出版部『御堂関白記』
9
+ 1011-01...1011-07, 2591257/2..35, 立命館出版部『御堂関白記』
10
+ 1013-01...1013-07, 2591258/2..38, 立命館出版部『御堂関白記』
11
+ 1018-01...1018-07, 2591259/2..44, 立命館出版部『御堂関白記』
12
+ 1019-07...1020-01, 2591260/2..33, 立命館出版部『御堂関白記』
13
+ 1020-01...1020-07, 2591261/2..38, 立命館出版部『御堂関白記』
14
+ 1666, 2541224/4..7, 伊勢暦
15
+ 1667, 2546827/2..12, 伊勢暦
16
+ 1668, 2535420/8..13, 伊勢暦
17
+ 1670, 2546782/3..7, 伊勢暦
18
+ 1671, 2546782/8..11, 伊勢暦
19
+ 1672, 2546782/12..16, 伊勢暦
20
+ 1673, 2546782/16..20, 伊勢暦
21
+ 1674, 2546782/20..24, 伊勢暦
22
+ 1675, 2546782/25..29, 伊勢暦
23
+ 1676, 2546782/29..33, 伊勢暦
24
+ 1677, 2546782/34..37, 伊勢暦
25
+ 1678, 2546782/38..41, 伊勢暦
26
+ 1679, 2546782/42..46, 伊勢暦
27
+ 1680, 2546782/46..50, 伊勢暦
28
+ 1681, 2546782/51..54, 伊勢暦
29
+ 1682, 2546782/55..58, 伊勢暦
30
+ 1683, 2546782/59..63, 伊勢暦
31
+ 1684, 2546782/63..67, 伊勢暦
32
+ 1685, 2546782/67..72, 伊勢暦
33
+ 1686, 2546782/72..76, 伊勢暦
34
+ 1687, 2546782/76..80, 伊勢暦
35
+ 1688, 2546782/80..84, 伊勢暦
36
+ 1689, 2546783/3..6, 伊勢暦
37
+ 1690, 2546783/7..10, 伊勢暦
38
+ 1691, 2546783/11..15, 伊勢暦
39
+ 1692, 2546783/15..19, 伊勢暦
40
+ 1693, 2546783/20..24, 伊勢暦
41
+ 1694, 2546783/24..28, 伊勢暦
42
+ 1695, 2546783/29..33, 伊勢暦
43
+ 1696, 2546783/33..37, 伊勢暦
44
+ 1697, 2546783/38..42, 伊勢暦
45
+ 1698, 2546783/42..46, 伊勢暦
46
+ 1699, 2546783/47..51, 伊勢暦
47
+ 1700, 2546783/51..55, 伊勢暦
48
+ 1701, 2546783/56..60, 伊勢暦
49
+ 1702, 2546783/61..65, 伊勢暦
50
+ 1703, 2546783/65..69, 伊勢暦
51
+ 1704, 2546783/70..74, 伊勢暦
52
+ 1705, 2546783/74..78, 伊勢暦
53
+ 1706, 2535422/13..18, 伊勢暦
54
+ 1707, 2546783/83..87, 伊勢暦
55
+ 1708, 2546783/88..92, 伊勢暦
56
+ 1709, 2546783/92..96, 伊勢暦
57
+ 1710, 2546783/97..101, 伊勢暦
58
+ 1711, 2546784/3..10, 伊勢暦
59
+ 1712, 2546784/11..15, 伊勢暦
60
+ 1713, 2546784/16..21, 伊勢暦
61
+ 1714, 2546784/21..29, 伊勢暦
62
+ 1715, 2546784/29..33, 伊勢暦
63
+ 1716, 2546784/34..39, 伊勢暦
64
+ 1717, 2546784/39..44, 伊勢暦
65
+ 1718, 2546784/44..49, 伊勢暦
66
+ 1719, 2546784/50..54, 伊勢暦
67
+ 1720, 2546784/54..58, 伊勢暦
68
+ 1721, 2546784/59..67, 伊勢暦
69
+ 1722, 2546784/68..72, 伊勢暦
70
+ 1723, 2546784/72..80, 伊勢暦
71
+ 1724, 2546784/80..88, 伊勢暦
72
+ 1725, 2546784/89..94, 伊勢暦
73
+ 1726, 2546784/94..102, 伊勢暦
74
+ 1727, 2546784/102..110, 伊勢暦
75
+ 1728, 2546784/111..115, 伊勢暦
76
+ 1729, 2546784/115..124, 伊勢暦
77
+ 1730, 2546784/125..133, 伊勢暦
78
+ 1731, 2546784/133..138, 伊勢暦
79
+ 1732, 2546784/138..144, 伊勢暦
80
+ 1733, 2546784/144..150, 伊勢暦
81
+ 1734, 2546784/151..155, 伊勢暦
82
+ 1735, 2546784/156..160, 伊勢暦
83
+ 1736, 2546784/161..166, 伊勢暦
84
+ 1737, 2546784/166..175, 伊勢暦
85
+ 1738, 2546784/175..180, 伊勢暦
86
+ 1739, 2546784/180..185, 伊勢暦
87
+ 1740, 2546784/186..190, 伊勢暦
88
+ 1741, 2546784/191..196, 伊勢暦
89
+ 1742, 2546784/196..204, 伊勢暦
90
+ 1743, 2546784/205..210, 伊勢暦
91
+ 1744, 2535427/44..50, 伊勢暦
92
+ 1745, 2546784/214..219, 伊勢暦
93
+ 1746, 2546785/2..7, 伊勢暦
94
+ 1747, 2546785/7..12, 伊勢暦
95
+ 1748, 2546785/12..17, 伊勢暦
96
+ 1749, 2546785/18..22, 伊勢暦
97
+ 1750, 2546785/23..28, 伊勢暦
98
+ 1751, 2546785/28..33, 伊勢暦
99
+ 1752, 2546785/33..38, 伊勢暦
100
+ 1753, 2546785/38..43, 伊勢暦
101
+ 1754, 2546785/43..48, 伊勢暦
102
+ 1755, 2546785/48..53, 伊勢暦
103
+ 1756, 2546785/53..58, 伊勢暦
104
+ 1757, 2546785/58..63, 伊勢暦
105
+ 1758, 2546785/63..68, 伊勢暦
106
+ 1759, 2546785/68..73, 伊勢暦
107
+ 1760, 2535429/22..27, 伊勢暦
108
+ 1761, 2546785/77..81, 伊勢暦
109
+ 1762, 2546785/82..86, 伊勢暦
110
+ 1763, 2546785/87..91, 伊勢暦
111
+ 1764, 2546785/91..96, 伊勢暦
112
+ 1765, 2546785/96..100, 伊勢暦
113
+ 1766, 2546785/101..105, 伊勢暦
114
+ 1767, 2546785/105..111, 伊勢暦
115
+ 1768, 2546785/111..115, 伊勢暦
116
+ 1769, 2546785/116..120, 伊勢暦
117
+ 1770, 2546785/120..125, 伊勢暦
118
+ 1771, 2546785/125..129, 伊勢暦
119
+ 1772, 2546785/130..134, 伊勢暦
120
+ 1773, 2546785/135..139, 伊勢暦
121
+ 1774, 2546785/140..144, 伊勢暦
122
+ 1775, 2546785/145..150, 伊勢暦
123
+ 1776, 2546785/150..155, 伊勢暦
124
+ 1777, 2546785/155..159, 伊勢暦
125
+ 1778, 2546785/160..164, 伊勢暦
126
+ 1779, 2546785/164..168, 伊勢暦
127
+ 1780, 2546785/169..173, 伊勢暦
128
+ 1781, 2546785/173..178, 伊勢暦
129
+ 1782, 2546785/178..183, 伊勢暦
130
+ 1783, 2546785/183..187, 伊勢暦
131
+ 1784, 2546785/188..192, 伊勢暦
132
+ 1785, 2546785/193..197, 伊勢暦
133
+ 1786, 2546785/198..202, 伊勢暦
134
+ 1787, 2546785/202..206, 伊勢暦
135
+ 1788, 2546785/207..211, 伊勢暦
136
+ 1789, 2546785/211..216, 伊勢暦
137
+ 1790, 2546785/216..220, 伊勢暦
138
+ 1791, 2546785/220..225, 伊勢暦
139
+ 1792, 2546785/225..229, 伊勢暦
140
+ 1793, 2546785/229..233, 伊勢暦
141
+ 1794, 2546785/233..238, 伊勢暦
142
+ 1795, 2546785/238..243, 伊勢暦
143
+ 1796, 2546785/243..247, 伊勢暦
144
+ 1797, 2546785/247..251, 伊勢暦
145
+ 1798, 2546785/252..256, 伊勢暦
146
+ 1799, 2546785/256..261, 伊勢暦
147
+ 1800, 2546785/261..266, 伊勢暦
148
+ 1801, 2546785/266..271, 伊勢暦
149
+ 1802, 2546785/271..275, 伊勢暦
150
+ 1803, 2546785/276..281, 伊勢暦
151
+ 1804, 2546785/281..285, 伊勢暦
152
+ 1805, 2546786/2..6, 伊勢暦
153
+ 1806, 2546786/7..10, 伊勢暦
154
+ 1807, 2546786/11..15, 伊勢暦
155
+ 1808, 2546786/15..19, 伊勢暦
156
+ 1809, 2546786/20..23, 伊勢暦
157
+ 1810, 2546786/24..27, 伊勢暦
158
+ 1811, 2546786/28..31, 伊勢暦
159
+ 1812, 2546786/32..35, 伊勢暦
160
+ 1813, 2546786/36..40, 伊勢暦
161
+ 1814, 2546786/40..44, 伊勢暦
162
+ 1815, 2546786/44..48, 伊勢暦
163
+ 1816, 2546786/48..52, 伊勢暦
164
+ 1817, 2546786/52..56, 伊勢暦
165
+ 1818, 2546786/56..61, 伊勢暦
166
+ 1819, 2546786/61..65, 伊勢暦
167
+ 1820, 2546786/65..69, 伊勢暦
168
+ 1821, 2546786/69..73, 伊勢暦
169
+ 1822, 2546786/73..77, 伊勢暦
170
+ 1823, 2546786/78..81, 伊勢暦
171
+ 1824, 2546786/82..86, 伊勢暦
172
+ 1825, 2546786/86..90, 伊勢暦
173
+ 1826, 2546786/91..95, 伊勢暦
174
+ 1827, 2546786/95..99, 伊勢暦
175
+ 1828, 2546786/100..103, 伊勢暦
176
+ 1829, 2546786/104..108, 伊勢暦
177
+ 1830, 2546786/108..112, 伊勢暦
178
+ 1831, 2546786/113..117, 伊勢暦
179
+ 1832, 2546786/117..122, 伊勢暦
180
+ 1833, 2546786/122..126, 伊勢暦
181
+ 1834, 2546786/126..130, 伊勢暦
182
+ 1835, 2546786/130..134, 伊勢暦
183
+ 1836, 2546786/134..138, 伊勢暦
184
+ 1837, 2546786/139..142, 伊勢暦
185
+ 1838, 2546786/143..147, 伊勢暦
186
+ 1839, 2546786/147..150, 伊勢暦
187
+ 1840, 2546786/151..155, 伊勢暦
188
+ 1841, 2546786/156..159, 伊勢暦
189
+ 1842, 2546786/160..163, 伊勢暦
190
+ 1843, 2546786/164..168, 伊勢暦
191
+ 1844, 2546786/168..172, 伊勢暦
192
+ 1845, 2546786/172..176, 伊勢暦
193
+ 1846, 2546786/177..181, 伊勢暦
194
+ 1847, 2546786/182..186, 伊勢暦
195
+ 1848, 2546786/186..190, 伊勢暦
196
+ 1849, 2546786/190..194, 伊勢暦
197
+ 1850, 2546786/194..198, 伊勢暦
198
+ 1851, 2546786/198..202, 伊勢暦
199
+ 1852, 2546786/203..207, 伊勢暦
200
+ 1853, 2546787/3..11, 江戸暦
201
+ 1854, 2546787/11..20, 江戸暦
202
+ 1855, 2546787/21..29, 江戸暦
203
+ 1856, 2546787/29..37, 江戸暦
204
+ 1857, 2546787/38..47, 江戸暦
205
+ 1858, 2546787/47..55, 江戸暦
206
+ 1859, 2546787/56..64, 江戸暦
207
+ 1860, 2546787/64..73, 江戸暦
208
+ 1861, 2546787/74..82, 江戸暦
209
+ 1862, 2546787/82..91, 江戸暦
210
+ 1863, 2546787/92..100, 江戸暦
211
+ 1864, 2546787/101..104, 江戸暦
212
+ 1865, 2546787/105..114, 江戸暦
213
+ 1866, 2546787/114..122, 江戸暦
214
+ 1867, 2546787/123..131, 江戸暦
215
+ 1868, 2546787/131..140, 江戸暦
216
+ 1869, 2546787/141..144, 伊勢暦
217
+ 1870, 2546787/145..154, 東京
218
+ 1871, 2546787/154..159, 大学暦局
219
+ 1872, 2546787/159..168, 出版元無記載
220
+ 1873, 2546787/168..174, 文部省天文局
@@ -0,0 +1,44 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
4
+ dc:, http://purl.org/dc/elements/1.1/
5
+ dcq:, http://purl.org/dc/terms/
6
+ ts:, http://hosi.org/ts#
7
+ github:, https://raw.githubusercontent.com/suchowan/when_exe/master/test/events/
8
+ ndl:, http://dl.ndl.go.jp/info:ndljp/pid/
9
+ ndl_2535420:,http://dl.ndl.go.jp/info:ndljp/pid/2535420/,假名暦集覽. 第2冊
10
+ ndl_2535422:,http://dl.ndl.go.jp/info:ndljp/pid/2535422/,假名暦集覽. 第4冊
11
+ ndl_2535427:,http://dl.ndl.go.jp/info:ndljp/pid/2535427/,假名暦集覽. 第8冊
12
+ ndl_2535429:,http://dl.ndl.go.jp/info:ndljp/pid/2535429/,假名暦集覽. 第10冊
13
+ ndl_2541224:,http://dl.ndl.go.jp/info:ndljp/pid/2541224/,[伊勢度会暦]. 寛文6
14
+ ndl_2546782:,http://dl.ndl.go.jp/info:ndljp/pid/2546782/,[古暦帖]. [1]
15
+ ndl_2546783:,http://dl.ndl.go.jp/info:ndljp/pid/2546783/,[古暦帖]. [2]
16
+ ndl_2546784:,http://dl.ndl.go.jp/info:ndljp/pid/2546784/,[古暦帖]. [3]
17
+ ndl_2546785:,http://dl.ndl.go.jp/info:ndljp/pid/2546785/,[古暦帖]. [4]
18
+ ndl_2546786:,http://dl.ndl.go.jp/info:ndljp/pid/2546786/,[古暦帖]. [5]
19
+ ndl_2546787:,http://dl.ndl.go.jp/info:ndljp/pid/2546787/,[古暦帖]. [6]
20
+ ndl_2546827:,http://dl.ndl.go.jp/info:ndljp/pid/2546827/,[伊勢暦]. [1]
21
+ ndl_2591248:,http://dl.ndl.go.jp/info:ndljp/pid/2591248/,長徳四年下
22
+ ndl_2591250:,http://dl.ndl.go.jp/info:ndljp/pid/2591250/,長保二年上
23
+ ndl_2591251:,http://dl.ndl.go.jp/info:ndljp/pid/2591251/,寛弘元年上
24
+ ndl_2591252:,http://dl.ndl.go.jp/info:ndljp/pid/2591252/,寛弘二年上
25
+ ndl_2591253:,http://dl.ndl.go.jp/info:ndljp/pid/2591253/,寛弘四年下
26
+ ndl_2591254:,http://dl.ndl.go.jp/info:ndljp/pid/2591254/,寛弘五年下
27
+ ndl_2591255:,http://dl.ndl.go.jp/info:ndljp/pid/2591255/,寛弘六年下
28
+ ndl_2591256:,http://dl.ndl.go.jp/info:ndljp/pid/2591256/,寛弘七年上
29
+ ndl_2591257:,http://dl.ndl.go.jp/info:ndljp/pid/2591257/,寛弘八年上
30
+ ndl_2591258:,http://dl.ndl.go.jp/info:ndljp/pid/2591258/,長和二年上
31
+ ndl_2591259:,http://dl.ndl.go.jp/info:ndljp/pid/2591259/,寛仁二年上
32
+ ndl_2591260:,http://dl.ndl.go.jp/info:ndljp/pid/2591260/,寛仁三年下
33
+ ndl_2591261:,http://dl.ndl.go.jp/info:ndljp/pid/2591261/,寛仁四年上
34
+ {rdfs:label}, NDL Digital Collections
35
+ {rdfs:label}@ja, 国会図書館デジタルコレクション
36
+ {ts:reference}@ja, github:ndl_koyomi.csv, csv without header
37
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
38
+ {dcq:license}, http://creativecommons.org/licenses/by-sa/4.0/, CC-BY-SA
39
+ {dcq:valid}, [1]^^Japanese
40
+ {dcq:abstract}, Kanagoyomi Digital Image
41
+ {dcq:abstract}, [3]
42
+ {dc:source}, ndl:[2], dcq:URI
43
+ {ts:start}, {dcq:valid}, xsd:integer
44
+ {ts:until}, {dcq:valid}, xsd:integer
@@ -0,0 +1,19 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ wikipedia:, https://en.wikipedia.org/wiki/, Wikipedia
9
+ wikipedia:@*, https://*.wikipedia.org/wiki/, Wikipedia
10
+ {rdfs:label}, List of Japanese prime ministers
11
+ {rdfs:label}@ja, 日本国首相一覧
12
+ {ts:reference}@ja, http://hosi.org/When/TM/CalendarEra/JapanesePrimeMinister, CalendarEra
13
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
14
+ {dcq:license}, http://creativecommons.org/licenses/by-nd/4.0/, CC-BY-ND
15
+ {dcq:valid}, <dcq:valid>
16
+ {dcq:abstract}, <rdfs:label>
17
+ {dc:source}, <ts:reference>, dcq:URI
18
+ {ts:start}, {dcq:valid}, xsd:integer
19
+ {ts:until}, {dcq:valid}, xsd:integer
@@ -0,0 +1,22 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ shogun:, http://hosi.org/public/data/events/shogun/
9
+ wikipedia:, https://en.wikipedia.org/wiki/, Wikipedia
10
+ wikipedia:@*, https://*.wikipedia.org/wiki/, Wikipedia
11
+ {rdfs:label}, List of Tokugawa Shoguns
12
+ {rdfs:label}@ja, 徳川将軍一覧
13
+ {ts:reference}, https://ja.wikipedia.org/wiki/%E5%BE%B3%E5%B7%9D%E5%B0%86%E8%BB%8D%E4%B8%80%E8%A6%A7,"/<th>(\d+)<\/th><td.*?>.+?href=\""\/wiki\/(.+?)\"".*?([^>]+?)<\/a>.*?<\/td><td.*?>.+?<\/td><td.*?>.+?<\/td><td.*?>.+?<\/td><td.*?>.*?年.*?((?:\d+?)年).*?((?:閏?\d+?)月).*?((?:\d+?)日).*?年.*?((?:\d+?)年).*?((?:閏?\d+?)月).*?((?:\d+?)日).*?<\/td>/"
14
+ {dc:contributor}, https://ja.wikipedia.org/, ウィキペディア
15
+ {dcq:license}, https://ja.wikipedia.org/wiki/Wikipedia:Text_of_GNU_Free_Documentation_License, Wikipedia:Text of GNU Free Documentation License
16
+ {dcq:license}, https://ja.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License, Wikipedia:Text of Creative Commons Attribution-ShareAlike 3.0 Unported License
17
+ {rdf:subject}, shogun:{ts:id}, dcq:URI
18
+ {dcq:valid}, [4][5][6]..[7][8][9]^^Japanese
19
+ {dcq:abstract}, [3]
20
+ {dc:source}, wikipedia_ja:[2], dcq:URI
21
+ {ts:start}, {dcq:valid}, xsd:integer
22
+ {ts:until}, {dcq:valid}, xsd:integer
@@ -0,0 +1,26 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ ex:, http://example.com/
9
+ {rdfs:label}, Dr. Midwest's big database of history
10
+ {rdfs:label}@ja, 中西版「歴史データベース」
11
+ {ts:reference}, http://hosi.org:3030/test/sparql, SPARQL
12
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
13
+ {dcq:license}, http://creativecommons.org/licenses/by-sa/4.0/, CC-BY-SA
14
+ {rdf:subject}, ex:<ts:id>, dcq:URI
15
+ {dcq:valid}, <dcq:valid>
16
+ {dcq:spatial}, <dcq:spatial>
17
+ {rdfs:label}, <dcq:abstract>
18
+ {dcq:abstract}, <dcq:abstract>
19
+ {dc:contributor}, <dc:contributor>
20
+ {ts:start}, <ts:start>, xsd:integer
21
+ {ts:east}, <ts:east>, xsd:float
22
+ {ts:west}, <ts:west>, xsd:float
23
+ {ts:north}, <ts:north>, xsd:float
24
+ {ts:south}, <ts:south>, xsd:float
25
+ {dcq:hasPart}, <dcq:hasPart>
26
+ {ts:whatDay}, {dcq:valid}
@@ -0,0 +1,27 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ ex:, http://example.com/
9
+ {rdfs:label}, Dr. Midwest's big database of history
10
+ {rdfs:label}@ja, 中西版「歴史データベース」
11
+ #{ts:reference}, test-history-events.csv, csv with header
12
+ {ts:reference}@ja, test-history-events.csv, csv with header(100)
13
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
14
+ {dcq:license}, http://creativecommons.org/licenses/by-sa/4.0/, CC-BY-SA
15
+ {rdf:subject}, ex:{ts:id}, dcq:URI
16
+ {dcq:valid}, [valid]
17
+ {dcq:spatial}, [location]
18
+ {rdfs:label}, [abstarct]
19
+ {dcq:abstract}, [abstarct]
20
+ {dc:contributor}, [contributor]
21
+ {ts:start}, {dcq:valid}, xsd:integer
22
+ {ts:east}, {dcq:spatial}, xsd:float
23
+ {ts:west}, {dcq:spatial}, xsd:float
24
+ {ts:north}, {dcq:spatial}, xsd:float
25
+ {ts:south}, {dcq:spatial}, xsd:float
26
+ {dcq:hasPart}, {dcq:abstract}
27
+ {ts:whatDay}, {dcq:valid}
@@ -0,0 +1,22 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ ex:, http://example.com/
9
+ {rdfs:label}, Dr. Midwest's big database of history
10
+ {rdfs:label}@ja, 中西版「歴史データベース」
11
+ {ts:reference}, http://hosi.org:3030/test/sparql, SPARQL
12
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
13
+ {dcq:license}, http://creativecommons.org/licenses/by-sa/4.0/, CC-BY-SA
14
+ {rdf:subject}, ex:<ts:id>, dcq:URI
15
+ {dcq:valid}, <dcq:valid>
16
+ {dcq:spatial}, <dcq:spatial>
17
+ {rdfs:label}, <dcq:abstract>
18
+ {dcq:abstract}, <dcq:abstract>
19
+ {dc:contributor}, <dc:contributor>
20
+ {ts:start}, <ts:start>, xsd:integer
21
+ {dcq:hasPart}, <dcq:hasPart>
22
+ {ts:whatDay}, {dcq:valid}
@@ -0,0 +1,23 @@
1
+ # When::Events::DataSets
2
+ xsd:, http://www.w3.org/2001/XMLSchema
3
+ rdf:, http://www.w3.org/1999/02/22-rdf-syntax-ns#
4
+ rdfs:, http://www.w3.org/2000/01/rdf-schema#
5
+ dc:, http://purl.org/dc/elements/1.1/
6
+ dcq:, http://purl.org/dc/terms/
7
+ ts:, http://hosi.org/ts#
8
+ ex:, http://example.com/
9
+ {rdfs:label}, Dr. Midwest's big database of history
10
+ {rdfs:label}@ja, 中西版「歴史データベース」
11
+ #{ts:reference}, test-history-events.csv, csv with header
12
+ {ts:reference}@ja, test-history-events.csv, csv with header(100)
13
+ {dc:contributor}, http://hosi.org/TakashiSuga.ttl, 須賀隆
14
+ {dcq:license}, http://creativecommons.org/licenses/by-sa/4.0/, CC-BY-SA
15
+ {rdf:subject}, ex:{ts:id}, dcq:URI
16
+ {dcq:valid}, [valid]
17
+ {dcq:spatial}, [location]
18
+ {rdfs:label}, [abstarct]
19
+ {dcq:abstract}, [abstarct]
20
+ {dc:contributor}, [contributor]
21
+ {ts:start}, {dcq:valid}, xsd:integer
22
+ {dcq:hasPart}, {dcq:abstract}
23
+ {ts:whatDay}, {dcq:valid}