Module:MySPARQL: 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.

14 December 2023

26 November 2023

25 November 2023

  • curprev 16:2716:27, 25 November 2023Schubotz talk contribs 374 bytes +374 Created page with "local sparql = require('SPARQL') -- Load the SPARQL binding local p = {} function p.showFirstValue(frame) local sparqlQuery = frame.args[1] local queryResults = sparql.runQuery(sparqlQuery) -- Use the runQuery method -- Replace "work" with the first SELECT variable in your SPARQL query return queryResults['results']['bindings'][1]['work']['value'] end return p"