Extension talk:Semantic Result Formats/graph format

From mediawiki.org

Own GraphViz extension[edit]

Perhaps Semantic Result Formats should come with it's own implementation of a working GraphViz extension for MW. The Extension:GraphViz is a total mess. There are so many bugs and problems you can read about on the discussion page but nobody seems to really care. Also the extension is not even in a stable state yet. --Danwe 00:25, 5 April 2010 (UTC)Reply

Issues with graphlink and the statement involving #ask [[Category: ...]][edit]

We got it to run with some hassle but than we encounter some issues:

Normal page

If you are using the graphlink option and you click on a graph item the generated URL is missing index.php?title= therefore the link goes into the blue. We changed the following code

$graphInput .= " \"$text\" [URL = \"[[$text]]\"]; ";

into

$graphInput .= " \"$text\" [URL = \"index.php?title=$text\"]; "; 

certainly not bullet proof but for now it works.

Category page

The graphlink does not know if it is normal page or a category page and assumes that all links need to go to a normal page that means the name for the link does not contain the string Category which means the graphlink directs to a wrong page.

#ask [[Category: ...]]

If you are using a the statement like #ask [[Category: ...]] than for the first time the page is saved it works but ones you edit the page the wiki page automatically set the page to the described [[Category: ...]] and the #ask statement is empty.

System: LightTPD 1.4.26, MediaWiki 1.15.1, PHP 5.2.9-1 (cgi-fcgi), MySQL 5.0.77-community-n, Semantic MediaWiki (Version 1.5.0), Semantic Result Formats (Version 1.4.3), Graphviz 2.26.3 on Windows

--Thanks James

Issue with graphname parameter[edit]

It seems that with the current (r81510) version of SRF, if the "graphname" parameter is set, changes to the query or its underlying data will not get updated unless the graph is manually deleted from images/graphviz on the server. --196.46.120.252 09:35, 4 February 2011 (UTC)Reply

format=graph( graphlink=Yes)[edit]

Hi

I updated to release 1.6.2. The old SMW queries with format=graph and graphlink=Yes are not linking anymore.

My system or software bug ? any idea?

Cheers Solab