From: <tr...@do...> - 2014-02-20 12:29:28
|
<p>The following issue has been added to a project that you are monitoring.</p> <table border="0"> <tr> <td width="90px" valign="top"><b>Title:</b></td> <td>Literal with uppercase sub language tag can not be matched properly.</td> </tr> <tr> <td><b>Project:</b></td> <td>Core Library (dotNetRDF.dll)</td> </tr> <tr> <td><b>Created By:</b></td> <td>i_liang_chen</td> </tr> <tr> <td><b>Milestone:</b></td> <td>Unassigned</td> </tr> <tr> <td><b>Category:</b></td> <td>Core API</td> </tr> <tr> <td><b>Priority:</b></td> <td>High</td> </tr> <tr> <td><b>Type:</b></td> <td>Bug</td> </tr> <tr> <td><b>Description:</b></td> </tr> <tr> <td colspan="2"><p> When using TripleStroe.LoadFromFile to import triples file, if it contains literal with uppercase sub language tag, a query cannot match the literal.</p> <p> The following case gets empty result.</p> <p> File:</p> <p> _:a <urn:p> <a href="mailto:"test"@en-US">"test"@en-US</a>.</p> <p> Sparql:</p> <p> select * where { ?s ?p <a href="mailto:"test"@en-US">"test"@en-US</a>. }</p> <p> or</p> <p> select * where { ?s ?p <a href="mailto:"test"@en-us">"test"@en-us</a>. }</p> <p> or</p> <p> select * where { ?s ?p ?o. filter (str(?o)="test"&&lang(?o)="en-us") }</p> <p> but following query can work properly.</p> <p> select * where { ?s ?p ?o. filter (str(?o)="test"&&lang(?o)="en-US") }</p> <p> </p> <p> If the triples are inserted by sparql update, the above queries can work properly.</p> <p> I guess the sparql engine normalizes the language tag to lowercase but imports way does not.</p></td> </tr> </table> <p> More information on this issue can be found at <a href="http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=401" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=401</a></p> <p style="text-align:center;font-size:8pt;padding:5px;"> If you no longer wish to receive notifications, please visit <a href="http://www.dotnetrdf.org/tracker/Account/UserProfile.aspx" target="_blank">your profile</a> and change your notifications options. </p> |