Skip to content

MI wave buoy summary datacube - Cubiql exception #114

@robthomas-marine

Description

@robthomas-marine

Hi,

At the Marine Institute we have generated daily summary data for the wave buoy network and converted the data to a DataCube available from an (at present internal) Virtuoso SPARQL endpoint. We hope to have an externally accessible endpoint in place later this week.

I have followed the guidelines to create a variant of a DataCube which meets the criteria for Cubiql (no multi-measures, rdfs:label not skos:prefLabel etc) but when I try to run Cubiql (0.2.0) against the endpoint I get the following error message (reformatted to make more readable):

Exception in thread "main" clojure.lang.
ExceptionInfo: Argument measure' of field dataset_irish_wave_buoy_network_daily_summary_statistics_observations_aggregations/max' references unknown type `dataset_irish_wave_buoy_network_daily_summary_statistics_aggregation_measures'.
{:field-name :dataset_irish_wave_buoy_network_daily_summary_statistics_observations_aggregations/max,
:arg-name :measure,
:schema-types {
:scalar [:Boolean :DateTime :Float :ID :Int :SparqlCursor :String :uri],
:object [:MutationRoot
:QueryRoot
:SubscriptionRoot
:dataset
:dataset_irish_wave_buoy_network_daily_summary_statistics :dataset_irish_wave_buoy_network_daily_summary_statistics_observations :dataset_irish_wave_buoy_network_daily_summary_statistics_observations_aggregations
:dataset_irish_wave_buoy_network_daily_summary_statistics_observations_page :dataset_irish_wave_buoy_network_daily_summary_statistics_observations_page_observations
:dim
:enum_dim_value
:measure
:ref_area
:ref_period
:unmapped_dim_value],
:union [:dim_value],
:input-object [
:dataset_irish_wave_buoy_network_daily_summary_statistics_observations_dimensions
:dataset_irish_wave_buoy_network_daily_summary_statistics_observations_order_spec
:filter
:page_selector :ref_period_filter],
:interface [:dataset_meta :resource],
:enum [:sort_direction]}}

My interpretation is something in the DataCube is not what Cubiql is expecting. Please could someone translate and explain what is causing the error? Then I'll correct the local DataCube.

Cheers
Rob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions