Author: nitsche
Description:
SMW1.0 on MW1.12alpha
Steps to reproduce:
- Create an n-ary attribute that uses type:text (http://ontoworld.org/wiki/Property:TestNary)
Type:String, Number, Text
- Make some annotations of this property (http://ontoworld.org/wiki/NaryTest)
[[TestNary:=Hello world;42;Some more text]]
- Create a query asking for an exact text value, for example:
<ask>[[TestNary:=?;?;Some more text]][[TestNary:=*]]</ask> (http://ontoworld.org/wiki/NaryQueryTest)
Result:
A SQL error appears, stating:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "SMW::getQueryResult". MySQL returned error "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) ORDER BY page.page_title ASC LIMIT 51' at line 1 (localhost)".
Expected Result:
The query should deliver all pages with "Some more text" annotated in third position of this property.
Version: unspecified
Severity: major
URL: http://ontoworld.org/wiki/NaryQueryTest