Template:StatisticsRow: Difference between revisions

From MaRDI portal
Created page with "|- | {{{1}}} | {{#invoke:MySPARQL|showFirstValue| PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/> PREFIX wd: <https://portal.mardi4nfdi.de/entity/> SELECT (COUNT(*) as ?work) WHERE { {{{2}}} }"
 
add labels
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
|-
|-
| {{{1}}}
| {{{1}}}
| {{#invoke:MySPARQL|showFirstValue|
|  
[https://query.portal.mardi4nfdi.de/#{{urlencode:PREFIX wdt: <https://portal.mardi4nfdi.de/prop/direct/>
PREFIX wd: <https://portal.mardi4nfdi.de/entity/>
SELECT * # Replace with (COUNT(*) as ?cnt) to get the count
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 17:44, 24 May 2024

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