52North/CSWLoDEnabler

Name: CSWLoDEnabler

Owner: 52°North Initiative for Geospatial Open Source Software GmbH

Description: Translator for OGC CSW to RDF / Linked Data.

Created: 2013-07-30 09:00:09.0

Updated: 2016-11-21 09:16:47.0

Pushed: 2015-07-15 08:01:40.0

Homepage:

Size: 397

Language: Java

GitHub Committers

UserMost Recent Commit# Commits
Daniel Nüst2015-04-08 07:21:14.023
Benjamin Pross2015-07-15 08:01:40.037

Other Committers

UserEmailMost Recent Commit# Commits
arne-broeringarneb@uni-muenster.de2013-08-21 09:55:10.08

README

CSW to LOD Translator

This project maps the entries of an OGC Catalog (CSW, http://www.opengeospatial.org/standards/cat) to Linked Open Data using Jena (https://jena.apache.org/) and inserts the results into a Virtuoso Triple Store (http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/). This software is developed in the project GLUES.

Features

Build Requirements

The project uses Maven (http://maven.apache.org/).

To make this work the following non-Maven libs need to be downloaded and installed to the local repository manually:

Build, Configure, and Run

The project is best run by importing it into an Eclipse workspace. Command-line execution of the main class CSWLoDEnabler is possible but not documented yet.

Create configuration file

Go to src/main/resources and create a copy of the file lod.properties.original under the name lod.properties. Open it and adjust the Virtuoso user and password.

Virtuoso
Pubby

This is a pubby configuration file for using pubby with a Virtuoso running on the default port on localhost for the GLUES dataset, i.e. pubby is deployed at http://localhost:8080/glues-lod/.

bby: http://wifo5-03.informatik.uni-mannheim.de/pubby/
ample config file: http://wifo5-03.informatik.uni-mannheim.de/pubby/config.ttl

efix declarations to be used in RDF output
fix conf: <http://richard.cyganiak.de/2007/pubby/config.rdf#> .
fix meta: <http://example.org/metadata#> .
fix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
fix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
fix xsd: <http://www.w3.org/2001/XMLSchema#> .
fix owl: <http://www.w3.org/2002/07/owl#> .
fix dc: <http://purl.org/dc/elements/1.1/> .
fix dcterms: <http://purl.org/dc/terms/> .
fix foaf: <http://xmlns.com/foaf/0.1/> .
fix skos: <http://www.w3.org/2004/02/skos/core#> .
fix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
fix dbpedia: <http://localhost:8080/resource/> .
fix p: <http://localhost:8080/property/> .
fix yago: <http://localhost:8080/class/yago/> .
fix units: <http://dbpedia.org/units/> .
fix geonames: <http://www.geonames.org/ontology#> .
fix prv:      <http://purl.org/net/provenance/ns#> .
fix prvTypes: <http://purl.org/net/provenance/types#> .
fix doap:     <http://usefulinc.com/ns/doap#> .
fix void:     <http://rdfs.org/ns/void#> .
fix ir:       <http://www.ontologydesignpatterns.org/cp/owl/informationrealization.owl#> .
fix glues:  <http://glues.52north.org/> .
fix prov:   <http://www.w3.org/ns/prov#> .
fix vcard:  <http://www.w3.org/2001/vcard-rdf/3.0#> .

 conf:Configuration;
conf:projectName "GLUES LOD";
conf:projectHomepage <http://nachhaltiges-landmanagement.de/en/scientific-coordination-glues/>;
conf:webBase <http://localhost:8080/glues-lod/>;#this will replace the URI_BASE (conf:datasetbase respectively) in the pubby browser
conf:usePrefixesFrom <>;
conf:defaultLanguage "en";

conf:indexResource <http://metadata.demo.52north.org/glues/resource/project/GLUES>;#reference to an entity including URI_BASE

conf:labelProperty rdfs:label, dc:title, foaf:name;
conf:commentProperty rdfs:comment, dc:description;
conf:imageProperty foaf:depiction;

conf:dataset [
    conf:sparqlEndpoint <http://localhost:8890/sparql>;
    #conf:sparqlDefaultGraph <http://metadata.demo.52north.or/glues-lod/2014-08-28A>;#must correspond to URI_GRAPH property of lod.properties
    conf:datasetBase <http://metadata.demo.52north.org/glues>;#must correspond to URI_BASE property (including slashes)
    conf:webResourcePrefix "";
    conf:addSameAsStatements "true";

    #conf:metadataTemplate "metadata.ttl";
];
.
Finding issues

To discover issues with data that is retrieved from a catalog, a specific log file /logs/csw2lod-issues.log exists that contains all warnings and errors that occured during each seperate execution. More detailed logging is in the other logging files in /logs.

Development

Some development notes:

Contact / Support

Contact: Daniel Nüst (d.nuest@52north.org)

For support questions, please contact the 52°North Metadata Community mailing list: http://52north.org/resources/mailing-list-and-forums/

License

This project is licenses under GNU General Public License, version 2.0. For details see the LICENSE file, for information about the used libraries see the NOTICE file.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.