Github user anujgandharv commented on the issue:
https://github.com/apache/jena/pull/226
Thanks @osma . I learned from you that: _It's always good to have Unit
Tests for the changes to make sure we are not missing any corner cases :)_
So just to clarify, if the Sparql query string is:
```
SELECT ?s
{ ?s text:query (rdfs:label 'word' 10) ;
rdfs:label ?label
}
```
then the query method will receive the following attributes:
`RDFS.label.asNode(), "word", null, null, 10`
And if the query string is: `?s text:query (rdfs:label 'word' 'lang:en' )`,
then the query method will receive the following attributes:
`RDFS.label.asNode(), "word", null, "en"`
And finally if the query string is: `?s text:query ('word' 'lang:en' )`,
then the query method will receive the following attributes:
`RDFS.label.asNode(), "word", null, "en"` , where the Node property is the
default Node defined at the configuration time.
Can you confirm all the scenarios above please. I will modify my test cases
and logic accordingly.
NOTE: I say NULL for graph attribute, mainly because I don't care about it
in the ES implementation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---