Last modified: 2009-11-03 16:50:35 UTC
When trying to do inverse queries on nary properties I get the following error: Fatal error: Call to undefined method SMWWikiPageValue::acceptQuerySyntax() in .../extensions/SemanticMediaWiki/includes/SMW_QueryParser.php on line 345 This happens both with inline queries and Special:Ask The nary property in question had [[has type::page,number,number,number]], it works fine for properties with just a single type. It seems to only error when the inverse property is compared against a specific value, using a wildcard makes no error, but also finds no results. Versions: MediaWiki r57640 SMW r56952 PHP 5.2.10 (cgi) MySQL 5.0.81-community It's running on a fairly standard cpanel server. An example of this can be seen with the query [[-TestNary::NaryTest]] on sandbox.semantic-mediawiki.org.
Right. Queries that use inverse properties of types other than Page are not supported by SMW (displaying data values as query results is not properly supported in many places). But of course this should not lead to an error. This has been corrected in SVN now.