Download Latest Version RDF-mapping-v1.0.zip (54.9 kB)
Email in envelope

Get an email when there's a new version of Fish4Knowledge Project

Home / User Interface
Name Modified Size InfoDownloads / Week
Parent folder
RDF-mapping-v1.0.zip 2013-11-21 54.9 kB
README-for-RDF-mapping.txt 2013-11-21 1.1 kB
F4K-UI-v1.0.zip 2013-11-20 4.0 MB
README.txt 2013-11-20 1.3 kB
Totals: 4 Items   4.0 MB 5
Instructions for installing the RDF mapping for the Fish4Knowledge database.
============================================================================

Download and build d2rq (I used git revision v0.8.1-24-g7754644):

	shell> git clone https://github.com/d2rq/d2rq.git
	shell> ant # default d2rq build

Generate default mapping. Pick a db with the full data or the summary tables only. 
	Here we do the latter on database f4k_db_2808 and assume the mysql server is on localhost:
	shell> ./generate-mapping --verbose -u jhe -p jhe -o f4k-mapping-default.ttl jdbc:mysql://localhost/f4k_db_2808

	Alternatively, to generate a full mapping on the Taiwan database, we run:
	shell> ./generate-mapping --verbose -u f4kuser -p XXXXXX -o full-mapping-default.ttl jdbc:mysql://gleoncentral.nchc.org.tw/f4k_db

Copy mapping and manually remove all tables starting with "auth" and "django"
	shell> cp f4k-mapping-default.ttl f4k-mapping.ttl
	shell> $EDITOR f4k-mapping.ttl

Start server on base URL http://f4k.project.cwi.nl/lod/ :

	shell> ./d2r-server -b http://f4k.project.cwi.nl/lod/ f4k-mapping.ttl
Source: README-for-RDF-mapping.txt, updated 2013-11-21