Hello I used Filter query in Jena which will filter the query using a name in text area. In my dataset, the name is John Kim but I want if a user enter even John, it display the result. I use this query but it does not display.
select * WHERE { ?x mo:publishedBy ?y.?x mo:authorname ?name. ?x rdfs:label ?label .Filter regex(?name ,'John kim') . } the ?name is plain literal. The query works when I put the exact name in the text area but not working when I enter first name or last name.