Template:StatisticsRow: Difference between revisions
From MaRDI portal
No edit summary |
add labels |
||
(2 intermediate revisions 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 (COUNT(*) as ? | SELECT * # Replace with (COUNT(*) as ?cnt) to get the count | ||
WHERE { {{{2}}} }|PATH}} {{#invoke:MySPARQL|showFirstValue| | WHERE { {{{2}}} . | ||
?item rdfs:label ?itemLabel . | |||
} | |||
LIMIT 50 # Remove this line to get the counts | |||
|PATH}} {{#invoke:MySPARQL|showFirstValue| | |||
PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> | PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> | ||
PREFIX wd: <https://portal.mardi4nfdi.de/entity/> | PREFIX wd: <https://portal.mardi4nfdi.de/entity/> | ||
SELECT (COUNT(*) as ?work) | SELECT (COUNT(*) as ?work) | ||
WHERE { {{{2}}} } }} ] | WHERE { {{{2}}} } }} ] |
Latest revision as of 16:44, 24 May 2024
|- | {{{1}}} | [1]