NIHVIVO-1779 correct VClass counts with SDB
This commit is contained in:
parent
f33d47a8e4
commit
812e4346c7
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class VClassDaoSDB extends VClassDaoJena {
|
||||||
int count = 0;
|
int count = 0;
|
||||||
try {
|
try {
|
||||||
String[] graphVars = { "?g" };
|
String[] graphVars = { "?g" };
|
||||||
String countQueryStr = "SELECT COUNT(*) WHERE \n" +
|
String countQueryStr = "SELECT COUNT(DISTINCT ?s) WHERE \n" +
|
||||||
"{ GRAPH ?g { ?s a <" + cls.getURI() + "> } \n" +
|
"{ GRAPH ?g { ?s a <" + cls.getURI() + "> } \n" +
|
||||||
WebappDaoFactorySDB.getFilterBlock(graphVars, datasetMode) +
|
WebappDaoFactorySDB.getFilterBlock(graphVars, datasetMode) +
|
||||||
"} \n";
|
"} \n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue