publish_my_data 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,20 +71,17 @@ module PublishMyData
71
71
  ?uri a qb:DimensionProperty .
72
72
 
73
73
  OPTIONAL {
74
- ?uri rdfs:label ?label .
75
- ?uri rdfs:subPropertyOf+ ?superProperty .
74
+ ?uri rdfs:label ?label .
76
75
  }
77
76
  GRAPH <#{dataset.data_graph_uri}> {
78
77
  ?s ?uri ?o .
79
78
  }
80
-
81
- FILTER (
82
- ?dimensionType = sdmxDim:refArea ||
83
- (
84
- bound(?superProperty) &&
85
- ?superProperty = sdmxDim:refArea
86
- )
87
- )
79
+
80
+ {
81
+ { ?uri rdfs:subPropertyOf+ sdmxDim:refArea }
82
+ UNION
83
+ { ?uri a sdmxDim:refArea }
84
+ }
88
85
  }"
89
86
 
90
87
  uris_and_labels_only(Tripod::SparqlClient::Query.select(query)).first
@@ -1,3 +1,3 @@
1
1
  module PublishMyData
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publish_my_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2014-02-19 00:00:00.000000000 Z
19
+ date: 2014-02-20 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails
@@ -547,7 +547,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
547
547
  version: '0'
548
548
  segments:
549
549
  - 0
550
- hash: 139384928995456086
550
+ hash: 246507114754998859
551
551
  required_rubygems_version: !ruby/object:Gem::Requirement
552
552
  none: false
553
553
  requirements: