Skip to content

Commit 57f8f66

Browse files
authored
Merge pull request #104 from dh-tech/17-ismi-sample-data
updated ismi sample data
2 parents a16a0ac + b994eb2 commit 57f8f66

3 files changed

Lines changed: 120 additions & 204 deletions

File tree

examples/use-cases/ismi/README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,21 @@
22

33
The [Islamic Scientific Manuscript Initiative project](https://ismi.mpwig-berlin.mpg.de) aims to collect information about all Islamic Manuscripts in the exact sciences from the 9th to the 19th centuries CE.
44

5-
The old [ISMI database](https://gitlab.gwdg.de/MPIWG/Department-II/ismi-project) database OpenMind (OM4) stores historical dates as JSON objects with the following structure:
5+
The new [ISMI database](https://gitlab.gwdg.de/MPIWG/Department-II/ismi-project) stores historical dates as CIDOC-CRM RDF objects with the following structure:
66

7-
- `state`
8-
- "unknown": no date
9-
- "not checked": unparsed date in `date_in_text`
10-
- "known": date or date range entered in specified calendar
11-
- `calendar_type`: calendar the date was entered in
12-
- "Julian", "Islamic", "Gregorian"
13-
- `input_form`: date type
14-
- "Year"
15-
- `from`: first day, `until`: last day of year (dates in Gregorian calendar, ambiguity of +-2 days when entered in Islamic calendar)
16-
- "Range"
17-
- `from`: first day, `until`: last day of range (dates in Gregorian calendar, ambiguity of +-2 days when entered in Islamic calendar)
18-
- "Date"
19-
- `date`: given day (date in Gregorian calendar, ambiguity of +-2 days when entered in Islamic calendar)
20-
- `additional_info`: textual note with additional information
7+
- `crm:E52_Time-Span`
8+
- `crm:P2_has_type`: date type
9+
- "datetype:day"
10+
- `crm:P82_at_some_time_within`: given day (xsd:date)
11+
- "datetype:year"
12+
- `crm:P82a_begin_of_the_begin`: first day (xsd:date), `crm:P82b_end_of_the_end`: last day of year (xsd:date)
13+
- "datetype:range"
14+
- `crm:P82a_begin_of_the_begin`: first day (xsd:date), `crm:P82b_end_of_the_end`: last day of range (xsd:date)
15+
- `crm:P1_is_identified_by`
16+
- `crm:E41_Appellation`
17+
- `rdfs:label`: textual representation of timespan (e.g. "901 Rabīʿ I 14 (islamic)")
18+
- `crm:P2_has_type`: calendar type (calendar the date was entered in)
19+
- "calendartype:julian", "calendartype:islamic", "calendartype:gregorian"
20+
- `crm:P3_has_note`: textual note with additional information
2121

22-
We plan to extract as much as possible of this data in the migration to the new RDF database with a CIDOC-CRM-based data model.
23-
24-
A sample file with dates of each type can be found in `data/ismi-om4-date-samples.json`
22+
A sample file with dates of each type can be found in `data/ismi-crm-date-samples.ttl`
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
2+
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
3+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4+
# prefix for date and calendar type URIs
5+
@prefix datetype: <http://content.mpiwg-berlin.mpg.de/ns/ismi/type/date/> .
6+
@prefix calendartype: <http://content.mpiwg-berlin.mpg.de/ns/ismi/type/calendar/> .
7+
# prefix for sample data
8+
@prefix : <http://content.mpiwg-berlin.mpg.de/ns/ismi/> .
9+
10+
# day-precision date in islamic calendar
11+
:date1 a crm:E52_Time-Span ;
12+
crm:P2_has_type datetype:day ;
13+
crm:P82_at_some_time_within "1495-12-11"^^xsd:date ;
14+
crm:P3_has_note "day-precision date in islamic calendar" ;
15+
crm:P1_is_identified_by :date1-label .
16+
:date1-label a crm:E41_Appellation ;
17+
crm:P2_has_type calendartype:islamic ;
18+
rdfs:label "901 Rabīʿ I 14 (islamic)" .
19+
20+
# year-precision date in islamic calendar
21+
:date2 a crm:E52_Time-Span ;
22+
crm:P2_has_type datetype:year ;
23+
crm:P82a_begin_of_the_begin "1479-04-03"^^xsd:date ;
24+
crm:P82b_end_of_the_end "1480-03-21"^^xsd:date ;
25+
crm:P3_has_note "year-precision date in islamic calendar" ;
26+
crm:P1_is_identified_by :date2-label .
27+
:date2-label a crm:E41_Appellation ;
28+
crm:P2_has_type calendartype:islamic ;
29+
rdfs:label "884 (islamic)" .
30+
31+
# range-type (century in islamic calendar) date in islamic calendar
32+
:date3 a crm:E52_Time-Span ;
33+
crm:P2_has_type datetype:range ;
34+
crm:P82a_begin_of_the_begin "1494-10-11"^^xsd:date ;
35+
crm:P82b_end_of_the_end "1591-10-18"^^xsd:date ;
36+
crm:P3_has_note "range-type (century in islamic calendar) date in islamic calendar" ;
37+
crm:P1_is_identified_by :date3-label .
38+
:date3-label a crm:E41_Appellation ;
39+
crm:P2_has_type calendartype:islamic ;
40+
rdfs:label "900 Muḥarram 1 - 999 Ḏu al-Ḥijjaẗ 29 (islamic)" .
41+
42+
# day-precision date in gregorian calendar
43+
:date4 a crm:E52_Time-Span ;
44+
crm:P2_has_type datetype:day ;
45+
crm:P82_at_some_time_within "1830-02-08"^^xsd:date ;
46+
crm:P3_has_note "day-precision date in gregorian calendar" ;
47+
crm:P1_is_identified_by :date4-label .
48+
:date4-label a crm:E41_Appellation ;
49+
crm:P2_has_type calendartype:gregorian ;
50+
rdfs:label "1830 February 8 (gregorian)" .
51+
52+
# year-precision date in gregorian calendar
53+
:date5 a crm:E52_Time-Span ;
54+
crm:P2_has_type datetype:year ;
55+
crm:P82a_begin_of_the_begin "1796-01-01"^^xsd:date ;
56+
crm:P82b_end_of_the_end "1796-12-31"^^xsd:date ;
57+
crm:P3_has_note "year-precision date in gregorian calendar" ;
58+
crm:P1_is_identified_by :date5-label .
59+
:date5-label a crm:E41_Appellation ;
60+
crm:P2_has_type calendartype:gregorian ;
61+
rdfs:label "1796 (gregorian)" .
62+
63+
# range-type (century in gregorian calendar) date in gregorian calendar
64+
:date6 a crm:E52_Time-Span ;
65+
crm:P2_has_type datetype:range ;
66+
crm:P82a_begin_of_the_begin "1600-01-01"^^xsd:date ;
67+
crm:P82b_end_of_the_end "1699-12-31"^^xsd:date ;
68+
crm:P3_has_note "range-type (century in gregorian calendar) date in gregorian calendar" ;
69+
crm:P1_is_identified_by :date6-label .
70+
:date6-label a crm:E41_Appellation ;
71+
crm:P2_has_type calendartype:gregorian ;
72+
rdfs:label "1600 January 1 - 1699 December 31 (gregorian)" .
73+
74+
# day-precision date in julian calendar
75+
:date7 a crm:E52_Time-Span ;
76+
crm:P2_has_type datetype:day ;
77+
crm:P82_at_some_time_within "1035-06-04"^^xsd:date ;
78+
crm:P3_has_note "day-precision date in julian calendar" ;
79+
crm:P1_is_identified_by :date7-label .
80+
:date7-label a crm:E41_Appellation ;
81+
crm:P2_has_type calendartype:julian ;
82+
rdfs:label "1035 May 29 (julian)" .
83+
84+
# year-precision date in julian calendar
85+
:date8 a crm:E52_Time-Span ;
86+
crm:P2_has_type datetype:year ;
87+
crm:P82a_begin_of_the_begin "1013-01-07"^^xsd:date ;
88+
crm:P82b_end_of_the_end "1014-01-06"^^xsd:date ;
89+
crm:P3_has_note "year-precision date in julian calendar" ;
90+
crm:P1_is_identified_by :date8-label .
91+
:date8-label a crm:E41_Appellation ;
92+
crm:P2_has_type calendartype:julian ;
93+
rdfs:label "1013 (julian)" .
94+
95+
# range-type (century in julian calendar) date in julian calendar
96+
:date9 a crm:E52_Time-Span ;
97+
crm:P2_has_type datetype:range ;
98+
crm:P82a_begin_of_the_begin "1200-01-08"^^xsd:date ;
99+
crm:P82b_end_of_the_end "1300-01-07"^^xsd:date ;
100+
crm:P3_has_note "range-type (century in julian calendar) date in julian calendar" ;
101+
crm:P1_is_identified_by :date9-label .
102+
:date9-label a crm:E41_Appellation ;
103+
crm:P2_has_type calendartype:julian ;
104+
rdfs:label "1200 January 1 - 1299 December 31 (julian)" .

examples/use-cases/ismi/data/ismi-om4-date-samples.json

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)