## 12.9. Relationship Querying

This section describes procedures that can be used to query relationships.

Table 12.54. Functions
`apoc.rel.id(rel)` | returns id for (virtual) relationships
`apoc.rel.type(rel)` | returns type for (virtual) relationships
`apoc.any.properties(rel, )` | returns properties for virtual and real rels. Optionally restrict via keys.
`apoc.any.property(rel)` | returns property for virtual and real rels

Table 12.55. Procedures
`CALL apoc.get.rels(rel|id|[ids])` | quickly returns all relationships with these ids