17 lines
1016 B
Plaintext
17 lines
1016 B
Plaintext
SELECT EXPAND(ret) FROM (
|
|
MATCH
|
|
{class: EService, as: eservice0, where: ($currentMatch['@class'] INSTANCEOF 'EService')}
|
|
|
|
.outE('ConsistsOf') { as: consistsof00, where: (($currentMatch['@class'] INSTANCEOF 'ConsistsOf') AND (propagationConstraint.add = "propagate"))}
|
|
.inV('StateFacet') { as: statefacet000, where: (($currentMatch['@class'] INSTANCEOF 'StateFacet') AND (value = "down"))}
|
|
.inE('ConsistsOf') { where: ($matched.consistsof00 == $currentMatch)}
|
|
.outV('EService') { where: ($matched.eservice0 == $currentMatch)}
|
|
|
|
.outE('IsIdentifiedBy') { as: isidentifiedby01, where: ($currentMatch['@class'] INSTANCEOF 'IsIdentifiedBy')}
|
|
.inV('SoftwareFacet') { as: softwarefacet010, where: (($currentMatch['@class'] INSTANCEOF 'SoftwareFacet') AND (name = "data-transfer-service" AND group = "DataTransfer"))}
|
|
.inE('IsIdentifiedBy') { where: ($matched.isidentifiedby01 == $currentMatch)}
|
|
.outV('EService') { where: ($matched.eservice0 == $currentMatch)}
|
|
|
|
RETURN
|
|
DISTINCT(eservice0) as ret
|
|
) |