I have set up the working enviornment, and havd run the following command in cygwin:

$ cd e:/info/sdb

$ export SDBROOT="E:/Info/sdb" $ export SDB_USER="root"

$ export SDB_PASSWORD="glaserwu"

$ export SDB_JDBC="E:/Info/sdb/mysql-5.1.7.jar"

$ sdbconfig --sdb=sdb.ttl --create

cygwin warning: MS-DOS style path detected: E:/Info/sdb/bin/sdb_init Preferred POSIX equivalent is: /cygdrive/e/Info/sdb/bin/sdb_init CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

$ sdbtruncate --sdb=sdb.ttl --confirm

$ sdbload --sdb=sdb.ttl owl-export-unversioned.owl

I am now in the process of writing my owl file into MySQL database.(I think it may take me a day to finish it)

What should I do after this step is finished in order to query in java(I think I have prepared the .java programme to execute the query)? Is it correct to run

$ sdbconfig --sdb=sdb.ttl --create

in the next step?

Thanks for any help

asked 22 Feb '13, 09:58

glaserwu's gravatar image

glaserwu
52
accept rate: 0%


After loading the data either:

sdbquery

to run a query from the command line, or use a java program and the regular SPARQL API on a dataset from SDBFactory.

permanent link

answered 22 Feb '13, 13:01

AndyS's gravatar image

AndyS ♦
13.4k37
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×19

question asked: 22 Feb '13, 09:58

question was seen: 581 times

last updated: 22 Feb '13, 13:01