Hi,
I am trying to adapt the DBpedia plugin to work with graph groups in
http://live.nl.dbpedia.org
Right now I have the "http://nl.dbpedia.org" as a group graph that contains
the "http://live.nl.dbpedia.org" and "http://static.nl.dbpedia.org"
The problem is that the description page is rendered using SQL from
RDF_QUAD limiting to specific gragh [1], the "http://nl.dbpedia.org" which
does not exists in that table. resulting in empty html pages [2] but not
empty data pages [3].
Although I could adapt the queries for this case I would like to use the
same code for both static & live dbpedia's
Is it possible to generate a dynamic "IN" clause and depending on the
settings to fill it with 1 or more graphs?
I am not sure how to do this in VSP but I imagine it something like "...
AND G IN ( list of graphs)..." instead of G = _G
The second case would be to convert SQL to SPARQL but I am not sure on the
performance impact it would have
Best,
Dimitris
[1]
http://dbpedia.hg.sourceforge.net/hgweb/dbpedia/dbpedia_vad/file/e24f14cdfbf5/dbpedia/vsp/description.vsp#l272
[2] http://live.nl.dbpedia.org/page/Linux
[3]
http://live.nl.dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fnl.dbpedia.org&query=DESCRIBE+%3Chttp://nl.dbpedia.org/resource/Linux%3E&output=text/html
--
Dimitris Kontokostas
Department of Computer Science, University of Leipzig
Research Group: http://aksw.org
Homepage:http://aksw.org/DimitrisKontokostas
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users