Template:Workflow: Difference between revisions
From MaRDI portal
EloiFerrer (talk | contribs) No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
=== Process steps === | === Process steps === | ||
{{#sparql: | {{#sparql: | ||
SELECT ?Name | SELECT ?Number | ||
?Name | |||
?Description | ?Description | ||
(GROUP_CONCAT(DISTINCT ?inputLink; separator=", ") AS ?Input) | (GROUP_CONCAT(DISTINCT ?inputLink; separator=", ") AS ?Input) | ||
Line 27: | Line 28: | ||
# Get Step Label and Description | # Get Step Label and Description | ||
wd:{{#invoke:Wd|label|raw|}} | wd:{{#invoke:Wd|label|raw|}} p:P557 ?mainStatement. | ||
?mainStatement ps:P557 ?stepID. | |||
?stepID wdt:P31 wd:Q6486603. | ?stepID wdt:P31 wd:Q6486603. | ||
?stepID rdfs:label ?NameLabel. | ?stepID rdfs:label ?NameLabel. | ||
Line 36: | Line 38: | ||
BIND (CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | BIND (CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | ||
?mainStatement pq:P146 ?Number. | |||
OPTIONAL { | OPTIONAL { | ||
Line 98: | Line 102: | ||
BIND(COALESCE(?fieldLink, ?mscID) AS ?disciplineLink) | BIND(COALESCE(?fieldLink, ?mscID) AS ?disciplineLink) | ||
} GROUP BY ?Name ?Description | } GROUP BY ?Name ?Description ?Number | ||
ORDER BY ASC(?Number) | |||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable | ||
| options=width=100%! | | options=width=100%! |
Revision as of 12:45, 21 October 2024