Module:KB/Viewer/SparqlGraph

From Onterface Dataspace

local p = {} local linkedwiki = require 'linkedwiki' function p.section(f) local object = linkedwiki.new()

   object:setConfig(f.args["endpoint"])
   mw.log(object:getConfig())

local result = object:query( f.args["query"]) -- linkedwiki.print_r(result)

local text = [[

Authority Notice

]] local newline=[[

]] local i = 0 local row = nill local link = nil local logo = nil

text = '

'

 return text

end

return p