Module:KB/Viewer/SparqlGraph

Revision as of 03:56, 23 September 2022 by Maintenance script (talk | contribs) (Updated with content from Extension:OpenSemanticLab version 0.0.3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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