W3C home > Mailing lists > Public > public-socialweb@w3.org > October 2014

Let's try SWAT0 all together (former: Photo)

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Wed, 29 Oct 2014 10:38:54 +0100
Message-ID: <5450B5AE.7080407@wwelves.org>
To: public-socialweb@w3.org, Sam Goto <goto@google.com>, danbri@google.com, public-socialweb-comments@w3.org
Sweet!

I uploaded Social WG group photo to:
https://www.w3.org/wiki/File:20141028_180046.jpg

Now we can all try massive SWAT0 \o/
http://www.w3.org/2005/Incubator/federatedsocialweb/wiki/SWAT0

Let's start with as:Activity used together with schema:Action, please
note misalignments, also after extending JSON-LD schema.org will still
not understand it since it maps to as:object & as:result, not s:object &
s:result :(

{
  "@context": [
    "http://asjsonld.mybluemix.net/",
    { "s": "http://schema.org/" }
],
  "@type": ["Activity", "s:PhotographAction"],
  "actor": {
    "@type": "s:Person",
    "@id": "http://www.hawke.org/sandro"
    "displayName": "Sandro Hawke"
  },
  "s:agent": {            *<-- currently need to repeat :'(*
    "@type": "s:Person",
    "@id": "http://www.hawke.org/sandro"
    "s:name": "Sandro Hawke"
  },
  "object": [             *<-- no need in this case to use as:tag*
    "http://tantek.com",
    "http://www.ibiblio.org/hhalpin",
    "http://rhiaro.co.uk/",
    "http://www.hawke.org/sandro",
    "https://e14n.com/evan",
    ...
  ],
  "result": {
    "@type": ["s:Photograph", "s:ImageObject],
    "@id": "https://www.w3.org/wiki/File:20141028_180046.jpg",
    "potentialAction": {
      "@type": "s:CommentAction",
      "using": {
        "@type": "PotentialActionHandler",
        ...
      },
      "s:target": {       *<-- currently need to repeat :'(*
        "@type": "EntryPoint",
        ...
      }
    }
  }
}

Next step? Publish with MicroPub[1] and federate with WebMention[2]?

Can we define PotentialActionHandler/EntryPoint of CommentAction to
require comments via WebMention? Maybe worth discussing this example
today during Social WG + Schema.org session - 9:15AM[3] :)

Good luck!


[1] http://indiewebcamp.com/micropub
[2] http://indiewebcamp.com/webmention
[3] https://www.w3.org/wiki/TPAC2014/SessionIdeas#Schema.org_and_Social_WG
Received on Wednesday, 29 October 2014 09:41:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:26:13 UTC