- From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
- Date: Wed, 25 Mar 2015 15:19:41 +0100
- To: James M Snell <jasnell@gmail.com>
- CC: public-socialweb@w3.org
- Message-ID: <5512C3FD.8040106@wwelves.org>
On 03/25/2015 02:08 PM, James M Snell wrote:
> On Mar 25, 2015 3:38 AM, "☮ elf Pavlik ☮" <perpetual-tripper@wwelves.org>
> wrote:
>>
>> Hi James,
>>
>> On 03/24/2015 07:37 PM, James M Snell wrote:
>>> Right now, the Vocabulary models "Connect" and "FriendRequest" as
>>> Activity types. E.g.
>>>
>>> to say "John requested a connection with Sally" or "John sent Sally a
>>> friend request", we'd use something like:
>>>
>>> {
>>> "@type": "Connect",
>>> "actor": "http//john.example.org",
>>> "object": "http://sally.example.org"
>>> }
>>>
>>> However, in many systems, Connections between people are modeled as
>>> distinct artifacts and organized into collections... that is, the
>>> relationships themselves are modeled as Objects with a distinct
>>> lifecycle.
>> I would also see it modeled not as an artifact (Thing/Object) but as
>> Statement (triple) entity + attribute + value (or subject predicate
>> object). I see Entity Attribute Value ~= Subject Predicate Object.
>>
>> {
>> "@type": "Person",
>> "@id": "https://wwelves.org/perpetual-tripper",
>> "name": "elf Pavlik",
>> "friend": [
>> {
>> "@type": "Person",
>> "@id": "http://www.chmod777self.com/",
>> "name": "James M Snell",
>> }, {
>> "@type": "Person",
>> "@id": "http://rhiaro.co.uk/",
>> "name": "Amy Guy",
>> }
>> ]
>> }
>>
>
> -1. This misses the point. We have to be able to model activities in which
> the connections themselves are objects. This means we need to model either
> the act of connecting or model the connection as a noun.
Could you please provide equivalent to what I wrote above using your way
of modeling? I will soon demonstrated with modeling above queries like:
"My friends who live in Paris and offer accommodation (~couchsufring)".
I wonder how you plan to query the data modeled in a way you propose.
Where, as I understood it, friendships use' Qualified Relation' pattern.
* http://patterns.dataincubator.org/book/qualified-relation.html
Received on Wednesday, 25 March 2015 14:19:57 UTC