my question is about how to manage stemmed words in SPARQL queries. For instance:
- string inserted by user: bbbx
- stemmed word: bbb
- word to retrieve in my graph: bbby
This could by pretty easy.
Second example, both words should be fetched, not one OR other
- string inserted by user: bbbx cccn
- stemmed word: bbb ccc
- words to retrieve in my graph: bbby ccct
Third and most tricky, where words describing the nodes aren't at the first beginning of descriptors
- string inserted by user: bbbx dddz
- stemmed word: bbb ddd
- word in my graph that contains the corresponding words: aaaw bbbt cccq dddr
consider that I couldn't use particular API because I have to perform queries only by submitting SPARQL query via PHP on a shared hosting, querying public repositories like DbPedia and so on.
Thanks in advance for help