Query

From KIproBatt Wiki
(update to new process structure)
Tag: 2017 source edit
(fix query to fit stacking process without electrode objects)
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
''Temporary solution'' -->
 
''Temporary solution'' -->
  
{{#ask: [[Category:LabProcess/File]] [[IsOutputOf::{{{process_id|}}}]]  
+
{{#if:{{{process_id|}}}|{{#ask: [[Category:LabProcess/File]] [[IsOutputOf::{{{process_id|}}}]]  
 
|?HasIscId=ID
 
|?HasIscId=ID
 
|?Mass # g -p4
 
|?Mass # g -p4
 
|format=table
 
|format=table
 
|limit=100}}
 
|limit=100}}
{{#ask: [[-HasObject::{{{process|}}}]]  
+
|}}
|?-IsObjectParameterOf.HasFile = Image
+
{{#if:{{{process|}}}|{{#ask: <!-- [[IsObjectParameterOf.-HasObject::{{{process|}}}]] [[HasFile::+]] OR --> [[IsProcessParameterOf.IsSubprocessOf::{{{process|}}}]] [[HasFile::+]]
|?-IsObjectParameterOf.HasMass # g -p4 = Mass in g
+
|?HasFile = Image
|?-IsObjectParameterOf.HasFile.-HasPredecessor.IsObjectParameterOf.-IsObjectParameterOf.HasFile = Segmentation
+
|?HasMass # g -p4 = Mass in g
 +
|?HasFile.-HasPredecessor.IsObjectParameterOf.-IsObjectParameterOf.HasFile = Segmentation
 
|format=table
 
|format=table
 
|limit=100
 
|limit=100
}}
+
}}|}}
 
</includeonly>
 
</includeonly>

Latest revision as of 17:31, 25 October 2022