Template:StatisticsRow: Difference between revisions

From MaRDI portal
No edit summary
add labels
 
(9 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}}} } }} [https://query.portal.mardi4nfdi.de/PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fentity%2F%3E%0ASELECT%20%28COUNT%28%2A%29%20as%20%3Fwork%29%0AWHERE%20%7B%20{{urlencode:{{{2}}}%20%7D]
WHERE { {{{2}}} } }} ]

Latest revision as of 17:44, 24 May 2024

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