Changes for page For Developers

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

From version 12.1
edited by Artur
on 2025/07/23 13:02
Change comment: Uploaded new attachment "sip-sdmx.ttl", version 1.1
To version 21.1
edited by Artur
on 2025/07/23 14:00
Change comment: Uploaded new attachment "sip-sdmx.ttl", version 1.4

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 +|=(% 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 +)))
5 5  |**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.
6 6  |**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.
7 7  |**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
Size
... ... @@ -1,1 +1,1 @@
1 -3.8 KB
1 +3.9 KB
Content
... ... @@ -4,6 +4,7 @@
4 4  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5 5  @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
6 6  @prefix foaf: <http://xmlns.com/foaf/0.1/> .
7 +@prefix cpov: <http://data.europa.eu/m8g/> .
7 7  @prefix dcterms: <http://purl.org/dc/terms/> .
8 8  @prefix qb: <http://purl.org/linked-data/cube#> .
9 9  @prefix sdmx: <http://purl.org/linked-data/sdmx#> .
... ... @@ -18,9 +18,7 @@
18 18   a owl:Ontology ;
19 19   owl:versionInfo "3.0.0" ;
20 20   rdfs:label "Semantic SDMX vocabulary";
21 -# rdfs:label "SDMX Semantic Integration Profile"@en ;
22 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 24   dcterms:created "2025-07-18"^^xsd:date;
25 25   dcterms:title "Vocabulary for publishing SDMX 3.0 statistical data in RDF";
26 26   dcterms:source <https://sdmx.org>;
... ... @@ -36,8 +36,7 @@
36 36  
37 37  #### 2.1. DataFlowDefinition (data flow) ####
38 38  
39 -sip-sdmx:DataFlowDefinition
40 - a rdfs:Class, owl:Class ;
38 +sip-sdmx:DataFlowDefinition a rdfs:Class, owl:Class ;
41 41   rdfs:subClassOf qb:DataSet ; # inherited from cube
42 42   rdfs:label "Data Flow Definition"@en ;
43 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 .
... ... @@ -74,12 +74,16 @@
74 74  
75 75  #### 2.3. Agency (organizational units) ####
76 76  
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 +
77 77  sip-sdmx:agencyID a rdf:Property ;
78 - rdfs:range xsd:anyURI ;
81 + rdfs:range sip-sdmx:Agency ;
79 79   rdfs:label "agency ID"@en .
80 80  
81 -sip-sdmx:hasAgencyLabel
82 - a rdf:Property ;
84 +sip-sdmx:hasAgencyLabel a rdf:Property ;
83 83   rdfs:label "Has agency-specific label"@en ;
84 84   rdfs:comment "Relates a code to agency-specific labels defined by specific agencies."@en ;
85 85   rdfs:range rdfs:Literal .