Template:Workflow: Difference between revisions
From MaRDI portal
(4 intermediate revisions by the same user not shown) | |||
Line 452: | Line 452: | ||
?Proprietary | ?Proprietary | ||
?toPublish | ?toPublish | ||
?toArchive | |||
WHERE { | WHERE { | ||
Line 513: | Line 514: | ||
BIND( | BIND( | ||
IF(EXISTS { ?inputID wdt:P1563 wd:Q6480291 }, | IF(EXISTS { ?inputID wdt:P1563 wd:Q6480291 }, | ||
IF(EXISTS { ?inputID wdt: | IF(EXISTS { ?inputID wdt:P27 ?doi }, | ||
CONCAT('<a href="', STR(?doi), '">yes</a>'), | CONCAT('<a href="', 'https://dx.doi.org', STR(?doi), '">yes</a>'), | ||
IF(EXISTS { ?inputID wdt:P188 ?url }, | IF(EXISTS { ?inputID wdt:P188 ?url }, | ||
CONCAT('<a href="', STR(?url), '">yes</a>'), | CONCAT('<a href="', STR(?url), '">yes</a>'), | ||
Line 522: | Line 523: | ||
"no" | "no" | ||
) AS ?toPublish | ) AS ?toPublish | ||
) | |||
# Data Archiving | |||
OPTIONAL { | |||
?inputID p:P1563 ?statementNode. | |||
?statementNode ps:P1563 wd:Q6480370. | |||
OPTIONAL { | |||
?statementNode pq:P411 ?endTime. | |||
} | |||
} | |||
BIND( | |||
IF(BOUND(?statementNode), | |||
IF(BOUND(?endTime), | |||
STR(?endTime), | |||
"yes" | |||
), | |||
"no" | |||
) AS ?toArchive | |||
) | ) | ||
} | } | ||
} GROUP BY ?ID ?Name ?Size ?DataStructure ?ExchangeFormat ?BinaryOrText ?Proprietary ?toPublish | } GROUP BY ?ID ?Name ?Size ?DataStructure ?ExchangeFormat ?BinaryOrText ?Proprietary ?toPublish ?toArchive | ||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable |
Latest revision as of 13:19, 12 December 2024