Template:Workflow: Difference between revisions
From MaRDI portal
Line 17: | Line 17: | ||
PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#> | PREFIX mdb: <https://mardi4nfdi.de/mathmoddb#> | ||
SELECT ?Label ?Description ?Time | SELECT ?Label ?Description ?Time ?Space WHERE { | ||
wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?item . | wd:{{#invoke:Wd|label|raw|}} wdt:P557 ?item . | ||
?item wdt:P31 wd:Q68663; | ?item wdt:P31 wd:Q68663; | ||
Line 24: | Line 24: | ||
SERVICE <https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query> { | SERVICE <https://sparql.mtsr2024.m1.mardi.ovh/mathalgodb/query> { | ||
?url rdfs:comment ?Description; | ?url rdfs:comment ?Description; | ||
OPTIONAL {?url mdb:isTimeContinuous ?isTimeContinuous.} | OPTIONAL {?url mdb:isTimeContinuous ?isTimeContinuous.} | ||
BIND( | |||
OPTIONAL {?url mdb:isTimeContinuous ?isTimeContinuous.} | |||
BIND( | |||
IF(BOUND(?isTimeContinuous), | |||
IF(?isTimeContinuous = true, "continuous", "discrete"), | |||
"independent") AS ?Time ) IF(BOUND(?isTimeContinuous), | |||
IF(?isTimeContinuous = true, "continuous", "discrete"), | |||
"independent") AS ?Time ) | |||
OPTIONAL {?url mdb:isSpaceContinuous ?isSpaceContinuous.} | |||
BIND( | |||
IF(BOUND(?isSpaceContinuous), | |||
IF(?isSpaceContinuous = true, "continuous", "discrete"), | |||
"independent") AS ?Space ) | |||
} | } | ||
} | } |
Revision as of 15:47, 29 October 2024