Files
secondo/Algebras/PropertyGraph2/sample-orderedrelations/sample-shakespeare/match1
2026-01-23 17:03:45 +08:00

40 lines
687 B
Plaintext

# open database pgraph1;
# query p1 loadgraph;
query p1
Author feed filter[.Authorid>0]
match1 ['
(
(theater Venue ( (Name "Theatre Royal") ))
STREET
( Street
CITY
(
(newcastle City ( (Name "Newcastle") ))
)
)
VENUE <-
( Performance
PERFORMANCE_OF
(
Production
PRODUCTION_OF
(
(play Play)
w WROTE_PLAY <-
(
(bard Author ( (Lastname "Shakespeare") ))
)
)
)
)
)',
'( ((w Year) > 1608 ))',
'( ((theater Name) Name) ((play Title) Play) ((newcastle Name) CityName) ((bard Lastname) BardName) ((w Year) Year ) )'
] consume;