Template:Workflow: Difference between revisions
From MaRDI portal
Line 442: | Line 442: | ||
=== Input data === | === Input data === | ||
<div class="no-pagination no-filter"> | |||
{{#sparql: | |||
SELECT ?inputQID | |||
?Name | |||
WHERE { | |||
# Get Step | |||
wd:{{#invoke:Wd|label|raw|}} p:P557 ?mainStatement. | |||
?mainStatement ps:P557 ?stepID. | |||
?stepID wdt:P31 wd:Q6486603. | |||
# Get Step Input(s) | |||
OPTIONAL { | |||
?stepID wdt:P1605 ?inputID. | |||
?inputID rdfs:label ?inputLabel. | |||
FILTER (lang(?inputLabel) = 'en') | |||
BIND(replace( xsd:string(?inputID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?inputQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?inputQID,'\'>',?inputLabel,'</a>') as ?inputLink) | |||
} | |||
} GROUP BY ?inputQID ?Name | |||
| chart=bordercloud.visualization.DataTable | |||
| options=width=100%! | |||
| endpoint=https://query.portal.mardi4nfdi.de/proxy/wdqs/bigdata/namespace/wdq/sparql | |||
}} | |||
</div> | |||
=== Output data === | === Output data === |
Revision as of 12:17, 10 December 2024