Skip to content

Instantly share code, notes, and snippets.

@dogrunjp
Last active January 7, 2018 04:32
Show Gist options
  • Save dogrunjp/7781cccf1e8b1fa1f341 to your computer and use it in GitHub Desktop.
Save dogrunjp/7781cccf1e8b1fa1f341 to your computer and use it in GitHub Desktop.
MacでVirtuosoを利用するための諸々。

MacでVirtuoso TIPS

起動

$ cd /usr/local/virtuoso-opensource/var/lib/virtuoso/db

$ sudo /usr/local/virtuoso-opensource/bin/virtuoso-t -f &

これで起動しない時は

fg

画面

http://localhost:8890/conductor/main_tabs.vspx

デフォルトのID:Passはdba:dba。

RDFをファイルでアップロード

メニュー[Linked Data] > [Quad Store Upload] > [File]

SPARQL

ver.7.10では

メニュー[Linked Data] > [SPARQL]

停止

isqlを起動してからshutdownコマンドを打つ。

$ /usr/local/virtuoso-opensource/bin/isql 1111 dba dba

isqlを起動するとプロンプトが表示される。

Connected to OpenLink Virtuoso
Driver: 07.10.3207 OpenLink Virtuoso ODBC Driver
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> 

SQL> shutdown();

virtuosoを起動していた方のターミナルは

21:07:55 Server shutdown complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment