Changes for page For Developers

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

From version 19.1
edited by Artur
on 2025/07/23 13:16
Change comment: Uploaded new attachment "sip-sdmx.ttl", version 1.2
To version 9.1
edited by Artur
on 2025/07/14 12:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,27 +2,8 @@
2 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 3  
4 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.
5 +|**sip-sdmx-concept**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/concept/>>url:http://purl.semanticip.org/linked-data/sdmx/concept/]]|Glossary based on version 2.0 of the SDMX Glossary as published in the official global registry, provided as SKOS concepts.
6 +|**sip-sdmx-code**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/code/>>url:http://purl.semanticip.org/linked-data/sdmx/code/]]|SKOS ConceptSchemes and Concepts for the code lists contained in the SDMX global registry.
7 +|**sip-sdmx-agency**|[[http:~~/~~/purl.semanticip.org/linked-data/sdmx/agency/>>url:http://purl.semanticip.org/linked-data/sdmx/code/agency/]]|Namespace for agencies that publish or aggregate statistical data.
11 11  
12 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 -(% style="border-top: 2px solid #eeeeee;border-color:#cbcbcb" %)
14 ------
15 -{{velocity}}#set($attachDecode =''){{/velocity}}{{groovy output="false"}} import java.net.URLDecoder
16 - import java.net.URLEncoder
17 -def attachUrl = 'https://'+ request.getServerName()+ doc.getAttachmentURL('sip-sdmx.ttl')
18 -attachUrl = attachUrl
19 -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')
20 -**sip-sdmx in TTL Format** [[$services.localization.render('skms.general.btn.download')>>attach:$doc.getAttachmentList()[0].getFilename()||class="btn btn-primary"]]
21 -
22 -{{html}}
23 - <p>
24 - <iframe id="sip-sdmxLODE" allowfullscreen="allowfullscreen" role="presentation" style="border:1; height:900px; width:100%; overflow:auto" src="$LODEurl" title="$doc.plainTitle"></iframe>
25 - </p>
26 -{{/html}}
27 -{{/velocity}}
28 -
sip-sdmx.ttl
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.arturkryazhev
Size
... ... @@ -1,1 +1,0 @@
1 -4.0 KB
Content
... ... @@ -1,92 +1,0 @@
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 cpov: <http://data.europa.eu/m8g/> .
8 -@prefix dcterms: <http://purl.org/dc/terms/> .
9 -@prefix qb: <http://purl.org/linked-data/cube#> .
10 -@prefix sdmx: <http://purl.org/linked-data/sdmx#> .
11 -@prefix sip-sdmx: <http://purl.semanticip.org/linked-data/sdmx/> .
12 -@prefix sip-sdmx-concept: <http://purl.semanticip.org/linked-data/sdmx/concept/> .
13 -@prefix sip-sdmx-code: <http://purl.semanticip.org/linked-data/sdmx/code/> .
14 -@prefix sip-sdmx-agency: <http://purl.semanticip.org/linked-data/sdmx/agency/> .
15 -
16 -#### 1. Declaring this file as an ontology ####
17 -
18 -<http://purl.semanticip.org/linked-data/sdmx>
19 - a owl:Ontology ;
20 - owl:versionInfo "3.0.0" ;
21 - rdfs:label "Semantic SDMX vocabulary";
22 -# rdfs:label "SDMX Semantic Integration Profile"@en ;
23 - 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";
24 -# rdfs:comment "Top-level ontology that aggregates SDMX semantic namespaces: concepts, code lists, and agencies."@en ;
25 - dcterms:created "2025-07-18"^^xsd:date;
26 - dcterms:title "Vocabulary for publishing SDMX 3.0 statistical data in RDF";
27 - dcterms:source <https://sdmx.org>;
28 - dcterms:references <https://sdmx.org/standards-2/>;
29 - dcterms:contributor sip-sdmx:SemanticPro ;
30 - dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/concept/> ;
31 - dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/code/> ;
32 - dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/agency/> .
33 -
34 -sip-sdmx:SemanticPro a foaf:Organization, dcterms:Agent ;
35 - foaf:name "SemanticPro R&D Group" ;
36 - foaf:mbox "info@semanticip.org" .
37 -
38 -#### 2.1. DataFlowDefinition (data flow) ####
39 -
40 -sip-sdmx:DataFlowDefinition
41 - a rdfs:Class, owl:Class ;
42 - rdfs:subClassOf qb:DataSet ; # inherited from cube
43 - rdfs:label "Data Flow Definition"@en ;
44 - 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 .
45 -
46 -sip-sdmx:describedBy a rdf:Property ;
47 - rdfs:label "described by"@en ;
48 - rdfs:range rdfs:Resource ;
49 - rdfs:comment "Associates a Dataflow and thereby a Data Structure Definition to the data set."@en .
50 -
51 -qb:DataSet sip-sdmx:describedBy sip-sdmx:DataFlowDefinition .
52 -
53 -#### 2.2. DataStructureDefinition (data structure template) ####
54 -
55 -sip-sdmx:DataStructureDefinition a rdfs:Class, owl:Class;
56 - rdfs:subClassOf sdmx:DataStructureDefinition;
57 - rdfs:label "DataStructureDefinition"@en ;
58 - rdfs:isDefinedBy sip-sdmx-concept:DSD .
59 -
60 -# We do not redefine SKOS, but provide a wrapper for SDMX concepts
61 -sip-sdmx:ConceptScheme a rdfs:Class ;
62 - rdfs:subClassOf skos:ConceptScheme ;
63 - rdfs:label "SDMX Concept Scheme"@en ;
64 - rdfs:isDefinedBy sip-sdmx-concept:CONCEPT_SCH .
65 -
66 -sip-sdmx:Concept a rdfs:Class, owl:Class;
67 - rdfs:label "SDMX Concept"@en ;
68 - rdfs:subClassOf sdmx:Concept;
69 - rdfs:isDefinedBy sip-sdmx-concept:CONCEPT .
70 -
71 -sip-sdmx:CodeList a rdfs:Class, owl:Class;
72 - rdfs:label "SDMX CodeList"@en ;
73 - rdfs:subClassOf sdmx:CodeList;
74 - rdfs:isDefinedBy sip-sdmx-concept:CODELIST .
75 -
76 -#### 2.3. Agency (organizational units) ####
77 -
78 -sip-sdmx:Agency a rdfs:Class, owl:Class;
79 - rdfs:label "SDMX Agency"@en ;
80 - rdfs:subClassOf cpov:PublicOrganisation ;
81 - rdfs:isDefinedBy sip-sdmx-concept:DATA_PROVIDER .
82 -
83 -sip-sdmx:agencyID a rdf:Property ;
84 - rdfs:range xsd:anyURI ;
85 - rdfs:label "agency ID"@en .
86 -
87 -sip-sdmx:hasAgencyLabel
88 - a rdf:Property ;
89 - rdfs:label "Has agency-specific label"@en ;
90 - rdfs:comment "Relates a code to agency-specific labels defined by specific agencies."@en ;
91 - rdfs:range rdfs:Literal .
92 -