Template:Workflow: Difference between revisions
From MaRDI portal
(22 intermediate revisions by the same user not shown) | |||
Line 158: | Line 158: | ||
(GROUP_CONCAT(DISTINCT ?outputLink; separator=", ") AS ?Output) | (GROUP_CONCAT(DISTINCT ?outputLink; separator=", ") AS ?Output) | ||
(GROUP_CONCAT(DISTINCT ?methodLink; separator=", ") AS ?Method) | (GROUP_CONCAT(DISTINCT ?methodLink; separator=", ") AS ?Method) | ||
(GROUP_CONCAT(DISTINCT ? | (GROUP_CONCAT(DISTINCT ?environmentLink; separator=", ") AS ?Environment) | ||
(GROUP_CONCAT(DISTINCT ?disciplineLink; separator=", ") AS ?Discipline) | (GROUP_CONCAT(DISTINCT ?disciplineLink; separator=", ") AS ?Discipline) | ||
Line 221: | Line 221: | ||
?environmentID rdfs:label ?environmentLabel. | ?environmentID rdfs:label ?environmentLabel. | ||
FILTER (lang(?environmentLabel) = 'en') | FILTER (lang(?environmentLabel) = 'en') | ||
BIND(replace( xsd:string(?environmentID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?environmentQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?environmentQID,'\'>',?environmentLabel,'</a>') as ?environmentLink) | |||
} | } | ||
Line 245: | Line 249: | ||
}} | }} | ||
</div> | </div> | ||
=== Applied methods === | === Applied methods === | ||
<div class='no-pagination no-filter'> | <div class='no-pagination no-filter'> | ||
{{#sparql: | {{#sparql: | ||
SELECT | SELECT ?Name | ||
?Description | ?Description | ||
(GROUP_CONCAT(DISTINCT ?stepLink; separator=", ") AS ? | (GROUP_CONCAT(DISTINCT ?stepLink; separator=", ") AS ?Process_Step) | ||
(GROUP_CONCAT(DISTINCT ?softwareLink; separator=", ") AS ? | (GROUP_CONCAT(DISTINCT ?softwareLink; separator=", ") AS ?Implemented_By) | ||
WHERE { | WHERE { | ||
Line 307: | Line 311: | ||
<div class='no-pagination no-filter'> | <div class='no-pagination no-filter'> | ||
{{#sparql: | {{#sparql: | ||
SELECT | SELECT ?Name | ||
?Description | ?Description | ||
?Version | ?Version | ||
(GROUP_CONCAT(DISTINCT ?plLink; separator=", ") AS ? | (GROUP_CONCAT(DISTINCT ?plLink; separator=", ") AS ?Programming_Language) | ||
(GROUP_CONCAT(DISTINCT ?dpLink; separator=", ") AS ?Dependencies) | (GROUP_CONCAT(DISTINCT ?dpLink; separator=", ") AS ?Dependencies) | ||
?versioned | ?versioned | ||
Line 389: | Line 392: | ||
<div class='no-pagination no-filter'> | <div class='no-pagination no-filter'> | ||
{{#sparql: | {{#sparql: | ||
SELECT | SELECT ?Name | ||
?Description | ?Description | ||
(GROUP_CONCAT(DISTINCT ?processorLink; separator=", ") AS ?Processor) | (GROUP_CONCAT(DISTINCT ?processorLink; separator=", ") AS ?Processor) | ||
(GROUP_CONCAT(DISTINCT ?nodes; separator=", ") AS ? | (GROUP_CONCAT(DISTINCT ?nodes; separator=", ") AS ?Node_Number) | ||
(GROUP_CONCAT(DISTINCT ?cores; separator=", ") AS ? | (GROUP_CONCAT(DISTINCT ?cores; separator=", ") AS ?Core_Number) | ||
WHERE { | WHERE { | ||
Line 441: | Line 443: | ||
</div> | </div> | ||
=== | === Data Sets === | ||
<div class="no-pagination no-filter"> | <div class="no-pagination no-filter"> | ||
{{#sparql: | {{#sparql: | ||
SELECT ? | SELECT ?Name | ||
? | ?Description | ||
?Size | ?Size | ||
? | (?DataType AS ?Data_Type) | ||
? | (?RepresentationFormat AS ?Representation_Format) | ||
?BinaryOrText | (?FileFormat AS ?File_Format) | ||
(?BinaryOrText AS ?Binary_Text) | |||
?Proprietary | ?Proprietary | ||
?toPublish | (?toPublish AS ?to_Publish) | ||
?toArchive | (?toArchive AS ?to_Archive) | ||
WHERE { | WHERE { | ||
Line 463: | Line 466: | ||
# Get Data | # Get Data | ||
OPTIONAL { | OPTIONAL { | ||
?stepID wdt:P1605 ?inputID. | {?stepID wdt:P1605 ?inputID.} | ||
UNION | |||
{?stepID wdt:P1606 ?inputID.} | |||
?inputID rdfs:label ?NameLabel. | ?inputID rdfs:label ?NameLabel. | ||
FILTER (lang(?NameLabel) = 'en') | FILTER (lang(?NameLabel) = 'en') | ||
Line 473: | Line 478: | ||
BIND(CONCAT('mardi:','<a href=\'/wiki/Item:',?qid,'\'>',?qid,'</a>') as ?ID) | BIND(CONCAT('mardi:','<a href=\'/wiki/Item:',?qid,'\'>',?qid,'</a>') as ?ID) | ||
BIND(CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | BIND(CONCAT('<a href=\'/wiki/Item:',?qid,'\'>',?NameLabel,'</a>') as ?Name) | ||
OPTIONAL { | |||
?inputID schema:description ?Description. | |||
FILTER (lang(?Description) = 'en')} | |||
# Data Size (maps to Size if File etc size is provided) | # Data Size (maps to Size if File etc size is provided) | ||
Line 485: | Line 494: | ||
} | } | ||
# Number of Records (maps to Size if Number of Entries in a Database etc is provided | # Number of Records (maps to Size if Number of Entries in a Database etc is provided | ||
OPTIONAL { | OPTIONAL { | ||
?inputID wdt:P139 ?Sizeraw | ?inputID wdt:P139 ?Sizeraw | ||
Line 491: | Line 500: | ||
} | } | ||
# Data | # Data Type | ||
OPTIONAL { | |||
?inputID p:P557 ?statement_dt. | |||
?statement_dt ps:P557 ?datatypeID. | |||
?statement_dt pq:P560 ?qualifier. | |||
FILTER (?qualifier = wd:Q78802) | |||
?datatypeID rdfs:label ?datatypeLabel. | |||
FILTER (lang(?datatypeLabel) = 'en') | |||
BIND(replace( xsd:string(?datatypeID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?datatypeQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?datatypeQID,'\'>',?datatypeLabel,'</a>') as ?DataType) | |||
} | |||
# Representation Format | |||
OPTIONAL { | OPTIONAL { | ||
?inputID | ?inputID p:P557 ?statement_rf. | ||
?statement_rf ps:P557 ?representationID. | |||
?statement_rf pq:P560 ?qualifier2. | |||
FILTER (?qualifier2 = wd:Q6534222) | |||
?representationID rdfs:label ?representationLabel. | |||
FILTER (lang(?representationLabel) = 'en') | |||
BIND(replace( xsd:string(?representationID), | |||
'https://portal.mardi4nfdi.de/entity/', | |||
'') as ?representationQID) | |||
BIND (CONCAT('<a href=\'/wiki/Item:',?representationQID,'\'>',?representationLabel,'</a>') as ?RepresentationFormat) | |||
} | } | ||
# | # File Format | ||
OPTIONAL { | OPTIONAL { | ||
?inputID wdt:P921 ? | ?inputID wdt:P921 ?FileFormat | ||
} | } | ||
Line 546: | Line 580: | ||
} | } | ||
} GROUP BY ?ID ?Name ? | } GROUP BY ?ID ?Name ?Description ?Size ?DataType ?RepresentationFormat ?FileFormat ?BinaryOrText ?Proprietary ?toPublish ?toArchive | ||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable | ||
Line 671: | Line 592: | ||
{{#sparql: | {{#sparql: | ||
SELECT ?Mathematically | SELECT ?Mathematically | ||
? | ?Runtime | ||
? | ?Result | ||
? | (?OriginalPlatform AS ?Original_Platform) | ||
? | (?CrossPlatform AS ?Cross_Platform) | ||
?Transferability | ?Transferability | ||
Line 682: | Line 603: | ||
OPTIONAL { | OPTIONAL { | ||
wd:{{#invoke:Wd|label|raw|}} p:P31 ?math_statement. | wd:{{#invoke:Wd|label|raw|}} p:P31 ?math_statement. | ||
?math_statement ps:P31 wd: | ?math_statement ps:P31 wd:Q6534210. | ||
BIND("Yes" AS ?math_hasTriple) | BIND("Yes" AS ?math_hasTriple) | ||
OPTIONAL { | OPTIONAL { | ||
Line 691: | Line 612: | ||
BIND(IF(BOUND(?math_result), ?math_result, IF(BOUND(?math_hasTriple), "Yes", "No")) AS ?Mathematically) | BIND(IF(BOUND(?math_result), ?math_result, IF(BOUND(?math_hasTriple), "Yes", "No")) AS ?Mathematically) | ||
# Runtime Reproducibility | # Runtime Reproducibility | ||
OPTIONAL { | OPTIONAL { | ||
wd:{{#invoke:Wd|label|raw|}} p:P31 ?run_statement. | wd:{{#invoke:Wd|label|raw|}} p:P31 ?run_statement. | ||
?run_statement ps:P31 wd:Q6534211. | ?run_statement ps:P31 wd:Q6534211. | ||
BIND("Yes" AS ? | BIND("Yes" AS ?run_hasTriple) | ||
OPTIONAL { | OPTIONAL { | ||
?run_statement pq:P8 ?run_text. | ?run_statement pq:P8 ?run_text. | ||
BIND(CONCAT("Yes: ", | BIND(CONCAT("Yes: ", STR(?run_text)) AS ?run_result) | ||
} | |||
} | } | ||
BIND(IF(BOUND(?run_result), ?run_result, IF(BOUND(?run_hasTriple), "Yes", "No")) AS ?Runtime) | |||
# Result Reproducibility | # Result Reproducibility | ||
OPTIONAL { | OPTIONAL { | ||
wd:{{#invoke:Wd|label|raw|}} p:P31 ?res_statement. | wd:{{#invoke:Wd|label|raw|}} p:P31 ?res_statement. | ||
?res_statement ps:P31 wd:Q6534212. | ?res_statement ps:P31 wd:Q6534212. | ||
BIND("Yes" AS ? | BIND("Yes" AS ?res_hasTriple) | ||
OPTIONAL { | OPTIONAL { | ||
?res_statement pq:P8 ?res_text. | ?res_statement pq:P8 ?res_text. | ||
BIND(CONCAT("Yes: ", | BIND(CONCAT("Yes: ", STR(?res_text)) AS ?res_result) | ||
} | |||
} | } | ||
BIND(IF(BOUND(?res_result), ?res_result, IF(BOUND(?res_hasTriple), "Yes", "No")) AS ?Result) | |||
# Original Platform Reproducibility | # Original Platform Reproducibility | ||
OPTIONAL { | OPTIONAL { | ||
wd:{{#invoke:Wd|label|raw|}} p:P31 ?plat_statement. | wd:{{#invoke:Wd|label|raw|}} p:P31 ?plat_statement. | ||
?plat_statement ps:P31 wd:Q6534213. | ?plat_statement ps:P31 wd:Q6534213. | ||
BIND("Yes" AS ? | BIND("Yes" AS ?plat_hasTriple) | ||
OPTIONAL { | OPTIONAL { | ||
?plat_statement pq:P8 ?plat_text. | ?plat_statement pq:P8 ?plat_text. | ||
BIND(CONCAT("Yes: ", | BIND(CONCAT("Yes: ", STR(?plat_text)) AS ?plat_result) | ||
} | |||
} | } | ||
BIND(IF(BOUND(?plat_result), ?plat_result, IF(BOUND(?plat_hasTriple), "Yes", "No")) AS ?OriginalPlatform) | |||
# | # Cross Platform Reproducibility | ||
OPTIONAL { | OPTIONAL { | ||
wd:{{#invoke:Wd|label|raw|}} p:P31 ?xplat_statement. | wd:{{#invoke:Wd|label|raw|}} p:P31 ?xplat_statement. | ||
?xplat_statement ps:P31 wd:Q6534214. | ?xplat_statement ps:P31 wd:Q6534214. | ||
BIND("Yes" AS ? | BIND("Yes" AS ?xplat_hasTriple) | ||
OPTIONAL { | OPTIONAL { | ||
?xplat_statement pq:P8 ?xplat_text. | ?xplat_statement pq:P8 ?xplat_text. | ||
BIND(CONCAT("Yes: ", | BIND(CONCAT("Yes: ", STR(?xplat_text)) AS ?xplat_result) | ||
} | |||
} | } | ||
BIND(IF(BOUND(?xplat_result), ?xplat_result, IF(BOUND(?xplat_hasTriple), "Yes", "No")) AS ?CrossPlatform) | |||
# Transferability | # Transferability | ||
Line 751: | Line 672: | ||
BIND(IF(BOUND(?trans_result), ?trans_result, IF(BOUND(?trans_hasTriple), "Yes", "No")) AS ?Transferability) | BIND(IF(BOUND(?trans_result), ?trans_result, IF(BOUND(?trans_hasTriple), "Yes", "No")) AS ?Transferability) | ||
} | } | ||
GROUP BY ?Mathematically ? | GROUP BY ?Mathematically ?Runtime ?Result ?OriginalPlatform ?CrossPlatform ?Transferability | ||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable |
Latest revision as of 11:54, 3 January 2025