Skip to content

Commit

Permalink
Optimize differently them and policy objective queries
Browse files Browse the repository at this point in the history
  • Loading branch information
D063520 committed Mar 2, 2024
1 parent 364c3ce commit 854b203
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ public String filterProject(
if (theme != null || policyObjective != null){
search += " ?s0 <https://linkedopendata.eu/prop/direct/P888> ?category. ";
if (theme != null) {
search += " ?category <https://linkedopendata.eu/prop/direct/P1848> ?t . FILTER ( ?t =<" + theme + "> ) . ";
search += " ?category <https://linkedopendata.eu/prop/direct/P1848> ?t . FILTER ( ?t = <" + theme + "> ) . ";
}
if (policyObjective != null) {
search += " ?category <https://linkedopendata.eu/prop/direct/P1849> ?p FILTER ( ?p <" + policyObjective + "> ) . ";
search += " ?category <https://linkedopendata.eu/prop/direct/P1849> ?p . FILTER ( ?p = <" + policyObjective + "> ) . ";
}
}

Expand Down

0 comments on commit 854b203

Please sign in to comment.