SlideShare a Scribd company logo
1 of 14
Download to read offline
Making the most of
Virtuoso Opensource
Tutorial @ ICBO 2013
Tutorial roadmap
Triplestores are Database Management
System for data modeled in RDF
● Optimized for triples, queryable via the
SPARQL query language
● There are three types of TripleStores:
○ Native
Persistent storage systems with their own
implementation of databases. Eg: Virtuoso
○ In Memory
RDF Graph is stored as triples in RAM Eg: Jena
○ Non-native non-memory:
Persistent storage systems setup to run on third
party DBMS Eg. Jena SDB
Managing a VOS installation for
Bio2RDF
● Each Bio2RDF dataset is loaded into a
Virtuoso Triplestore and available at its own
SPARQL endpoint
● We have developed a PHP manager script
for creating and configuring Virtuoso
installations that is publicly available at: https:
//github.com/micheldumontier/php-lib/blob/master/apps/manager.php
● Allows you to create, start, stop and change
memory requirements of multiple VOS
instances
○ manager.php is available for download here
● Requires: a tab-delimited file listing the
desired instance names and the HTTP/ISQL
ports they use
Use manager.php to configure
multiple VOS instances
● Script options
○ create : creates a virtuoso instance binary for the
specified instance name and starts it
○ start : stops, then starts the corresponding instance
of VOS
○ stop : stops the specified instance
○ refresh : creates a fresh copy of the instance's
virtuoso.ini file with default values
○ apacheconfig : create an Apache VirtualHost file
○ GB of memory to use : specifies the amount of
RAM that an instance can use in GB
manager.php cli options
Set up manager.php
● Set the location of local virtuoso installation
○ $virtuoso_dir = '/usr/local/virtuoso-opensource';
● Set the location of your base directory
○ $base_dir = '/media/320/bio2rdf/manager';
● Set the sub-directory where the virtuoso
instances will live
○ $instance_dir = $base_dir.'/virtuoso';
● Set the location of the instances.tab file
○ $instance_file = $base_dir.'/instances.tab';
make sure you have appropriate permissions to create
target directories
Live demo -> Using manager.php
Load Bio2RDF data into your VOS
endpoint
● Loading data into a VOS endpoint can be
done using web interface (Conductor) or
ISQL:
○ http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtBulkRDFLoader
● You can also use the Bio2RDF loader script
to load RDF into an endpoint
○ uses a tab-delimited instances file to specify VOS
instance to load into
○ can load single files or recursively load files inside a
given directory
○ will record loading errors/incorrectly formatted RDF
○ will re-try a certain number of times to reload data on
error
loader.php cli options
● Script options
○ file: file to load
○ dir: directory of files to load
○ graph: name of graph to load into
○ instance: instance name from tab-delimited
○ port: ISQL port of VOS instance
○ user: username for VOS instance (default: dba)
○ pass: password for VOS instance (default: dba)
Using loader.php
● Script options cont'd:
○ threads: number of threads to use when loading
○ updatefacet: update VOS faceted browser
(true|false)
○ deletegraph: delete graph before loading
(true|false)
○ deleteonly: delete graph without loading (true|false)
○ setns: set namespaces for faceted browser
○ setpassword: set password for VOS conductor
○ format: format of RDF being loaded (default: N3)
○ ignoreerror: ignore RDF format errors (true|false)
Using loader.php with Bio2RDF
DrugBank data
● Live demo -> load Drugbank into your newly
installed VOS instance
How to install Virtuoso Opensource
1. Download VOS 6.1.6 binary from here
available via github: https://github.
com/openlink/virtuoso-opensource
2. Verify that you have installed these
packages
3. Uncompress the VOS binary, cd into that
directory and run:
○ ./autotogen.sh (to prepare for building)
○ Set the appropriate compiler flags
○ ./configure ( > 20 minutes)
4. Install VOS by running:
○ sudo make install
■ install location: /usr/local/virtuoso-opensource
How to build OpenLink Virtuoso
OS: Ubuntu
Reference: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSMake#Requirements
VOS Post-installation setup
1. Go to your installation directory and copy
○ var/lib/virtuoso/db/virtuoso.ini to bin/virtuoso.ini
2. Allow virtuoso to read other (or all) directories in your
filesystem
○ Edit virtuoso.ini and add '/' at the end of DirsAllowed
■ see example here
3. Start your virtuoso instance by running:
○ sudo ./virtuoso-t -f & (run from /usr/local/virtuoso-opensource/bin)
○ visit http://localhost:8890/conductor and login with default credentials:
user:dba, pass:dba
4. Install Faceted Browser
○ Go to System Admin -> Packages, select the fct package and click on
Install/Upgrade -> proceed
○ Verify that http://localhost:8890/fct responds
Reference: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main#How Do I...

