W3C home > Mailing lists > Public > public-socialweb@w3.org > March 2015

Reusing known predicates to discover relevant Containers/Collections

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Sat, 21 Mar 2015 20:59:05 +0100
Message-ID: <550DCD89.6070602@wwelves.org>
To: "public-socialweb@w3.org" <public-socialweb@w3.org>
Howdy!

This topic relates to our resolution from F2F
"RESOLVED: the WG will prefer follow-your-nose architecture in the API
candidates we consider"

http://socialwg.indiewebcamp.com/irc/social/2015-03-18/line/1426710400225

Hydra CG experiments with Collection design which allows reusing
existing properties/predicates also with *inverse* direction

https://www.w3.org/community/hydra/wiki/Collection_Design#Inverse_Relationship

I don't know if LDP containers allow something similar (if someone knows
that they do, please provide equivalent snippet to the inverse one in
hydra:Collection example)

Also in log below you can find my suggestion to possibly use
ldp:membershipResource in reverse direction to 'follow my nose' to
relevant containers:
http://socialwg.indiewebcamp.com/irc/social/2015-03-18/line/1426698159622

e.g.
{
  "@id": "#it",
  "@reverse": {
    "ldp:membershipResource": {
      "@type": "ldp:DirectContainer"
    }
  }
}


In current daft of AS2.0 vocabulary you can find one interesting
property defined as:replies

http://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies

as:replies a owl:ObjectProperty ;
  rdfs:label "replies"@en ;
  rdfs:range as:Collection ;
  rdfs:domain as:Object .

please notice rdfs:range as:Collection
while as:inReplyTo exists and could get simply used as inverse property

http://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto

as:inReplyTo a owl:ObjectProperty ;
  rdfs:label "inReplyTo"@en ;
  rdfs:domain as:Object ;
  rdfs:range [
    a owl:Class ;
    owl:unionOf ( as:Object as:LinkNotHandler )
  ] .

even if one wanted to define as:reply as inverse of as:inReplyTo, I
would still consider it unnecessary to define special case of properties
only so that they could accept a Collection/Container as their value.

Cheers!


Received on Saturday, 21 March 2015 19:59:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 December 2016 15:48:20 UTC