Help talk:Oltree format

From semantic-mediawiki.org

Output tree getting distorted after number of result lines ( number of the branches) is greater than 50

We are using the oltree format to view a hierarchically linked data. The tree is ordered using a semantic property called Order and is filtered using a semantic property called Type.

The query is working fine and getting an ordered tree. But when the number of results get larger, the tree get distorted and some of the results are not shown. We did an analysis and found that this is happening when the number of results is greater than 50 .

Following is the sample query

{{#ask: [[Category:Sample]][[Parent::+]][[Type::New]] |?Business Objective= | format=oltree | parent=Parent | sort=Order | order=ASC }}

Environment :

  • MediaWiki 1.21.2
  • Semantic MediaWiki (Version 1.8.0.5)
  • Semantic Result Formats (Version 1.8)

Can someone please help us to resolve this.

08:54, 12 May 2014

Hi All,

Please ignore the question, that was a bad miss from me while reading the documentation.

Answer : add limit=500 to your query to get more results.

I got the answer from Leo . Please check the below link http://stackoverflow.com/questions/23603793/semantic-result-format-oltree-result-getting-distorted-when-number-of-query-re/

15:59, 12 May 2014