Template:Workflow: Difference between revisions
From MaRDI portal
Line 444: | Line 444: | ||
<div class="no-pagination no-filter"> | <div class="no-pagination no-filter"> | ||
{{#sparql: | {{#sparql: | ||
SELECT ? | SELECT ?ID | ||
?Name | ?Name | ||
Line 457: | Line 457: | ||
OPTIONAL { | OPTIONAL { | ||
?stepID wdt:P1605 ?inputID. | ?stepID wdt:P1605 ?inputID. | ||
?inputID rdfs:label ? | ?inputID rdfs:label ?NameLabel. | ||
FILTER (lang(? | FILTER (lang(?NameLabel) = 'en') | ||
BIND(replace( xsd:string(?inputID), | BIND(replace( xsd:string(?inputID), | ||
'https://portal.mardi4nfdi.de/entity/', | 'https://portal.mardi4nfdi.de/entity/', | ||
'') as ? | '') as ?qid) | ||
BIND (CONCAT('<a href=\'/wiki/Item:',? | |||
BIND(CONCAT('mardi:','<a href=\'/wiki/Item:',?qid,'\'>',?qid,'</a>') as ?ID) | |||
BIND(CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | |||
} | } | ||
} GROUP BY ? | } GROUP BY ?ID ?Name | ||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable |
Revision as of 13:25, 10 December 2024