RE: How to avoid that collections "break" relationships

Alternative suggestion from the spectator seat:

> Let's assume we want to build a Web API that exposes information about persons
> and their friends. Using schema.org, your data would look somewhat like this:
> 
>   </markus> a schema:Person ;
>             schema:knows </alice> ;
>             ...
>             schema:knows </zorro> .
> 
> All this information would be available in the document at /markus (please
> let's not talk about hash URLs etc. here, ok?). Depending on the number of
> friends, the document however may grow too large.

</markus> a schema:Person ;
          rdfs:seeAlso </markus/friends/> .
</markus/friends/> foaf:topic schema:knows .

And in </markus/friends/> (or its redirection target):

</markus> schema:knows </alice>, 
                       ...
                       </zorro> .

Replace foaf:topic with appropriate schema: properyy if necessary.

Tore

Received on Wednesday, 26 March 2014 23:34:39 UTC