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 @@ -282,6 +282,7 @@ ASK WHERE {
282282}""" ;
283283 ] ;
284284 sm:next form-mod:construct-answers ;
285+ sm:next form-mod:construct-comments;
285286 sm:next form-mod:filter-origin-path-id ;
286287 sml:constructQuery [
287288 a sp:Construct ;
@@ -316,6 +317,26 @@ WHERE {
316317 sml:replace true ;
317318.
318319
320+ form-mod:construct-comments
321+ a sml:ApplyConstruct ;
322+ sm:next form-mod:rename-form-entities ;
323+ sml:constructQuery [
324+ a sp:Construct ;
325+ sp:text """ CONSTRUCT {
326+ ?sampleQ form:has-comment ?c .
327+ ?c ?cp ?co .
328+ }
329+ WHERE {
330+ ?dataQ form:is-cross-form-clone-of-question ?sampleQ .
331+ ?dataQ form:has-comment ?c .
332+ OPTIONAL {
333+ ?c ?cp ?co .
334+ } .
335+ }""" ;
336+ ] ;
337+ sml:replace false ;
338+ .
339+
319340
320341form-mod:construct-answers
321342 a sml:ApplyConstruct ;
You can’t perform that action at this time.
0 commit comments