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

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 

Recently uploaded (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

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...