More Related Content

What's hot

Development of the irods rados plugin @ iRODS User group meeting 2014
Development of the irods rados plugin @ iRODS User group meeting 2014Development of the irods rados plugin @ iRODS User group meeting 2014
Development of the irods rados plugin @ iRODS User group meeting 2014mgrawinkel
 
Distributed Data Processing Workshop - SBU
Distributed Data Processing Workshop - SBUDistributed Data Processing Workshop - SBU
Distributed Data Processing Workshop - SBUAmir Sedighi
 
Mysql cluster
Mysql clusterMysql cluster
Mysql clusterJS Lee
 
Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境Yuriko IKEDA
 
PFcache (Linuxcon, Seattle, 2015)
PFcache (Linuxcon, Seattle, 2015)PFcache (Linuxcon, Seattle, 2015)
PFcache (Linuxcon, Seattle, 2015)Pavel Emelyanov
 
Denser containers with PF cache - Pavel Emelyanov
Denser containers with PF cache - Pavel EmelyanovDenser containers with PF cache - Pavel Emelyanov
Denser containers with PF cache - Pavel EmelyanovOpenVZ
 
PFcache - LinuxCon 2015
PFcache - LinuxCon 2015PFcache - LinuxCon 2015
PFcache - LinuxCon 2015OpenVZ
 
Tech talk Introduction to containers
Tech talk Introduction to containersTech talk Introduction to containers
Tech talk Introduction to containersViliamPucik
 
Drupal Coding Standards - do and don't
Drupal Coding Standards - do and don'tDrupal Coding Standards - do and don't
Drupal Coding Standards - do and don'tArunkumar Kupppuswamy
 
Mongo db cluster administration and Shredded Databases
Mongo db cluster administration and Shredded DatabasesMongo db cluster administration and Shredded Databases
Mongo db cluster administration and Shredded DatabasesAbhinav Jha
 
GlusterFS Talk for CentOS Dojo Bangalore
GlusterFS Talk for CentOS Dojo BangaloreGlusterFS Talk for CentOS Dojo Bangalore
GlusterFS Talk for CentOS Dojo BangaloreRaghavendra Talur
 
Node js Lunch and learn: Session 2
Node js Lunch and learn: Session 2Node js Lunch and learn: Session 2
Node js Lunch and learn: Session 2Abhinav Dhasmana
 

What's hot (17)

Development of the irods rados plugin @ iRODS User group meeting 2014
Development of the irods rados plugin @ iRODS User group meeting 2014Development of the irods rados plugin @ iRODS User group meeting 2014
Development of the irods rados plugin @ iRODS User group meeting 2014
 
Distributed Data Processing Workshop - SBU
Distributed Data Processing Workshop - SBUDistributed Data Processing Workshop - SBU
Distributed Data Processing Workshop - SBU
 
curl --http3 cheatsheet
curl --http3 cheatsheetcurl --http3 cheatsheet
curl --http3 cheatsheet
 
Containers from scratch
Containers from scratchContainers from scratch
Containers from scratch
 
MongoDB Shard Cluster
MongoDB Shard ClusterMongoDB Shard Cluster
MongoDB Shard Cluster
 
How do i Meet MongoDB
How do i Meet MongoDBHow do i Meet MongoDB
How do i Meet MongoDB
 
Mysql cluster
Mysql clusterMysql cluster
Mysql cluster
 
Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境Mac OS X Lion で作る WordPress local 環境
Mac OS X Lion で作る WordPress local 環境
 
PFcache (Linuxcon, Seattle, 2015)
PFcache (Linuxcon, Seattle, 2015)PFcache (Linuxcon, Seattle, 2015)
PFcache (Linuxcon, Seattle, 2015)
 
Denser containers with PF cache - Pavel Emelyanov
Denser containers with PF cache - Pavel EmelyanovDenser containers with PF cache - Pavel Emelyanov
Denser containers with PF cache - Pavel Emelyanov
 
PFcache - LinuxCon 2015
PFcache - LinuxCon 2015PFcache - LinuxCon 2015
PFcache - LinuxCon 2015
 
Tech talk Introduction to containers
Tech talk Introduction to containersTech talk Introduction to containers
Tech talk Introduction to containers
 
Drupal Coding Standards - do and don't
Drupal Coding Standards - do and don'tDrupal Coding Standards - do and don't
Drupal Coding Standards - do and don't
 
Mongo db cluster administration and Shredded Databases
Mongo db cluster administration and Shredded DatabasesMongo db cluster administration and Shredded Databases
Mongo db cluster administration and Shredded Databases
 
GlusterFS Talk for CentOS Dojo Bangalore
GlusterFS Talk for CentOS Dojo BangaloreGlusterFS Talk for CentOS Dojo Bangalore
GlusterFS Talk for CentOS Dojo Bangalore
 
Node js Lunch and learn: Session 2
Node js Lunch and learn: Session 2Node js Lunch and learn: Session 2
Node js Lunch and learn: Session 2
 
Read me
Read meRead me
Read me
 

Viewers also liked

Build, host and manage your custom API in less than an hour
Build, host and manage your custom API in less than an hourBuild, host and manage your custom API in less than an hour
Build, host and manage your custom API in less than an hourJerome Louvel
 
Email Delivery Support
Email Delivery SupportEmail Delivery Support
Email Delivery Supportrobbie2629
 
LWB486 Week 6 Copyright
LWB486 Week 6 CopyrightLWB486 Week 6 Copyright
LWB486 Week 6 CopyrightPeter Black
 
Social media in a public library
Social media in a public librarySocial media in a public library
Social media in a public librarySue Lawson
 
API Strategy & Practice - API Discovery, Hubs and IDEs
API Strategy & Practice - API Discovery, Hubs and IDEsAPI Strategy & Practice - API Discovery, Hubs and IDEs
API Strategy & Practice - API Discovery, Hubs and IDEsJerome Louvel
 
Pesan dan Bekal Liburan Semester Untuk Santri
Pesan dan Bekal Liburan Semester Untuk SantriPesan dan Bekal Liburan Semester Untuk Santri
Pesan dan Bekal Liburan Semester Untuk SantriMuhammad Jamhuri
 
Info literacy and social media in a public library
Info literacy and social media in a public libraryInfo literacy and social media in a public library
Info literacy and social media in a public librarySue Lawson
 
Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarAbram John Limpin
 
System analysis to Cellular Respiration
System analysis to Cellular RespirationSystem analysis to Cellular Respiration
System analysis to Cellular Respirationjschmied
 
APIdays 2015 - The State of Web API Languages
APIdays 2015 - The State of Web API LanguagesAPIdays 2015 - The State of Web API Languages
APIdays 2015 - The State of Web API LanguagesJerome Louvel
 
ข้อมูลพรรณไม้
ข้อมูลพรรณไม้ข้อมูลพรรณไม้
ข้อมูลพรรณไม้pukesasin
 
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIsJerome Louvel
 

Viewers also liked (20)

Build, host and manage your custom API in less than an hour
Build, host and manage your custom API in less than an hourBuild, host and manage your custom API in less than an hour
Build, host and manage your custom API in less than an hour
 
Email Delivery Support
Email Delivery SupportEmail Delivery Support
Email Delivery Support
 
