Merge pull request #365 from TAMULib/issue-3767

[Issue 3767] Replacement of language comparisons using '=' by the 'langMatches' (without whitespace changes)
This commit is contained in:
Dragan Ivanovic 2023-02-17 14:01:45 +01:00 committed by GitHub
commit 15cb4d7467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,8 +463,9 @@ public class FakeApplicationOntologyService {
+ " ?uri obo:ARG_2000028 ?vIndividual . \n" + " ?uri obo:ARG_2000028 ?vIndividual . \n"
+ " ?vIndividual vcard:hasTitle ?vTitle . \n" + " ?vIndividual vcard:hasTitle ?vTitle . \n"
+ " ?vTitle vcard:title ?pt . \n" + " ?vTitle vcard:title ?pt . \n"
+ " FILTER (lang(?pt) = '?langCtx' ) \n" + " FILTER (langMatches(lang(?pt), '?langCtx')) \n"
+ " } LIMIT 1"; + " } LIMIT 1";
private static final String FAKE_VIVO_PEOPLE_DATA_GETTER_URI = "http://FakeVivoPeopleDataGetter"; private static final String FAKE_VIVO_PEOPLE_DATA_GETTER_URI = "http://FakeVivoPeopleDataGetter";
private static OntModel fakeDisplayModel = initializeFakeDisplayModel(); private static OntModel fakeDisplayModel = initializeFakeDisplayModel();