23 lines
1.9 KiB
Plaintext
23 lines
1.9 KiB
Plaintext
SELECT EXPAND(ret) FROM (
|
|
MATCH
|
|
{class: SimpleFacet, as: simplefacet0, where: ($currentMatch['@class'] INSTANCEOF 'SimpleFacet')}
|
|
|
|
.inE('ConsistsOf') { as: consistsof00, where: ($currentMatch['@class'] INSTANCEOF 'ConsistsOf')}
|
|
.outV('Configuration') { as: configuration000, where: ($currentMatch['@class'] INSTANCEOF 'Configuration')}
|
|
.inE('IsCustomizedBy') { as: iscustomizedby0000, where: ($currentMatch['@class'] INSTANCEOF 'IsCustomizedBy')}
|
|
.outV('VirtualService') { as: virtualservice00000, where: ($currentMatch['@class'] INSTANCEOF 'VirtualService')}
|
|
.outE('IsIdentifiedBy') { as: isidentifiedby000000, where: ($currentMatch['@class'] INSTANCEOF 'IsIdentifiedBy')}
|
|
.inV('SoftwareFacet') { as: softwarefacet0000000, where: (($currentMatch['@class'] INSTANCEOF 'SoftwareFacet') AND (softwarefacet0000000.group = "org.gcube.data-catalogue" AND softwarefacet0000000.name = "catalogue-virtual-service"))}
|
|
.inE('IsIdentifiedBy') { where: ($matched.isidentifiedby000000 == $currentMatch)}
|
|
.outV('VirtualService') { where: ($matched.virtualservice00000 == $currentMatch)}
|
|
.outE('IsCustomizedBy') { where: ($matched.iscustomizedby0000 == $currentMatch)}
|
|
.inV('Configuration') { where: ($matched.configuration000 == $currentMatch)}
|
|
.outE('IsIdentifiedBy') { as: isidentifiedby0001, where: ($currentMatch['@class'] INSTANCEOF 'IsIdentifiedBy')}
|
|
.inV('IdentifierFacet') { as: identifierfacet00010, where: (($currentMatch['@class'] INSTANCEOF 'IdentifierFacet') AND (identifierfacet00010.value = "gcat-configuration"))}
|
|
.inE('IsIdentifiedBy') { where: ($matched.isidentifiedby0001 == $currentMatch)}
|
|
.outV('Configuration') { where: ($matched.configuration000 == $currentMatch)}
|
|
.outE('ConsistsOf') { where: ($matched.consistsof00 == $currentMatch)}
|
|
.inV('SimpleFacet') { where: ($matched.simplefacet0 == $currentMatch)}
|
|
RETURN
|
|
DISTINCT(simplefacet0) as ret
|
|
) |