LWB486 Week 6 Copyright
LWB486 Week 6 CopyrightLWB486 Week 6 Copyright
LWB486 Week 6 Copyright
 
Social media in a public library
Social media in a public librarySocial media in a public library
Social media in a public library
 
API Strategy & Practice - API Discovery, Hubs and IDEs
API Strategy & Practice - API Discovery, Hubs and IDEsAPI Strategy & Practice - API Discovery, Hubs and IDEs
API Strategy & Practice - API Discovery, Hubs and IDEs
 
Pesan dan Bekal Liburan Semester Untuk Santri
Pesan dan Bekal Liburan Semester Untuk SantriPesan dan Bekal Liburan Semester Untuk Santri
Pesan dan Bekal Liburan Semester Untuk Santri
 
Docker wjax2014
Docker wjax2014Docker wjax2014
Docker wjax2014
 
Everest 2003 North Face Rescue
Everest 2003 North Face RescueEverest 2003 North Face Rescue
Everest 2003 North Face Rescue
 
Info literacy and social media in a public library
Info literacy and social media in a public libraryInfo literacy and social media in a public library
Info literacy and social media in a public library
 
Chardi Kala
Chardi KalaChardi Kala
Chardi Kala
 
Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight Seminar
 
Nilai nilai Aqidah
Nilai nilai AqidahNilai nilai Aqidah
Nilai nilai Aqidah
 
RIM Conference
RIM ConferenceRIM Conference
RIM Conference
 
Smallbizdaily 2016 Hot Slides
Smallbizdaily 2016 Hot SlidesSmallbizdaily 2016 Hot Slides
Smallbizdaily 2016 Hot Slides
 
System analysis to Cellular Respiration
System analysis to Cellular RespirationSystem analysis to Cellular Respiration
System analysis to Cellular Respiration
 
Simplethings
SimplethingsSimplethings
Simplethings
 
APIdays 2015 - The State of Web API Languages
APIdays 2015 - The State of Web API LanguagesAPIdays 2015 - The State of Web API Languages
APIdays 2015 - The State of Web API Languages
 
ข้อมูลพรรณไม้
ข้อมูลพรรณไม้ข้อมูลพรรณไม้
ข้อมูลพรรณไม้
 
Clutrain Ppt
Clutrain PptClutrain Ppt
Clutrain Ppt
 
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs
20140527 - APIcon SF - Workshop #2 - Document and manage Java-based web APIs
 

Similar to Bio2RDF - Make the most of Virtuoso Open Source

Magento Docker Setup.pdf
Magento Docker Setup.pdfMagento Docker Setup.pdf
Magento Docker Setup.pdfAbid Malik
 
Crikeycon 2019 Velociraptor Workshop
Crikeycon 2019 Velociraptor WorkshopCrikeycon 2019 Velociraptor Workshop
Crikeycon 2019 Velociraptor WorkshopVelocidex Enterprises
 
CloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineCloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineNick Anderson
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 
PHP development with Docker
PHP development with DockerPHP development with Docker
PHP development with DockerYosh de Vos
 
Doctrine Project
Doctrine ProjectDoctrine Project
Doctrine ProjectDaniel Lima
 
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceQuick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceCloudian
 
Velero search & practice 20210609
Velero search & practice 20210609Velero search & practice 20210609
Velero search & practice 20210609KAI CHU CHUNG
 
Itb2018 cf apps to dev to production with command box cf-config docker
Itb2018   cf apps to dev to production with command box cf-config dockerItb2018   cf apps to dev to production with command box cf-config docker
Itb2018 cf apps to dev to production with command box cf-config dockerOrtus Solutions, Corp
 
Vagrant - Team Development made easy
Vagrant - Team Development made easyVagrant - Team Development made easy
Vagrant - Team Development made easyMarco Silva
 
Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...sreeharsha43
 
Into The Box 2018 | Content box + docker
Into The Box 2018 | Content box + dockerInto The Box 2018 | Content box + docker
Into The Box 2018 | Content box + dockerOrtus Solutions, Corp
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...OpenShift Origin
 
