Module:Sparql: Revision history

From MaRDI portal

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 August 2024

  • curprev 17:3717:37, 1 August 2024Schubotz talk contribs 2,384 bytes +2,384 Created page with "-- This example builds a HTML table with the results of a SPARQL query. -- By default one column is used per SPARQL variable. -- If the second parameter is set to "true", the first two columns are combined into one column. local sparql = require('SPARQL') local mwHtml = require('mw.html') local p = {} function p.buildTableFromSparql(frame) local sparqlQuery = frame.args[1] local combineFirstTwoColumns = trimAndLower(frame.args[2]) == "true" -- PHP function sparql.r..."