removing superfluous graph filter from ObjectPropertyStatementDaoSDB
This commit is contained in:
parent
8581bed7ca
commit
4fdb34ae55
1 changed files with 0 additions and 2 deletions
|
@ -50,7 +50,6 @@ public class ObjectPropertyStatementDaoSDB extends
|
||||||
return entity;
|
return entity;
|
||||||
else {
|
else {
|
||||||
Map<String, ObjectProperty> uriToObjectProperty = new HashMap<String,ObjectProperty>();
|
Map<String, ObjectProperty> uriToObjectProperty = new HashMap<String,ObjectProperty>();
|
||||||
String[] graphVars = { "?g", "?h", "?i", "?j" };
|
|
||||||
String query = "CONSTRUCT { \n" +
|
String query = "CONSTRUCT { \n" +
|
||||||
" <" + entity.getURI() + "> ?p ?o . \n" +
|
" <" + entity.getURI() + "> ?p ?o . \n" +
|
||||||
// " ?o a ?oType . \n" +
|
// " ?o a ?oType . \n" +
|
||||||
|
@ -63,7 +62,6 @@ public class ObjectPropertyStatementDaoSDB extends
|
||||||
" ?o <" + RDFS.label.getURI() + "> ?oLabel } \n" +
|
" ?o <" + RDFS.label.getURI() + "> ?oLabel } \n" +
|
||||||
" UNION { <" + entity.getURI() + "> ?p ?o . \n " +
|
" UNION { <" + entity.getURI() + "> ?p ?o . \n " +
|
||||||
" ?o <" + VitroVocabulary.MONIKER + "> ?oMoniker } \n" +
|
" ?o <" + VitroVocabulary.MONIKER + "> ?oMoniker } \n" +
|
||||||
WebappDaoFactorySDB.getFilterBlock(graphVars, datasetMode) +
|
|
||||||
"}";
|
"}";
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
Model m = null;
|
Model m = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue