Skip to content

Commit

Permalink
Merge pull request #365 from TAMULib/issue-3767
Browse files Browse the repository at this point in the history
[Issue 3767] Replacement of language comparisons using '=' by the 'langMatches' (without whitespace changes)
  • Loading branch information
chenejac authored Feb 17, 2023
2 parents 48c88d3 + a1de03f commit 15cb4d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,9 @@ private static class FakeVivoPeopleDataGetter extends SparqlQueryDataGetter {
+ " ?uri obo:ARG_2000028 ?vIndividual . \n"
+ " ?vIndividual vcard:hasTitle ?vTitle . \n"
+ " ?vTitle vcard:title ?pt . \n"
+ " FILTER (lang(?pt) = '?langCtx' ) \n"
+ " FILTER (langMatches(lang(?pt), '?langCtx')) \n"
+ " } LIMIT 1";

private static final String FAKE_VIVO_PEOPLE_DATA_GETTER_URI = "http://FakeVivoPeopleDataGetter";

private static OntModel fakeDisplayModel = initializeFakeDisplayModel();
Expand Down

0 comments on commit 15cb4d7

Please sign in to comment.