Page MenuHomePhabricator

[SMW] Semantic search: Comparators in property "record" are ineffective
Closed, InvalidPublic

Description

Author: klaus.wendel

Description:
Example:

  1. Enter data:
[[Versuch::Test;1992]]
  1. Define property: http://sandbox.semantic-mediawiki.org/wiki/Property:Versuch
[[has type::record]]
[[has fields::string; date]]
  1. Try semantic search in three different ways:

Does not work:

{{#ask: [[Versuch:: Test; >1990]]
|?
}}
{{#ask: [[Versuch:: Test; !1990]]
|?
}}

Works:

{{#ask: [[Versuch:: Test; 1992]]
|?
}}

Tried at ttp://sandbox.semantic-mediawiki.org/index.php?title=Tools


Version: unspecified
Severity: major

Details

Reference
bz34019

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:08 AM
bzimport set Reference to bz34019.
bzimport added a subscriber: Unknown Object (MLST).

klaus.wendel wrote:

This bug make type "record" useless. I reproduced it in a even simpler way at:

http://sandbox.semantic-mediawiki.org/wiki/Tools

Kghbln removed a project: Browser-Support-Firefox.
Kghbln set Security to None.
Kghbln claimed this task.

A test was added to confirm this which failed. So this seems to work in recent versions of SMW. See issue 658. Closing as invalid.