So, I used Apache's proxy module linking to two Virtuoso instances. These two are set up by just duplicating a data based folder and to have it use two virtuoso.ini config files. Modify one of two config files to have them run on a different port in the Parameters section, for example 1198 and 1199:
[Parameters] ServerPort = 1199And assign a different server ports in the HTTPServer section, such as 2290 and 2291:
[HTTPServer] ServerPort = 2291Then modify the /etc/apache2/mods-enabled/proxy.conf (or whatever equivalent on your system) to have two sections creating two URL rewrites proxying the request to the virtuoso server:
<Proxy /nmrshiftdb/sparql> RewriteEngine On Allow from all ProxyPass http://localhost:2290/sparql ProxyPassReverse http://localhost:2290/sparql </Proxy> <Proxy /cc0/sparql> RewriteEngine On Allow from all ProxyPass http://localhost:2291/sparql ProxyPassReverse http://localhost:2291/sparql </Proxy>