LOD config
Ian Ibbotson edited this page Feb 11, 2015
·
6 revisions
apt-get install dpkg-dev build-essential autoconf automake bison build-essential checkinstall flex
apt-get install gawk gperf libiodbc2 libiodbc2-dev libssl-dev libtool python-dev
apt-get install odbcinst1debian2
apt-get install unixodbc
git clone https://github.com/openlink/virtuoso-opensource.git
cd virtuoso-opensource/
./autogen.sh
./configure --with-layout=debian
make
make install
cp debian/init.d /etc/init.d/virtuoso
chmod ugo+rx /etc/init.d/virtuoso
grant select on "DB.DBA.SPARQL_SINV_2" to “SPARQL”;
grant execute on "DB.DBA.SPARQL_SINV_IMP" to "SPARQL";
[See https://thoughtsasaservice.wordpress.com/2012/05/17/sparql-1-1-and-openlink-virtuoso-first-steps-with-federated-queries/]
SELECT ?p ?o
WHERE
{
SERVICE <http://DBpedia.org/sparql >
{ SELECT ?p ?o
WHERE { <http://dbpedia.org/resource/Saquarema > ?p ?o . }
}
}