-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Spanner Graph] Get node edges. (#1446)
- Loading branch information
Showing
6 changed files
with
171 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
project: datcom-store | ||
instance: dc-kg-test | ||
database: dc_graph | ||
database: dc_graph_2 |
111 changes: 111 additions & 0 deletions
111
internal/server/spanner/golden/query/get_node_edges_by_id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"Aadhaar": [ | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "extendedName", | ||
"ObjectID": "Aadhaar", | ||
"ObjectValue": "Aadhaar", | ||
"Provenance": "dc/base/BaseSchema" | ||
}, | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "extendedName", | ||
"ObjectID": "Aadhaar", | ||
"ObjectValue": "Aadhaar", | ||
"Provenance": "dc/base/BaseSchema" | ||
}, | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "name", | ||
"ObjectID": "Aadhaar", | ||
"ObjectValue": "Aadhaar", | ||
"Provenance": "dc/base/BaseSchema" | ||
}, | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "typeOf", | ||
"ObjectID": "GovernmentIdEnum", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/BaseSchema" | ||
}, | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "typeOf", | ||
"ObjectID": "GovernmentIdenitifierEnum", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/BaseSchema" | ||
}, | ||
{ | ||
"SubjectID": "Aadhaar", | ||
"Predicate": "name", | ||
"ObjectID": "Aadhaar", | ||
"ObjectValue": "Aadhaar", | ||
"Provenance": "dc/base/BaseSchema" | ||
} | ||
], | ||
"Monthly_Average_RetailPrice_Electricity_Residential": [ | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "name", | ||
"ObjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"ObjectValue": "Average retail price of electricity, residential, monthly", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "extendedName", | ||
"ObjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"ObjectValue": "Average retail price of electricity, residential, monthly", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "measurementQualifier", | ||
"ObjectID": "Monthly", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "statType", | ||
"ObjectID": "meanValue", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "typeOf", | ||
"ObjectID": "StatisticalVariable", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "measuredProp", | ||
"ObjectID": "retailPrice", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "name", | ||
"ObjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"ObjectValue": "Average retail price of electricity, residential, monthly", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "populationType", | ||
"ObjectID": "Electricity", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
}, | ||
{ | ||
"SubjectID": "Monthly_Average_RetailPrice_Electricity_Residential", | ||
"Predicate": "consumingSector", | ||
"ObjectID": "Residential", | ||
"ObjectValue": "", | ||
"Provenance": "dc/base/HumanReadableStatVars" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters