11 lines
780 B
Plaintext
11 lines
780 B
Plaintext
|
SELECT EXPAND(ret) FROM (
|
||
|
MATCH
|
||
|
{class: SimpleFacet, as: simplefacet, where: ($currentMatch['@class'] INSTANCEOF 'SimpleFacet')}
|
||
|
.inE('ConsistsOf').outV('Configuration') {as: configuration, where: ($currentMatch['@class'] INSTANCEOF 'Configuration')}
|
||
|
.outE('IsIdentifiedBy').inV('IdentifierFacet') {where: (($currentMatch['@class'] INSTANCEOF 'IdentifierFacet') AND value='gcat-configuration')}
|
||
|
.inE('IsIdentifiedBy').outV('Configuration') {where: ($matched.configuration == $currentMatch)}
|
||
|
.outE('IsCustomizedBy').inV('VirtualService')
|
||
|
.outE('IsIdentifiedBy').inV('SoftwareFacet') {where: (($currentMatch['@class'] INSTANCEOF 'SoftwareFacet') AND name='catalogue-virtual-service' AND group='org.gcube.data-catalogue')}
|
||
|
RETURN
|
||
|
DISTINCT(simplefacet) as ret
|
||
|
)
|