ITB2019 Scaling with CommandBox in Production! - Brad Wood
ITB2019 Scaling with CommandBox in Production! - Brad WoodITB2019 Scaling with CommandBox in Production! - Brad Wood
ITB2019 Scaling with CommandBox in Production! - Brad WoodOrtus Solutions, Corp
 
Custom Buildpacks and Data Services
Custom Buildpacks and Data ServicesCustom Buildpacks and Data Services
Custom Buildpacks and Data ServicesTom Kranz
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registryVipin Mandale
 
Caching with Varnish
Caching with VarnishCaching with Varnish
Caching with Varnishschoefmax
 
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...Cloudian
 

Similar to Bio2RDF - Make the most of Virtuoso Open Source (20)

Magento Docker Setup.pdf
Magento Docker Setup.pdfMagento Docker Setup.pdf
Magento Docker Setup.pdf
 
Crikeycon 2019 Velociraptor Workshop
Crikeycon 2019 Velociraptor WorkshopCrikeycon 2019 Velociraptor Workshop
Crikeycon 2019 Velociraptor Workshop
 
CloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngineCloudOpen North America 2013: Vagrant & CFEngine
CloudOpen North America 2013: Vagrant & CFEngine
 
Scaling PHP apps
Scaling PHP appsScaling PHP apps
Scaling PHP apps
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
PHP development with Docker
PHP development with DockerPHP development with Docker
PHP development with Docker
 
Doctrine Project
Doctrine ProjectDoctrine Project
Doctrine Project
 
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceQuick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
 
Velero search & practice 20210609
Velero search & practice 20210609Velero search & practice 20210609
Velero search & practice 20210609
 
Itb2018 cf apps to dev to production with command box cf-config docker
Itb2018   cf apps to dev to production with command box cf-config dockerItb2018   cf apps to dev to production with command box cf-config docker
Itb2018 cf apps to dev to production with command box cf-config docker
 
Vagrant - Team Development made easy
Vagrant - Team Development made easyVagrant - Team Development made easy
Vagrant - Team Development made easy
 
Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...Medooze MCU Video Multiconference Server Installation and configuration guide...
Medooze MCU Video Multiconference Server Installation and configuration guide...
 
Into The Box 2018 | Content box + docker
Into The Box 2018 | Content box + dockerInto The Box 2018 | Content box + docker
Into The Box 2018 | Content box + docker
 
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
Extending OpenShift Origin: Build Your Own Cartridge with Bill DeCoste of Red...
 
PHP selber bauen
PHP selber bauenPHP selber bauen
PHP selber bauen
 
ITB2019 Scaling with CommandBox in Production! - Brad Wood
ITB2019 Scaling with CommandBox in Production! - Brad WoodITB2019 Scaling with CommandBox in Production! - Brad Wood
ITB2019 Scaling with CommandBox in Production! - Brad Wood
 
Custom Buildpacks and Data Services
Custom Buildpacks and Data ServicesCustom Buildpacks and Data Services
Custom Buildpacks and Data Services
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registry
 
Caching with Varnish
Caching with VarnishCaching with Varnish
Caching with Varnish
 
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...
How to become cloud backup provider with Cloudian HyperStore and CloudBerry L...
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 

