-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS Viewer: Hierarchies not working? #40
Comments
Any update? |
I need some more time. Please be patient. |
@larjohn let us know if this is somewhat that the OKI team can help with. |
@skarampatakis is this information somehow explicitly available in the RDF or it should be inferred looking at the values? |
Yes, all information is available through the definition of the Concept Scheme, each codelist item belongs to. |
Cool, this is not implemented yet. Give me a couple of days and it will be there. |
@skarampatakis can you give an example (SPARQL preferred) that connects any two of those dimensions here: http://data.openbudgets.eu/page/dataset/budget-thessaloniki-revenue-2011/slice/248 For your convenience, here is the model of the dataset: |
I am not sure that I have understand what you request. Could you please explain more? On the dataset you have defined only the lowest level leaf. Let say kae:6421. But this is a leaf node in the hierarchy. So it goes like kae:6 -> kae:64 -> kae:642 -> kae:6421, where the arrow means So if you know what is the longest path (the level of detail) you can produce aggregated view of the datasets with a well defined level of detail, along a dimension. And you could also provide drilldowns. So please explain a bit better of what you want, so I can give you a more detailed answer. |
In order for this to work, at a Babbage-compatible API, the levels of the hierarchy should be mapped to specific dimensions. Then these dimensions are groupped into a single hierarchy. For our example, additional columns should be artificially created in the original table (or in the pipeline) and then also created in the dsd and the dataset. |
As this seems to be application specific, couldn't you just create these extra columns on Rudolf layer? try a query like this
then you could just explode the hierarchies column and get your virtual columns. Or perhaps there could be a better query but I think we can and should do this at the application logic and leave data as is. Annotating datasets with extra dimensions would produce excess triples, which is not always efficient, since these kind of info can always be retrieved by simple SPARQL queries. |
This could be done, but it is a major refactoring for the existing query builder so it might be left as a top priority after the deliverable due on the end of this month. |
@larjohn
In this dataset if you choose a hierarchy for the treemap view, and click on a rectangle it seems that nothing happens. For that specific case I know that the bottom level of the the hierarchy (economic classification) is defined as dimension value on the dataset.
Shouldn't the Viewer initialize the graph with the higher levels? So we can eventually drilldown the dataset in the deepest detail available.
The text was updated successfully, but these errors were encountered: