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 " +
|
||||
"{ GRAPH ?g { \n" +
|
||||
" ?ind a <" + theClass.getURI() + "> \n" +
|
||||
"OPTIONAL { ?ind <" + RDFS.label.getURI() + "> ?ooo } \n" +
|
||||
"OPTIONAL { ?ind <" + VitroVocabulary.MONIKER + "> ?moniker } \n" +
|
||||
"} \n" +
|
||||
"OPTIONAL { GRAPH ?h { ?ind <" + RDFS.label.getURI() + "> ?ooo } }\n" +
|
||||
"OPTIONAL { GRAPH ?i { ?ind <" + VitroVocabulary.MONIKER + "> ?moniker } } \n" +
|
||||
"}";
|
||||
model = QueryExecutionFactory.create(QueryFactory.create(query), dataset).execConstruct();
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Reference in a new issue