Bio2RDF - Make the most of Virtuoso Open Source

  • 1. Making the most of Virtuoso Opensource Tutorial @ ICBO 2013
  • 3. Triplestores are Database Management System for data modeled in RDF ● Optimized for triples, queryable via the SPARQL query language ● There are three types of TripleStores: ○ Native Persistent storage systems with their own implementation of databases. Eg: Virtuoso ○ In Memory RDF Graph is stored as triples in RAM Eg: Jena ○ Non-native non-memory: Persistent storage systems setup to run on third party DBMS Eg. Jena SDB
  • 4. Managing a VOS installation for Bio2RDF ● Each Bio2RDF dataset is loaded into a Virtuoso Triplestore and available at its own SPARQL endpoint ● We have developed a PHP manager script for creating and configuring Virtuoso installations that is publicly available at: https: //github.com/micheldumontier/php-lib/blob/master/apps/manager.php
  • 5. ● Allows you to create, start, stop and change memory requirements of multiple VOS instances ○ manager.php is available for download here ● Requires: a tab-delimited file listing the desired instance names and the HTTP/ISQL ports they use Use manager.php to configure multiple VOS instances
  • 6. ● Script options ○ create : creates a virtuoso instance binary for the specified instance name and starts it ○ start : stops, then starts the corresponding instance of VOS ○ stop : stops the specified instance ○ refresh : creates a fresh copy of the instance's virtuoso.ini file with default values ○ apacheconfig : create an Apache VirtualHost file ○ GB of memory to use : specifies the amount of RAM that an instance can use in GB manager.php cli options
  • 7. Set up manager.php ● Set the location of local virtuoso installation ○ $virtuoso_dir = '/usr/local/virtuoso-opensource'; ● Set the location of your base directory ○ $base_dir = '/media/320/bio2rdf/manager'; ● Set the sub-directory where the virtuoso instances will live ○ $instance_dir = $base_dir.'/virtuoso'; ● Set the location of the instances.tab file ○ $instance_file = $base_dir.'/instances.tab'; make sure you have appropriate permissions to create target directories Live demo -> Using manager.php
  • 8. Load Bio2RDF data into your VOS endpoint ● Loading data into a VOS endpoint can be done using web interface (Conductor) or ISQL: ○ http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtBulkRDFLoader ● You can also use the Bio2RDF loader script to load RDF into an endpoint ○ uses a tab-delimited instances file to specify VOS instance to load into ○ can load single files or recursively load files inside a given directory ○ will record loading errors/incorrectly formatted RDF ○ will re-try a certain number of times to reload data on error
  • 9. loader.php cli options ● Script options ○ file: file to load ○ dir: directory of files to load ○ graph: name of graph to load into ○ instance: instance name from tab-delimited ○ port: ISQL port of VOS instance ○ user: username for VOS instance (default: dba) ○ pass: password for VOS instance (default: dba)
  • 10. Using loader.php ● Script options cont'd: ○ threads: number of threads to use when loading ○ updatefacet: update VOS faceted browser (true|false) ○ deletegraph: delete graph before loading (true|false) ○ deleteonly: delete graph without loading (true|false) ○ setns: set namespaces for faceted browser ○ setpassword: set password for VOS conductor ○ format: format of RDF being loaded (default: N3) ○ ignoreerror: ignore RDF format errors (true|false)
  • 11. Using loader.php with Bio2RDF DrugBank data ● Live demo -> load Drugbank into your newly installed VOS instance
  • 12. How to install Virtuoso Opensource
  • 13. 1. Download VOS 6.1.6 binary from here available via github: https://github. com/openlink/virtuoso-opensource 2. Verify that you have installed these packages 3. Uncompress the VOS binary, cd into that directory and run: ○ ./autotogen.sh (to prepare for building) ○ Set the appropriate compiler flags ○ ./configure ( > 20 minutes) 4. Install VOS by running: ○ sudo make install ■ install location: /usr/local/virtuoso-opensource How to build OpenLink Virtuoso OS: Ubuntu Reference: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSMake#Requirements
  • 14. VOS Post-installation setup 1. Go to your installation directory and copy ○ var/lib/virtuoso/db/virtuoso.ini to bin/virtuoso.ini 2. Allow virtuoso to read other (or all) directories in your filesystem ○ Edit virtuoso.ini and add '/' at the end of DirsAllowed ■ see example here 3. Start your virtuoso instance by running: ○ sudo ./virtuoso-t -f & (run from /usr/local/virtuoso-opensource/bin) ○ visit http://localhost:8890/conductor and login with default credentials: user:dba, pass:dba 4. Install Faceted Browser ○ Go to System Admin -> Packages, select the fct package and click on Install/Upgrade -> proceed ○ Verify that http://localhost:8890/fct responds Reference: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main#How Do I...