Skip to content
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.
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
limes
schema
src
.gitignore
README.md
convertjson
count
deleteemptydatasets
deleteemptyjsons
downloadjson
eclipse_formatter_linkedspending.xml
pom.xml
repairjson
repairrepairedjson
startrest
virtloadall

README.md

openspending2rdf

Usage

Copy src/main/resources/upload.properties.dist to ../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 nameing 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.

You can’t perform that action at this time.