forked from linked-statistics/disco-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathddiexample1.ttl
115 lines (96 loc) · 3.79 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
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skosclass: <http://ddialliance.org/ontologies/skosclass#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ddionto: <http://ddialliance.org/def#> .
@prefix ddi: <http://ddialliance.org/data/> .
ddi:ARG_1908_PHC_v01_A_IPUMS-example a ddionto:Study , ddionto:LogicalDataset ;
dc:title "National Population and Housing Census 1980"@en ;
ddionto:isMeasureOf _:universe ;
ddionto:hasCoverage _:coverage ;
ddionto:hasDatafile _:datafile ;
ddionto:hasInstrument _:instrument ;
ddionto:containsVariable ddi:AR80A401 , ddi:AR80A402 , ddi:AR80A404 , ddi:AR80A407 , ddi:AR80A411.
_:universe a ddionto:Universe ;
skos:definition "All the population... carried out."@en .
_:instrument a ddionto:Instrument ;
ddionto:usesQuestion _:question .
_:question a ddionto:Question ;
ddionto:literalText "blabla"@en ;
ddionto:hasResponseDomain _:sexCS .
_:datafile a ddionto:Datafile ;
dc:identifier "ARG1900-P-H.dat" ;
dc:description "Person records"@en ;
ddionto:caseQuantity 2667714 ;
dc:format "ascii" ;
dc:provenance "Minnesota Population Center"@en ;
owl:versionInfo "Version 1.0, IPUMS sample"@en ;
ddionto:hasCoverage _:coverage .
ddi:AR80A401 a ddionto:Variable ;
dc:identifier "AR80A401" ;
skos:prefLabel "Sex"@en , "Sexe"@fr ;
dc:description "This variable indicates..."@en ;
ddionto:isPopulatedBy _:instrument ;
ddionto:usesDataElement _:sexDE ;
ddionto:hasQuestion _:question .
_:sexDE a ddionto:DataElement ;
ddionto:hasUniverse _:universe ;
ddionto:hasRepresentation _:sexCS ;
ddionto:hasConcept _:ipumsC1 ;
skos:prefLabel "Sex"@en , "Sexe"@fr ;
dc:description "Sex data element"@en .
_:dstat1 a ddionto:DescriptiveStatistic ;
ddi:frequency 13314444 ;
ddi:percentage 49.97 ;
ddionto:hasStatisticsVariable ddi:AR80A401 ;
ddionto:hasStatisticsCategory _:sexC1 ;
ddionto:hasStatisticsDatafile _:datafile .
_:dstat2 a ddionto:DescriptiveStatistic ;
ddi:frequency 1336270 ;
ddionto:hasStatisticsVariable ddi:AR80A401 ;
ddionto:hasStatisticsCategory _:sexC2 ;
ddionto:hasStatisticsDatafile _:datafile .
_:sexCS a skos:ConceptScheme, ddionto:Representation ;
skos:hasTopConcept _:sexC1 , _:sexC2 .
_:sexC1 a skos:Concept ;
skos:notation "1" ;
skos:prefLabel "Male"@en, "Homme"@fr ;
skos:inScheme _:sexCS .
_:sexC2 a skos:Concept ;
skos:notation "2" ;
skos:prefLabel "Female"@en, "Femme"@fr ;
skos:inScheme _:sexCS .
_: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 .
ddi:AR80A402 a ddionto:Variable ;
dc:identifier "AR80A402" ;
skos:prefLabel "Age"@en , "Âge"@fr ;
.
ddi:AR80A404 a ddionto:Variable ;
dc:identifier "AR80A404" ;
skos:prefLabel "Place of residence"@en , "Lieu de résidence"@fr ;
.
ddi:AR80A407 a ddionto:Variable ;
dc:identifier "AR80A407" ;
skos:prefLabel "Citizenship"@en , "Citoyenneté"@fr ;
.
ddi:AR80A411 a ddionto:Variable ;
dc:identifier "AR80A411" ;
skos:prefLabel "Completed highest level of education"@en , "Plus haut niveau d'études terminé"@fr ;
.
_:coverage a ddionto:Coverage ;
dcterms:spatial [
# This is the DC-strictly compatible way to do it
a dcterms:Location ;
rdfs:label "Argentina, national coverage"@en
] ;
dcterms:temporal "To be defined"@en ;
dcterms:subject "To be defined"@en .