Template:Workflow: Difference between revisions
From MaRDI portal
Line 454: | Line 454: | ||
?stepID wdt:P31 wd:Q6486603. | ?stepID wdt:P31 wd:Q6486603. | ||
# Get | # Get Data | ||
OPTIONAL { | OPTIONAL { | ||
?stepID wdt:P1605 ?inputID. | ?stepID wdt:P1605 ?inputID. | ||
Line 466: | Line 466: | ||
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) | ||
# Data Size (maps to Size if File etc size is provided) | |||
OPTIONAL { | |||
?inputID wdt:P1542 ?Size | |||
} | |||
# Number of Records (maps to Size if Number of Entries in a Database etc is provided= | |||
OPTIONAL { | |||
?inputID wdt:P139 ?Sizeraw | |||
BIND(CONCAT(?Sizeraw,' Items') as ?Size) | |||
} | |||
} | } | ||
} GROUP BY ?ID ?Name | } GROUP BY ?ID ?Name |
Revision as of 14:40, 10 December 2024