@base          <http://example.com/> .
@prefix hydra: <http://www.w3.org/ns/hydra/core#> .
@prefix code:  <https://code.described.at/> .

<api>
    hydra:supportedClass <Person> .

<Person>
    hydra:supportedOperation [ hydra:method       "GET" ;
                               code:implementedBy _:person-get ] ;
    hydra:supportedOperation [ hydra:method       "DELETE" ;
                               code:implementedBy [] ] ;
    hydra:supportedOperation [ hydra:method       "DELETE" ;
                               code:implementedBy [] ] ;
    hydra:supportedProperty  [ hydra:property <friends> ] ;
    hydra:supportedProperty  [ hydra:property <interests> ] ;
.

<friends>
    a                        hydra:Link ;
    hydra:supportedOperation [ hydra:method       "POST" ;
                               code:implementedBy _:friends-post ] ;
.

<interests>
    a                        hydra:Link ;
    hydra:supportedOperation [ hydra:method       "POST" ;
                               code:implementedBy _:interests-post ] ;
    hydra:supportedOperation [ hydra:method       "GET" ;
                               code:implementedBy [] ] ;
    hydra:supportedOperation [ hydra:method       "GET" ;
                               code:implementedBy [] ] ;
.
