File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed 
deploy/shared/s-pipes-engine/scripts Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ ASK WHERE {
319319}"""   ;
320320    ] ;
321321  sm:next form-mod:construct-answers ;
322+   sm:next form-mod:construct-comments;
322323  sm:next form-mod:filter-origin-path-id ;
323324  sml:constructQuery [
324325      a  sp:Construct ;
@@ -353,6 +354,26 @@ WHERE {
353354  sml:replace true  ;
354355.
355356
357+ form-mod:construct-comments
358+   a  sml:ApplyConstruct ;
359+   sm:next form-mod:rename-form-entities ;
360+   sml:constructQuery [
361+       a  sp:Construct ;
362+       sp:text """ CONSTRUCT {
363+     ?sampleQ form:has-comment ?c . 
364+     ?c ?cp ?co . 
365+ } 
366+ WHERE { 
367+     ?dataQ form:is-cross-form-clone-of-question ?sampleQ . 
368+     ?dataQ form:has-comment ?c . 
369+     OPTIONAL { 
370+         ?c ?cp ?co . 
371+     } . 
372+ }"""   ;
373+     ] ;
374+   sml:replace false  ;
375+ .
376+ 
356377
357378form-mod:construct-answers
358379  a  sml:ApplyConstruct ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments