Changes for page For Developers

Last modified by Artur on 2025/11/06 15:37

From version 2.1
edited by Artur
on 2025/05/28 13:11
Change comment: There is no comment for this version
To version 17.1
edited by Artur
on 2025/07/23 13:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,0 +1,27 @@
1 +The [[SDMX standard>>https://sdmx.org/]] defines a common set of [[statistical concepts>>doc:Glossary.WebHome]] and related [[code lists>>doc:Models.WebHome]] intended for reuse across many datasets.
2 +As part of the **Interoperability Basis** project, work was undertaken to bridge gaps and semantically enrich the SDMX [[glossary>>doc:Glossary.WebHome]] and [[code-lists>>doc:Models.WebHome]] XML-schemes published in the [[global registry>>https://registry.sdmx.org/]]. The following [[RDF>>https://www.w3.org/RDF/]]/[[OWL>>https://www.w3.org/OWL/]] namespaces were defined:
3 +
4 +|=Prefix|=Namespace|=Description
5 +|=(% scope="col" %)sip-sdmx|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/>>http://purl.semanticip.org/linked-data/sdmx/]]|(((
6 +This vocabulary extends the data cube vocabulary to support publication of statistical data in RDF, using an information model based on SDMX 3.0
7 +)))
8 +|**sip-sdmx-concept**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/concept/>>url:http://purl.semanticip.org/linked-data/sdmx/concept/]]|Namespace for SDMX concepts. Glossary based on version 2.0 of the SDMX Glossary as published in the official global registry, provided as SKOS concepts.
9 +|**sip-sdmx-code**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/code/>>url:http://purl.semanticip.org/linked-data/sdmx/code/]]|Namespace for SDMX Code Lists. SKOS ConceptSchemes and Concepts for the code lists contained in the SDMX global registry.
10 +|**sip-sdmx-agency**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/agency/>>url:http://purl.semanticip.org/linked-data/sdmx/agency/]]|Namespace for agencies that publish or aggregate statistical data.
11 +
12 +These namespaces are offered as a convenient public vocabulary and are not part of the [[RDF Data Cube>>https://www.w3.org/TR/vocab-data-cube/]] specification.
13 +{{velocity}}#set($attachDecode =''){{/velocity}}{{groovy output="false"}} import java.net.URLDecoder
14 + import java.net.URLEncoder
15 +def attachUrl = 'https://'+ request.getServerName()+ doc.getAttachmentURL('sip-sdmx.ttl')
16 +attachUrl = attachUrl
17 +attachDecode = URLEncoder.encode(attachUrl, "UTF-8").replace(" ", "%20").replace(",", "%2C").replace("\u00A0","%A0").replace(';','%3B'){{/groovy}}{{velocity}}#set($LODEurl = 'https://basis.semanticip.org/LODE/extract?url=' + $attachDecode + '&owlapi=true&closure=true&lang=en')
18 +**sip-sdmx in TTL Format** [[$services.localization.render('skms.general.btn.download')>>attach:$doc.getAttachmentList()[0].getFilename()||class="btn btn-primary"]]
19 +
20 +{{html}}
21 + <hr>
22 + <p>
23 + <iframe id="sip-sdmxLODE" allowfullscreen="allowfullscreen" role="presentation" style="border:1; height:900px; width:100%; overflow:auto" src="$LODEurl" title="$doc.plainTitle"></iframe>
24 + </p>
25 +{{/html}}
26 +
27 +{{/velocity}}
sip-sdmx.ttl
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.arturkryazhev
Size
... ... @@ -1,0 +1,1 @@
1 +3.8 KB
Content
... ... @@ -1,0 +1,86 @@
1 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
2 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
3 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
4 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5 +@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
6 +@prefix foaf: <http://xmlns.com/foaf/0.1/> .
7 +@prefix dcterms: <http://purl.org/dc/terms/> .
8 +@prefix qb: <http://purl.org/linked-data/cube#> .
9 +@prefix sdmx: <http://purl.org/linked-data/sdmx#> .
10 +@prefix sip-sdmx: <http://purl.semanticip.org/linked-data/sdmx/> .
11 +@prefix sip-sdmx-concept: <http://purl.semanticip.org/linked-data/sdmx/concept/> .
12 +@prefix sip-sdmx-code: <http://purl.semanticip.org/linked-data/sdmx/code/> .
13 +@prefix sip-sdmx-agency: <http://purl.semanticip.org/linked-data/sdmx/agency/> .
14 +
15 +#### 1. Declaring this file as an ontology ####
16 +
17 +<http://purl.semanticip.org/linked-data/sdmx>
18 + a owl:Ontology ;
19 + owl:versionInfo "3.0.0" ;
20 + rdfs:label "Semantic SDMX vocabulary";
21 +# rdfs:label "SDMX Semantic Integration Profile"@en ;
22 + rdfs:comment "This vocabulary extends the data cube vocabulary to support publication of statistical data in RDF, using an information model based on SDMX 3.0";
23 +# rdfs:comment "Top-level ontology that aggregates SDMX semantic namespaces: concepts, code lists, and agencies."@en ;
24 + dcterms:created "2025-07-18"^^xsd:date;
25 + dcterms:title "Vocabulary for publishing SDMX 3.0 statistical data in RDF";
26 + dcterms:source <https://sdmx.org>;
27 + dcterms:references <https://sdmx.org/standards-2/>;
28 + dcterms:contributor sip-sdmx:SemanticPro ;
29 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/concept/> ;
30 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/code/> ;
31 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/agency/> .
32 +
33 +sip-sdmx:SemanticPro a foaf:Organization, dcterms:Agent ;
34 + foaf:name "SemanticPro R&D Group" ;
35 + foaf:mbox "info@semanticip.org" .
36 +
37 +#### 2.1. DataFlowDefinition (data flow) ####
38 +
39 +sip-sdmx:DataFlowDefinition
40 + a rdfs:Class, owl:Class ;
41 + rdfs:subClassOf qb:DataSet ; # inherited from cube
42 + rdfs:label "Data Flow Definition"@en ;
43 + rdfs:comment "Abstract concept (i.e. the structure without any data) of a flow of data that providers will provide for different reference periods."@en .
44 +
45 +sip-sdmx:describedBy a rdf:Property ;
46 + rdfs:label "described by"@en ;
47 + rdfs:range rdfs:Resource ;
48 + rdfs:comment "Associates a Dataflow and thereby a Data Structure Definition to the data set."@en .
49 +
50 +qb:DataSet sip-sdmx:describedBy sip-sdmx:DataFlowDefinition .
51 +
52 +#### 2.2. DataStructureDefinition (data structure template) ####
53 +
54 +sip-sdmx:DataStructureDefinition a rdfs:Class, owl:Class;
55 + rdfs:subClassOf sdmx:DataStructureDefinition;
56 + rdfs:label "DataStructureDefinition"@en ;
57 + rdfs:isDefinedBy sip-sdmx-concept:DSD .
58 +
59 +# We do not redefine SKOS, but provide a wrapper for SDMX concepts
60 +sip-sdmx:ConceptScheme a rdfs:Class ;
61 + rdfs:subClassOf skos:ConceptScheme ;
62 + rdfs:label "SDMX Concept Scheme"@en ;
63 + rdfs:isDefinedBy sip-sdmx-concept:CONCEPT_SCH .
64 +
65 +sip-sdmx:Concept a rdfs:Class, owl:Class;
66 + rdfs:label "SDMX Concept"@en ;
67 + rdfs:subClassOf sdmx:Concept;
68 + rdfs:isDefinedBy sip-sdmx-concept:CONCEPT .
69 +
70 +sip-sdmx:CodeList a rdfs:Class, owl:Class;
71 + rdfs:label "SDMX CodeList"@en ;
72 + rdfs:subClassOf sdmx:CodeList;
73 + rdfs:isDefinedBy sip-sdmx-concept:CODELIST .
74 +
75 +#### 2.3. Agency (organizational units) ####
76 +
77 +sip-sdmx:agencyID a rdf:Property ;
78 + rdfs:range xsd:anyURI ;
79 + rdfs:label "agency ID"@en .
80 +
81 +sip-sdmx:hasAgencyLabel
82 + a rdf:Property ;
83 + rdfs:label "Has agency-specific label"@en ;
84 + rdfs:comment "Relates a code to agency-specific labels defined by specific agencies."@en ;
85 + rdfs:range rdfs:Literal .
86 +