Skip to content

Instantly share code, notes, and snippets.

@davidino
Created May 29, 2011 10:45
Show Gist options
  • Select an option

  • Save davidino/997642 to your computer and use it in GitHub Desktop.

Select an option

Save davidino/997642 to your computer and use it in GitHub Desktop.
some result
{ "schema": {
"id": 16,
"name": "GraphMotocycle",
"properties":{
"inEdges":{
"id": 1,
"name": "inEdges",
"type": "LINKSET",
"mandatory": false,
"notNull": false,
"min": null,
"max": null
},
"outEdges":{
"id": 0,
"name": "outEdges",
"type": "LINKSET",
"mandatory": false,
"notNull": false,
"min": null,
"max": null
}
}
},
"result": [{
"@type": "d", "@rid": "#22:0", "@version": 1, "@class": "GraphMotocycle",
"inEdges": ["#19:0"],
"model": "X-City 250",
"brand": "Yamaha",
"year": 2009
}, {
"@type": "d", "@rid": "#22:1", "@version": 0, "@class": "GraphMotocycle",
"model": "X-City 250",
"brand": "Yamaha",
"year": 2009
}, {
"@type": "d", "@rid": "#21:0", "@version": 1, "@class": "GraphCar",
"model": "Coupe",
"outEdges": ["#19:0"],
"brand": "Hyundai",
"year": 2003
}, {
"@type": "d", "@rid": "#21:1", "@version": 0, "@class": "GraphCar",
"model": "Coupe",
"brand": "Hyundai",
"year": 2003
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment