remote topicspaces server
DESCRIPTION
Remote TopicSpaces Server. Installation and Use Jack Park. Latest: 201000405. Description. Remote Server is an instance of an RDF Store that can be scaled out to multi-platform installations It is not a secure server It must live on a local network not available for direct web access. - PowerPoint PPT PresentationTRANSCRIPT
Remote TopicSpaces Server
Installation and UseJack Park
Latest: 201000405
Description
• Remote Server is an instance of an RDF Store that can be scaled out to multi-platform installations– It is not a secure server
• It must live on a local network not available for direct web access.
• Indirect web access is provided through webservices from web-visible TopicSpaces servers
• Server responds to– SPARQL queries– SERQL queries
Architecture
TopicSpacesFed Server
TopicSpacesFed Server
RemoteTriplestore
Internet Local Net
Installation Big Picture
• Remote Triplestore builds two databases– A Sesame Native database
• Automatic when the Sesame SDK Console is used– A Bigdata TopicSpaces database
• Must be created according to instructions– The Tomcat server is running– Sesame SDK Console is used to create the database
– Requires certain configuration files adjusted per following instructions which are explained at:
• http://sourceforge.net/apps/mediawiki/bigdata/index.php?title=Using_Bigdata_with_the_OpenRDF_Sesame_HTTP_Server
– Our instructions are simpler because most of the work is done already
Installation Steps
• Install RemoteTSServer at INSTALL_HOME somewhere on an off-line server
• Configure triplestore properties• Create a triplestore• Boot tomcat ready to serve• Configure TopicSpaces to use RemoteTSServer
Remote Server INSTALL_HOME
• bin: where Tomcat scripts are found
• conf: where all important configuration files are found
• sesame: used to create the triplestore
• templates: used in the triplestore creation phase
Configure Triplestore Properties• Locate and open for editing:
– INSTALL_HOME/conf/bigdata.properties
• Locate and edit this property:– com.bigdata.journal.AbstractJournal.file=
– That determines where your triplestore will sit on the hard disk (note ‘/’ instead of ‘\’)
• Locate and edit this property:– com.bigdata.rdf.store.AbstractTripleStore.quads=– It must be set to true
• Make a copy of the absolute address of that file, e.g.– c:/RemoteTSserver/conf/bigdata.properties– That will be used in the following steps when it is copied into a console
during creation of the triplestore
Create a Triplestore—1• Use INSTALL_HOME/sesame/openrdf-sesame-2.3.1/bin/console(bat/sh) to boot a console and create a base sesame database on the hard disk in the user’s home directory (different on different operating sytems)– <user_home>/<some directory structure>/Aduna/OpenRDF Sesame console
• Exit the console• Copy INSTALL_HOME/templates (the entire directory
and its content) to the Aduna console directory– That grants sesame a new template to use in the following
steps:• bigdata.ttl
Create a Triplestore—2
• Start Tomcat– INSTALL_HOME/bin/startup(bat/sh)
• Start the sesame console again– This begins the process of:• Connecting sesame to the running tomcat server• Creating a bigdata triplestore
– This relies on information related to the location of the configuration properties edited in a previous step
Create a Triplestore—3
• In the open console, complete these steps:– create bigdata. <enter>– <enter> to default the next step.– When properties are requested, enter the precise
location of the bigdata.properties file from an earlier step, then hit <enter>
– That’s it. The triplestore will be created there the first time it is requested.
• At this time, Tomcat is running and ready to converse with TopicSpaces
Configure TopicSpaces
• Those instructions are included in the TopicSpaces Installation document