Changes for page For Developers

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

From version 9.1
edited by Artur
on 2025/07/14 12:12
Change comment: There is no comment for this version
To version 23.1
edited by Artur
on 2025/07/24 10:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,8 +2,27 @@
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 -|**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.
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.
8 8  
9 9  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,0 +1,1 @@
1 +xwiki:XWiki.arturkryazhev
Size
... ... @@ -1,0 +1,1 @@
1 +3.9 KB
Content
... ... @@ -1,0 +1,88 @@
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: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 + dcterms:created "2025-07-18"^^xsd:date;
24 + dcterms:title "Vocabulary for publishing SDMX 3.0 statistical data in RDF";
25 + dcterms:source <https://sdmx.org>;
26 + dcterms:references <https://sdmx.org/standards-2/>;
27 + dcterms:contributor sip-sdmx:SemanticPro ;
28 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/concept/> ;
29 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/code/> ;
30 + dcterms:hasPart <http://purl.semanticip.org/linked-data/sdmx/agency/> .
31 +
32 +sip-sdmx:SemanticPro a foaf:Organization, dcterms:Agent ;
33 + foaf:name "SemanticPro R&D Group" ;
34 + foaf:mbox "info@semanticip.org" .
35 +
36 +#### 2.1. DataFlowDefinition (data flow) ####
37 +
38 +sip-sdmx:DataFlowDefinition a rdfs:Class, owl:Class ;
39 + rdfs:subClassOf qb:DataSet ; # inherited from cube
40 + rdfs:label "Data Flow Definition"@en ;
41 + 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 .
42 +
43 +sip-sdmx:describedBy a rdf:Property ;
44 + rdfs:label "described by"@en ;
45 + rdfs:range rdfs:Resource ;
46 + rdfs:comment "Associates a Dataflow and thereby a Data Structure Definition to the data set."@en .
47 +
48 +qb:DataSet sip-sdmx:describedBy sip-sdmx:DataFlowDefinition .
49 +
50 +#### 2.2. DataStructureDefinition (data structure template) ####
51 +
52 +sip-sdmx:DataStructureDefinition a rdfs:Class, owl:Class;
53 + rdfs:subClassOf sdmx:DataStructureDefinition;
54 + rdfs:label "DataStructureDefinition"@en ;
55 + rdfs:isDefinedBy sip-sdmx-concept:DSD .
56 +
57 +# We do not redefine SKOS, but provide a wrapper for SDMX concepts
58 +sip-sdmx:ConceptScheme a rdfs:Class ;
59 + rdfs:subClassOf skos:ConceptScheme ;
60 + rdfs:label "SDMX Concept Scheme"@en ;
61 + rdfs:isDefinedBy sip-sdmx-concept:CONCEPT_SCH .
62 +
63 +sip-sdmx:Concept a rdfs:Class, owl:Class;
64 + rdfs:label "SDMX Concept"@en ;
65 + rdfs:subClassOf sdmx:Concept;
66 + rdfs:isDefinedBy sip-sdmx-concept:CONCEPT .
67 +
68 +sip-sdmx:CodeList a rdfs:Class, owl:Class;
69 + rdfs:label "SDMX CodeList"@en ;
70 + rdfs:subClassOf sdmx:CodeList;
71 + rdfs:isDefinedBy sip-sdmx-concept:CODELIST .
72 +
73 +#### 2.3. Agency (organizational units) ####
74 +
75 +sip-sdmx:Agency a rdfs:Class, owl:Class;
76 + rdfs:label "SDMX Agency"@en ;
77 + rdfs:subClassOf cpov:PublicOrganisation ;
78 + rdfs:isDefinedBy sip-sdmx-concept:DATA_PROVIDER .
79 +
80 +sip-sdmx:agencyID a rdf:Property ;
81 + rdfs:range sip-sdmx:Agency ;
82 + rdfs:label "agency ID"@en .
83 +
84 +sip-sdmx:hasAgencyLabel a rdf:Property ;
85 + rdfs:label "Has agency-specific label"@en ;
86 + rdfs:comment "Relates a code to agency-specific labels defined by specific agencies."@en ;
87 + rdfs:range rdfs:Literal .
88 +
SKMS.Code.ForDevelopersClass[0]
URI
... ... @@ -1,0 +1,1 @@
1 +http://purl.semanticip.org/linked-data/sdmx/
vann.preferredNamespacePrefix
... ... @@ -1,0 +1,1 @@
1 +sip-sdmx