160 likes | 283 Views
Data Cube Interface. Gofran Shukhair Email: firstname.lastname@deri.org. A semantic web application for publishing statistical linked data (expressed by RDF Data Cube Vocabulary). Use Cases. For a publisher to enable de-referencing his/her data in a fine grained human-readable interface
E N D
Data Cube Interface Gofran Shukhair Email: firstname.lastname@deri.org
A semantic web application for publishing statistical linked data (expressed by RDF Data Cube Vocabulary).
Use Cases • For a publisher to enable de-referencing his/her data in a fine grained human-readable interface • It can be used by another party different from the publisher to browse the data
Features (1) • Requesting the application through this form of the url ./index.php?uri=<observation_uri>&endpoint=<endpoint_url>
Features (2) • Show the requested observation value and all the related information defined in the triple store behind the endpoint
Features (3) • Navigate between the related observation (by changing the value of any dimension/measure)
Features (4) • Book-markable urls for all the dataset components
Features (5) • TO DO...tag cloud showing values of each dimension corresponding the number of occurrence in the data set
Features (6) • Faceted search on data set by choosing the values of each dimension
Assuming .. • The data is expressed in RDF Data Cube Vocabulary (following the recommendations mentioned inhttp://publishing-statistical-data.googlecode.com/svn/trunk/specs/src/main/html/cube.html)
Assuming .. • The data cube vocabulary components should be expressed in the following way for the application: • Data Structure Definition • Dataset • Component Properties
Data Structure Definition • The order properties are optional • No preference on expressing a slice structure (what is important is using the data cube components properties as showed qb:dimension,qb:measure,qb:attribute) :dsd-co-slice a qb:DataStructureDefinition ; qb:component [qb:dimension :refArea; qb:order 1], [qb:dimension :refPeriod; qb:order 2; qb:componentAttachment qb:slice], [qb:dimension :instrument; qb:order 3; qb:componentAttachment qb:slice], [qb:dimension :crimeType; qb:order 4], [qb:measure :numberOfInstrumentOffences], [qb:measure :percentageOfInstrumentOffences], [qb:dimension qb:measureType], [qb:attribute sdmx-attribute:unitMeasure; qb:componentAttachment qb:DataSet]; qb:sliceStructure :sliceByRegionAndCrime
Dataset • The dataset instance should have the type qb:DataSet • The dataset instance should be annotated using rdfs:label, rdfs:comment • The dataset instance date, subject and publisher should be expressed using Dublin core (as recommended in the specification) • The publisher should be of a type org:Organization and/or foaf:Agent :crime_dataset a qb:DataSet; rdfs:label "Knife and sharp instrument offences"@en; rdfs:comment " recorded by the police for selected offences, 2008/091"@en; dcterms:date "2010-08-11"^^xsd:date; dcterms:subject "instrument offences"@en; dc:publisher :organization; qb:structure :dsd-co-slice ; sdmx-attribute:unitMeasure :offence; qb:slice :slice. :organization a org:Organization, foaf:Agent; rdfs:label "Epimorphics Ltd" .
Component Properties (Measure) • Annotated with rdfs:label , rdfs:comment :numberOfInstrumentOffences a rdf:Property, qb:MeasureProperty; rdfs:label "number Of Instrument Offences"@en; rdfs:subPropertyOf sdmx-measure:obsValue; rdfs:range xsd:decimal .
Component Properties (Dimension) • Annotated with rdfs:label , rdfs:comment • Codelists should be used (recommended) :refArea a rdf:Property, qb:DimensionProperty; rdfs:label "reference area"@en; rdfs:subPropertyOf sdmx-dimension:refArea; rdfs:range co-code:Area; qb:concept sdmx-concept:refArea .
Component Properties (Attribute) • Annotated with rdfs:label , rdfs:comment :offence a skos:Concept; skos:prefLabel "Offence"@en ; skos:notation "Offence" ; owl:sameAs <http://dbpedia.org/resource/criminal_offence>.