Template:Workflow: Difference between revisions
From MaRDI portal
Line 45: | Line 45: | ||
{{#sparql: | {{#sparql: | ||
PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#> | PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#> | ||
SELECT ?Name ? | SELECT ?Name ?Unit ?Symbol ?Task (?Type AS ?Dependency_Type) WHERE { | ||
# Starting from the central item | # Starting from the central item | ||
wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?centralItem . | wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?centralItem . | ||
Line 94: | Line 94: | ||
FILTER(?quantityLabel = ?plainItemLabel) | FILTER(?quantityLabel = ?plainItemLabel) | ||
} | } | ||
# Initialize the Unit variable as empty | |||
BIND("" AS ?Unit) | |||
} | } | ||
ORDER BY ?taskLabel ?itemLabel | ORDER BY ?taskLabel ?itemLabel |
Revision as of 20:45, 29 October 2024