-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/WDAqua/Indexing-server
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Indexing-server | ||
How to use this libaray? | ||
|
||
1- Download the dump of the ontology you want. For example download the dbpedia dumps: <br /> | ||
wget http://downloads.dbpedia.org/2015-04/core-i18n/en/labels_en.nt.bz2 <br /> | ||
wget http://downloads.dbpedia.org/2015-04/core-i18n/en/mappingbased-properties_en.nt.bz2 <br /> | ||
wget http://downloads.dbpedia.org/2015-04/core-i18n/en/infobox-properties_en.nt.bz2 <br /> | ||
Decompresse them ; ) <br /> | ||
Make a unique dump using „cat mappingbased-properties_en.nt infobox-properties_en > dump-en.nt" <br /> | ||
2- Install octave <br /> | ||
3- Download the git repository: https://github.com/WDAqua/Indexing-server <br /> | ||
4- Go into src/main/java/Index.class and modify the two variables <br /> | ||
<br /> | ||
String octavePath="/usr/bin/octave"; <br /> | ||
String dump = "/ssd/dennis/dump-it.nt“; <br /> | ||
<br /> | ||
to the corresponding directories. For octave you can find it out with „which octave“ on CL. <br /> | ||
5- Do „mvn package“ to compile. (NOTE: you need java 8 due to dependencies to Jena) <br /> | ||
6- Now you can run the server with „java -jar „ on the corresponding jar in the target folder. <br /> | ||
<br /> | ||
The corresponing client can be found under: <br /> | ||
https://github.com/WDAqua/Indexing-client <br /> |