-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathddiexample1.ttl
265 lines (223 loc) · 10.6 KB
/
ddiexample1.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix qb: <http://purl.org/linked-data/cube#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix disco: <http://rdf-vocabulary.ddialliance.org/discovery#>.
@prefix foaf: <http://xmlns.com/foaf/spec/#>.
@prefix org: <http://www.w3.org/ns/org#>.
#################################################################
# DDI RDF Example
#
# Notes
#
#################################################################
# General document metadata
# from codeBook/docDscr/citation
<#DDI_ARG_1980_PHC_v01_A_IPUMS>
dc:title "National Population and Housing Census, 1980"@en;
dc:identifier "DDI_ARG_1980_PHC_v01_A_IPUMS";
rdfs:seeAlso <http://microdata.worldbank.org/index.php/catalog/442>;
# We have our own version on the RDF representation of the DDI XML file
owl:versionInfo "Mannheim Working Meeting Version (2013-02-20)";
dc:created "2010-12-09"^^xsd:date;
disco:fundedBy [
rdfs:label "Organization for Economic Co-operation and Development, Development Co-operation Directorate";
skos:notation "OECD/DCD-PARIS21";
# We don't have a translation of grantNo
].
# We don't translate prodStmt/producer/@role
# We don't translate prodStmt/fundArg and prodStmt/grantNo because
# for our use case we don't care who paid for encoding the metadata.
<#study> a disco:Study;
dc:title "National Population and Housing Census, 1980"@en;
dc:identifier "ARG_1980_PHC_v01_A_IPUMS";
dc:temporal [
a dcterms:PeriodOfTime ;
disco:startDate "1980-10-22"^^xsd:date;
disco:endDate "1980-10-22"^^xsd:date;
rdfs:comment "The interviews take place on the expected census day. In some areas the enumeration took place the following day because of access problems due to heavy rains.";
];
dc:spatial [
# This is the DC-strictly compatible way to do it
a dc:Location;
rdfs:label "Argentina, national coverage"@en;
# sumDscr/geogCover and sumDscr/geogUnit not represented
# one could link to a Linked Data representation of ARGENTINA
];
# Only a subset of subjects mentioned in the original file
dcterms:subject [
skos:definition "Technical Variables -- HOUSEHOLD"@en ;
] ;
dcterms:subject [
skos:definition "Group Quarters Variables -- HOUSEHOLD"@en ;
] ;
dc:creator [
rdfs:label "Minnesota Population Center"@en;
skos:notation "MPC";
org:memberOf [
rdfs:label "University of Minnesota"@en;
];
];
dc:creator [
rdfs:label "Argentine National institute of Statistics and Censuses"@en;
];
owl:versionInfo "Version 1.0. This version contains selected variables from the original census micro data plus harmonized variables from the IPUMS International data base."@en;
dcterms:abstract "IPUMS-International is an effort to inventory, preserve, harmonize, and disseminate census microdata from around the world. The project has collected the world's largest archive of publicly available census samples. The data are coded and documented consistently across countries and over time to facillitate comparative research. IPUMS-International makes these data available to qualified researchers free of charge through a web dissemination system. The IPUMS project is a collaboration of the Minnesota Population Center, National Statistical Offices, and international data archives. Major funding is provided by the U.S. National Science Foundation and the Demographic and Behavioral Sciences Branch of the National Institute of Child Health and Human Development. Additional support is provided by the University of Minnesota Office of the Vice President for Research, the Minnesota Population Center, and Sun Microsystems.";
disco:analysisUnit <#analysisUnit>;
disco:universe <#universe>;
disco:kindOfData <#kindOfData> ;
# method, e.g., method/dataColl/sampProc not represented since not relevant for discovery
# XXX dataAccs, e.g., dataAccs/useStmt/confDec,contact,citReq,conditions,disclaimer not represented, yet.
# XXX how to link othrStdyMat?
dcterms:relation <documents/enum_form_ar1980_long.pdf>;
disco:product <#dataset>;
disco:instrument <#questionnaire>;
# stdyInfo/notes currently not represented.
disco:variable <#AR80A401>, <#AR80A402>, <#AR80A404>, <#AR80A407>, <#AR80A411>.
<#dataset> a disco:LogicalDataset;
dcterms:accessRights <accessRights>;
disco:dataFile <#datafile>;
disco:instrument <#questionnaire>;
disco:containsVariable <#AR80A401>, <#AR80A402>, <#AR80A404>, <#AR80A407>, <#AR80A411>.
<accessRights> dcterms:description "IPUMS-International distributes integrated microdata of individuals and households only by agreement ... designed to extend this record.";
rdfs:seeAlso <http://microdata.worldbank.org/index.php/catalog/442/accesspolicy>.
<#analysisUnit> a disco:AnalysisUnit ;
skos:definition "Dwelling, quarter dwelling, census household, and population"@en .
<#universe> a disco:Universe;
skos:definition "All the population in the national territory at the moment the census is carried out."@en .
<#kindOfData> a skos:Concept ;
rdfs:label "Census/enumeration data [cen]"@en .
<#questionnaire> a disco:Questionnaire;
disco:question <#questionGender>;
disco:question <#questionAge>;
disco:question <#questionCitizenship>.
<#questionGender> a disco:Question;
disco:questionText "2. Is the person a man or a woman? [] Man, [] Woman"@en.
<#questionAge> a disco:Question;
disco:questionText "3. What is his or her age? _ _ Mark the age in completed years at the date of the census for those younger than one year old mark 00. For those younger than 10 years old, mark 01, 02, 03, etc. For those older than 99 years old, mark 99."@en.
<#questionCitizenship> a disco:Question;
disco:questionText "6. [Immigration status] Only for persons who have usual residence in Argentina and were born in another country. [Questions 6A and 6B asked only of persons born outside Argentina and who currently reside in Argentina.] B. Are you a naturalized citizen of Argentina? [] Yes [] No [] Unanswered"@en.
<#AR80A401> a disco:Variable;
dc:identifier "AR80A401";
skos:prefLabel "Sex"@en, "Sexe"@fr;
dc:description "This variable indicates the person's gender."@en;
disco:basedOn <#sexVD>;
disco:hasQuestion <#questionGender>.
<#AR80A402> a disco:Variable;
dc:identifier "AR80A402";
dc:description "This variable indicates the person's age in years."@en;
skos:prefLabel "Age"@en, "Âge"@fr.
disco:basedOn <#ageVD>;
disco:hasQuestion <#questionAge>.
<#AR80A407> a disco:Variable;
dc:identifier "AR80A407";
dc:description "This variable indicates whether or not the person is a naturalized citizen of Argentina."@en;
skos:prefLabel "Citizenship"@en, "Citoyenneté"@fr;
disco:basedOn <#citizenshipVD>;
disco:hasQuestion <#questionCitizenship>.
<#sexVD> a disco:VariableDefinition;
disco:universe <#universePerson>;
disco:representation <#sexRepr>;
disco:concept <#ipumsC1>;
skos:prefLabel "Sex"@en, "Sexe"@fr;
dc:description "Sex data element"@en.
<#sexRepr> a skos:ConceptScheme, disco:Representation;
skos:hasTopConcept <#sexM>, <#sexF>.
<#sexM> a skos:Concept;
skos:notation "1";
skos:prefLabel "Male"@en, "Homme"@fr;
skos:inScheme <#sexRepr>.
<#sexF> a skos:Concept;
skos:notation "2";
skos:prefLabel "Female"@en, "Femme"@fr;
skos:inScheme <#sexRepr>.
<#dstat1> a disco:DescriptiveStatistic;
disco:frequency 13314444;
# is that correct?
disco:percentage 49.97;
disco:hasStatisticsVariable <#AR80A401>;
disco:hasStatisticsCategory <#sexM>;
disco:hasStatisticsDatafile <#datafile>.
<#dstat2> a disco:DescriptiveStatistic;
disco:frequency 1336270;
disco:hasStatisticsVariable <#AR80A401>;
disco:hasStatisticsCategory <#sexF>;
disco:hasStatisticsDatafile <#datafile>.
<#ageVD> a disco:VariableDefinition;
disco:universe <#universePerson>;
disco:representation <#ageRepr>;
disco:concept <#ipumsC1>;
skos:prefLabel "Age"@en, "Sexe"@fr;
dc:description "Age data element"@en.
<#ageRepr> a skos:ConceptScheme, disco:Representation;
skos:hasTopConcept <#age0>, <#age1>, <#age99>.
<#age0> a skos:Concept;
skos:notation "0";
skos:prefLabel "0";
skos:inScheme <#ageRepr>.
<#age1> a skos:Concept;
skos:notation "1";
skos:prefLabel "1";
skos:inScheme <#ageRepr>.
# ...
<#age99> a skos:Concept;
skos:notation "99";
skos:prefLabel "99";
skos:inScheme <#ageRepr>.
<#citizenshipVD> a disco:VariableDefinition;
disco:universe <#universeNonArgentines>;
disco:representation <#citizenshipRepr>;
disco:concept <#ipumsC2>;
skos:prefLabel "Citizenship"@en;
dc:description "Citizenship data element"@en.
<#citizenshipRepr> a skos:ConceptScheme, disco:Representation;
skos:hasTopConcept <#cYes>, <#cNo>, <#cUnknown>, <#NIU>.
<#cYes> a skos:Concept;
skos:notation "1";
skos:prefLabel "Yes";
skos:inScheme <#citizenshipRepr>.
<#cNo> a skos:Concept;
skos:notation "2";
skos:prefLabel "No";
skos:inScheme <#citizenshipRepr>.
<#cUnknown> a skos:Concept;
skos:notation "8";
skos:prefLabel "Unknown";
skos:inScheme <#citizenshipRepr>.
<#cNIU> a skos:Concept;
skos:notation "9";
skos:prefLabel "NIU (not in universe)";
skos:inScheme <#citizenshipRepr>.
<#ipumsCS> a skos:ConceptScheme;
skos:hasTopConcept <#ipumsC1>.
<#ipumsC1> a skos:Concept;
skos:prefLabel "Demographic Variables - PERSON"@en, "Variables démographiques - PERSONNE"@fr;
skos:inScheme <#ipumsCS>.
<#ipumsC2> a skos:Concept;
skos:prefLabel "Nativity and Birthplace Variables -- PERSON"@en;
skos:inScheme <#ipumsCS>.
<#universePerson> a disco:Universe;
skos:definition "All persons."@en ;
skos:narrower <#universe>.
<#universeNonArgentines> a disco:Universe;
skos:definition "Foreign-born persons who reside in Argentina."@en ;
skos:narrower <#universe>;
skos:narrower <#universePerson>.
<#datafile> a disco:Datafile;
dc:identifier "ARG1900-P-H.dat";
dc:description "Person records"@en;
disco:caseQuantity 2667714;
dc:format "ascii";
dc:provenance "Minnesota Population Center"@en;
owl:versionInfo "Version 1.0, IPUMS sample"@en;
dc:spatial [
# This is the DC-strictly compatible way to do it
a dc:Location;
rdfs:label "Argentina, national coverage"@en
];
dc:temporal "PeriodOfTime"@en;
dc:subject "To be defined"@en.