Skip to content

Commit

Permalink
Switch from FILTER NOT EXISTS to MINUS to avoid Jena 3.8+ performance…
Browse files Browse the repository at this point in the history
… issue. Fixes NatLibFi#829
  • Loading branch information
osma committed Dec 17, 2018
1 parent 0abb274 commit 00eabb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/sparql/GenericSparql.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ private function generateConceptInfoQuery($uris, $arrayClass, $vocabs) {
?x skos:prefLabel ?xl .
FILTER NOT EXISTS {
?x skos:member ?other .
FILTER NOT EXISTS { ?other skos:broader ?uri }
MINUS { ?other skos:broader ?uri }
}
}";
}
Expand Down

0 comments on commit 00eabb3

Please sign in to comment.