Template:Workflow: Difference between revisions
From MaRDI portal
No edit summary |
No edit summary |
||
Line 109: | Line 109: | ||
=== Applied methods === | === Applied methods === | ||
{{#sparql: | |||
SELECT ?ID | |||
?Name | |||
?Description | |||
(GROUP_CONCAT(DISTINCT ?stepLink; separator=", ") AS ?ProcessStep) | |||
(GROUP_CONCAT(DISTINCT ?softwareLink; separator=", ") AS ?ImplementedBy) | |||
WHERE { | |||
# Get Method Label and Description | |||
wd:Q6032641 p:P557 ?mainStatement. | |||
?mainStatement ps:P557 ?methodID. | |||
?methodID wdt:P31 wd:Q68669. | |||
?methodID rdfs:label ?NameLabel. | |||
FILTER (lang(?NameLabel) = 'en') | |||
BIND(replace( xsd:string(?methodID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?qid) | |||
BIND (CONCAT('mardi:','<a href=\'/wiki/Item:',?qid,'\'>',?qid,'</a>') as ?ID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | |||
OPTIONAL { | |||
?methodID schema:description ?Description. | |||
FILTER (lang(?Description) = 'en') | |||
} | |||
# Get Software | |||
OPTIONAL { | |||
?mainStatement pq:P147 ?softwareID. | |||
?softwareID rdfs:label ?softwareLabel. | |||
FILTER (lang(?softwareLabel) = 'en') | |||
BIND(replace( xsd:string(?softwareID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?softwareQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?softwareQID,'\'>',?softwareLabel,'</a>') as ?softwareLink) | |||
} | |||
# Get Process Step | |||
OPTIONAL { | |||
?stepID wdt:P557 ?methodID. | |||
?stepID rdfs:label ?stepLabel. | |||
FILTER (lang(?stepLabel) = 'en') | |||
BIND(replace( xsd:string(?stepID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?stepQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?stepQID,'\'>',?stepLabel,'</a>') as ?stepLink) | |||
} | |||
} | |||
GROUP BY ?ID ?Name ?Description | |||
| chart=bordercloud.visualization.DataTable | |||
| options=width=100%! | |||
}} | |||
=== Software used === | === Software used === |
Revision as of 09:09, 22 October 2024