Template:StatisticsRow: Difference between revisions

From MaRDI portal
No edit summary
add labels
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
[https://query.portal.mardi4nfdi.de/#{{urlencode:PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/>
[https://query.portal.mardi4nfdi.de/#{{urlencode:PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/>
PREFIX wd: <https://portal.mardi4nfdi.de/entity/>
PREFIX wd: <https://portal.mardi4nfdi.de/entity/>
SELECT ?itemLabel ?value ?item # Replace with (COUNT(*) as ?cnt) to get the count
SELECT * # Replace with (COUNT(*) as ?cnt) to get the count
WHERE { {{{2}}} .
WHERE { {{{2}}} .
        SERVICE wikibase:label {
?item rdfs:label ?itemLabel .
    bd:serviceParam wikibase:language "en" .
}
  } }
LIMIT 50 # Remove this line to get the counts
LIMIT 50 # Remove this line to get the counts
|PATH}} {{#invoke:MySPARQL|showFirstValue|
|PATH}} {{#invoke:MySPARQL|showFirstValue|

Latest revision as of 17:44, 24 May 2024

|- | {{{1}}} | [1]