Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

The conversion part of LinkedSpending: transformation of OpenSpending Datasets to RDF Data Cubes. See https://github.com/KonradHoeffner/linkedspending.aksw.org for the publishing part.

License

Notifications You must be signed in to change notification settings

KonradHoeffner/linkedspending

Repository files navigation

⚠️ The LinkedSpending Conversion Tool is not maintained anymore and does not work with the current OpenSpending API.

This repository has been archived on 2022-05-10.

LinkedSpending Data Conversion Tool

Download Data

See also

Usage

Copy ./src/main/resources/upload.properties.dist to ./src/main/resources/upload.properties and fill in your Virtuoso credentials. Start org.aksw.linkedspending.rest.Rest and access http://localhost:10010/datasets in your browser. propertymapping.tsv is empty right now but can be filled with property mappings which differ from the automatic naming scheme.

Development

Needs Maven. Uses Java 8. Using Java 9 may require creating the correct module info file, however the Maven configuration sets the compiler version to Java 8 so you should not run into this problem by accident but only if you purposely decide to upgrade Java to version 9. Uses Project Lombok so you may have to integrate it into your GUI if you develop it with one, see http://projectlombok.org/features/index.html.

Code Style

  • see codeprofile.xml (Eclipse CodeFormatter profile)
  • Java conventions: camel
  • braces on the next line:
class X
{
	...
}

exception: only one line in a method:

void x() {x++;}
  • functions, variables and methods lowerCamelCase, classes UpperCamelCase
  • abbreviations in camelCase have only the first letter changed: Class SparqlQuery (not Class SPARQLQuery), String sparqlQuery (not String sPARQLQuery)
  • /* short comments */ and /** javadocs **/ but no:
/*
comments with more space than necessary
*/

(should be /*comments with more space than necessary*/)

  • no licence or similar disclaimers
  • usage of project annotations Lombok to save space
  • usage of Eclipse @NonNull, @NonNullByDefault and @Nullable annotations
  • JUnit tests for every nontrivial class

Known Issues

Some of the old scripts are not functional after the refactoring.

About

The conversion part of LinkedSpending: transformation of OpenSpending Datasets to RDF Data Cubes. See https://github.com/KonradHoeffner/linkedspending.aksw.org for the publishing part.

Resources

License

Stars

Watchers

Forks

Packages

No packages published