fixes some graph variables in DAO SPARQL queries
This commit is contained in:
parent
1f6d19fece
commit
0740e57749
1 changed files with 3 additions and 3 deletions
|
@ -101,9 +101,9 @@ public class IndividualDaoSDB extends IndividualDaoJena {
|
||||||
"} WHERE " +
|
"} WHERE " +
|
||||||
"{ GRAPH ?g { \n" +
|
"{ GRAPH ?g { \n" +
|
||||||
" ?ind a <" + theClass.getURI() + "> \n" +
|
" ?ind a <" + theClass.getURI() + "> \n" +
|
||||||
"OPTIONAL { ?ind <" + RDFS.label.getURI() + "> ?ooo } \n" +
|
"} \n" +
|
||||||
"OPTIONAL { ?ind <" + VitroVocabulary.MONIKER + "> ?moniker } \n" +
|
"OPTIONAL { GRAPH ?h { ?ind <" + RDFS.label.getURI() + "> ?ooo } }\n" +
|
||||||
"} \n" +
|
"OPTIONAL { GRAPH ?i { ?ind <" + VitroVocabulary.MONIKER + "> ?moniker } } \n" +
|
||||||
"}";
|
"}";
|
||||||
model = QueryExecutionFactory.create(QueryFactory.create(query), dataset).execConstruct();
|
model = QueryExecutionFactory.create(QueryFactory.create(query), dataset).execConstruct();
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Reference in a new issue