There is nothing obviously wrong with your configuration. You still haven’t shown the code that you are using with this configuration to make your query.
My guess would be that perhaps your code is loading in the base dataset without the indexing support i.e. you may be querying the base dataset rather than the text dataset, but without having seen your code that’s only a guess. Rob From: Alysson Gomes <alyssonas...@gmail.com> Reply-To: <users@jena.apache.org> Date: Wednesday, 18 July 2018 at 14:55 To: <users@jena.apache.org> Subject: Re: Question about indexing in text search Hi Rob! I attached the file with the code of the text index (file index.ttl) but to facility it, follow the image: I'm using the same queries of the previous mail. Case has something wrong, please indicate it some solution. Em qua, 18 de jul de 2018 às 10:12, Rob Vesse <rve...@dotnetrdf.org> escreveu: This is a misunderstanding, not a bug. Property functions use the SPARQL collection syntax i.e. ( <http://dbpedia.org/property/first> “David”) to pass arguments to the function which is given as the predicate, in this case text:query. The rdf:first/rdf:rest you see in the logs is simply the expansion of that into triple patterns which later gets extracted out into the actual property function call. The fact that those happen to be similar to the property you’re are trying to search on is purely coincidental. If your query is not working as expected then the actual problem is elsewhere, likely in the configuration of your text index. So you would need to share that configuration and show how you actually execute your query if you want further help with this. Regards, Rob From: Alysson Gomes <alyssonas...@gmail.com> Reply-To: <users@jena.apache.org> Date: Wednesday, 18 July 2018 at 13:42 To: "users@jena.apache.org" <users@jena.apache.org> Subject: Question about indexing in text search Hello, my name is Alysson, I am a master's student in the Pontifical Catholic University of Rio de Janeiro and am having problems with the indexing in text search. In the attach 1 contains the assembler that I'm using for to index the triples that contain the predicate <http://dbpedia.org/property/first>. My goal is to reproduce the query [1] using an index, but the problem is that when I execute the query [2] the URI used by the query processor is different of the URI that I am using in the predicate, as show image below: Error! Filename not specified. As show in the image above, the query processor uses the URI <http://www.w3.org/1999/02/22-rdf-syntax-ns> generating a result incorrect. I want to know if it is possible to change this or if I am doing some wrong. Since I thank you for the help. [1]: Query SELECT ?s ?o WHERE { ?s <http://dbpedia.org/property/first> ?o filter regex(?o, "David", "i") } [2]: Query PREFIX text: <http://jena.apache.org/text#> SELECT ?s ?o WHERE { ?s text:query( <http://dbpedia.org/property/first> "David") ; <http://dbpedia.org/property/first> ?o }