-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquery_setup.yaml
More file actions
82 lines (77 loc) · 4.25 KB
/
Copy pathquery_setup.yaml
File metadata and controls
82 lines (77 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Evaluation scenarios are list entries under the key `graphs`.
graphs:
# Entries in this list must have the following fields:
# * "name": a string value denoting the name of the scenario
# * "dependencies" and "minimal_cover": lists of dependencies represented as strings
# * Either an entry "from_file" that contains a path, which points to a Cypher file that works with both, Neo4J and
# Memgraph, or an entry "neo4j" that contains "from_file" or "from_dump", with the latter being a path pointing to
# a Neo4J (Enterprise) database dump.
- id: "ts2"
category: "Real-world data"
name: "$S_\\text{Ts-2}$"
name_html: "Train Services 2"
neo4j:
from_dump: graphs/rijdendetreinen/rijdendetreinen_small.dump
dependencies:
- "()-[t:STOPS_AT:code]->(s:Station:name)::s.name=>t.code"
- "()-[t:STOPS_AT:code]->(s:Station:name)::t.code=>s.name"
- "(ts:TrainService:date&number&type)::ts.number,ts.date=>ts.type"
- "(x:TrainService:date&number&operator)-[:STOPS_AT]->()::x.number,x.date=>x.operator"
- "(x:TrainService:serviceid)::x.serviceid=>x"
- "()-[s:STOPS_AT:stopid]->()::s.stopid=>s"
- "()-[s:STOPS_AT:departure&stopid]->(st)::s.departure,s.stopid=>st"
minimal_cover:
- "()-[t:STOPS_AT:code]->(s:Station:name)::s.name=>t.code"
- "()-[t:STOPS_AT:code]->(s:Station:name)::t.code=>s.name"
- "(ts:TrainService:date&number&type)::ts.number,ts.date=>ts.type"
- "(ts:TrainService:date&number&operator)-[:STOPS_AT]->()::ts.number,ts.date=>ts.operator"
- "(ts:TrainService:serviceid)-[:STOPS_AT]->()::ts.serviceid=>ts"
- "()-[t:STOPS_AT:stopid]->()::t.stopid=>t"
- "()-[t:STOPS_AT:departure&stopid]->(s)::t.stopid=>s"
source: "Based on \\url{https://opendata.rijdendetreinen.nl/public/services/services-2025-11.csv.gz}"
dependency_origin: "User provided"
- id: "off1"
category: "Real-world data"
name: "$S_\\text{Off-1}$"
name_html: "Offshore 1"
neo4j:
from_dump: graphs/offshore.dump
dependencies:
- "(e:Entity:countries&service_provider&country_codes)::e.countries=>e.country_codes"
- "(e:Entity:jurisdiction_description&countries&country_codes)::e.countries,e.jurisdiction_description=>e.country_codes"
- "(e:Entity:service_provider&countries&country_codes)::e.country_codes=>e.countries"
minimal_cover:
- "(e:Entity:jurisdiction_description&countries&service_provider&country_codes)::e.countries=>e.country_codes"
- "(e:Entity:jurisdiction_description&countries&service_provider&country_codes)::e.country_codes=>e.countries"
- id: "nw"
name: "$S_\\text{Nw}$"
name_html: "Northwind"
category: "Real-world data"
neo4j:
from_file: graphs/northwind/scripts/northwind.cypher
dependencies:
- "(o:Order:orderID)::o.orderID=>o"
- "(o:Order:orderID&orderDate&customerID&shipCity&shipPostalCode&shipCountry&shipAddress&shipRegion)::o.customerID=>o.shipCity,o.shipPostalCode,o.shipCountry,o.shipAddress,o.shipRegion"
minimal_cover:
- "(o:Order:orderID)::o.orderID=>o"
- "(o:Order:orderID&orderDate&customerID&shipCity&shipPostalCode&shipCountry&shipAddress&shipRegion)::o.customerID=>o.shipCity,o.shipPostalCode,o.shipCountry,o.shipAddress,o.shipRegion"
dependency_origin: "\\citet{skavantzos_third_2025}"
source: "\\url{https://github.com/neo4j-graph-examples/northwind}"
- id: "lon"
name: "$S_\\text{Lon}$"
category: "Real-world data"
name_html: "London Public Transport"
neo4j:
from_file: graphs/london_neo4j.cypher
dependencies:
- "(s:Station:zone&zoneOriginal)::s.zoneOriginal=>s.zone"
- "(s:Station)-[c::line&color&type]->()::c.line=>c.color"
- "(s:Station:latitude&longitude&zone)::s.latitude,s.longitude=>s.zone"
- "(s:Station:latitude&longitude)::s.latitude,s.longitude=>s"
- "()-[c:CONNECTED_THROUGH:line&color&type]->()::c.line=>c.color,c.type"
minimal_cover:
- "(s:Station:zone&zoneOriginal)::s.zoneOriginal=>s.zone"
- "(s:Station:latitude&longitude)::s.latitude,s.longitude=>s"
- "(s:Station)-[c:CONNECTED_THROUGH:line&color&type]->()::c.line=>c.color,c.type"
dependency_origin: "User provided"
source: "Extended based on \\url{https://github.com/neo4j-partners/neo4j-transport-for-london}"