///////////////////////////////////////// /////// ///////// /////// Von-Sparql Site Setup ///////// /////// ///////// ///////////////////////////////////////// 1. Install Greenstone3 binary www.greenstone.org/greenstone3-home 2. Checkout Apache Jena into {greenstone_install_dir}/gs2build/ext cd {greenstone_install_dir}/gs2build/ext/ svn co http://svn.greenstone.org/gs2-extensions/apache-jena/trunk/src apache-jena 3. Compile Apache Jena source cd apache-jena ./CASCADE_MAKE.sh 4. Now gs-triplestore-server can be run from command line to start triple-store server. source {greenstone_install_dir}/gs3-setup.sh 5. Checkout von-sparql site into your sites directory cd {greenstone_install_dir}/web/sites/ svn co http://greenstone.org/main/trunk/model-sites/dev/von-sparql von-sparql 6. Edit {greenstone_install_dir}/web/WEB-INF/web.xml Add a new servlet containing: sparql-library The standard gsdl3 library program org.greenstone.gsdl3.LibraryServlet library_name sparql-library site_name von-sparql interface_name default receptionist_class DefaultReceptionist default_lang en 7. Lower down in the web.xml, add a new mapping for your server: sparql-library /sparql-library/* 8. Ensure you are running the triple-store server, then build both of the von-sparql collections. Metadata triples will be inserted into the triple store, for large collections this can take some time! source {greenstone_install_dir}/gs3-setup.sh full-rebuild.pl -site von-sparql hathitrust-tab full-rebuild.pl -site von-sparql nz-natlib-cat 9. Restart web server cd {greenstone_install_dir} ant restart 10. Von-Sparql collections can now be accessed through the url http://localhost:8383/greenstone3/sparql-library Comparisons can be made through the link placed in the page header or by going to http://localhost:8383/greenstone3/sparql-library/page/compare