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

Fwd: using schema:Role with inverse properties?

From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
Date: Tue, 10 Mar 2015 13:55:26 +0100
Message-ID: <54FEE9BE.2000506@wwelves.org>
To: W3C Credentials Community Group <public-credentials@w3.org>
Would Web Credentials work with *Qualified Relation* like schema:Role?
I'll try to come up with an example but if someone else can do it faster
- much appreciated!

* http://patterns.dataincubator.org/book/qualified-relation.html
* http://blog.schema.org/2014/06/introducing-role.html

Some more details below...


-------- Forwarded Message --------
Subject: using schema:Role with inverse properties?
Resent-Date: Tue, 10 Mar 2015 12:49:22 +0000
Resent-From: public-vocabs@w3.org
Date: Tue, 10 Mar 2015 13:49:08 +0100
From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
To: W3C Web Schemas Task Force <public-vocabs@w3.org>

Hello,

Looking at examples in http://schema.org/Role

{
  "@context": "http://schema.org",
  "@type": "CollegeOrUniversity",
  "name": "University of Cambridge",
  "sameAs": "http://en.wikipedia.org/wiki/University_of_Cambridge",
  "alumni": {
    "@type": "OrganizationRole",
    "alumni": {
      "@type": "Person",
       "name": "Delia Derbyshire",
      "sameAs": "http://en.wikipedia.org/wiki/Delia_Derbyshire"
    },
    "startDate": "1959"
  }
}

{
  "@context": "http://schema.org",
  "@type": "Person",
   "name": "Delia Derbyshire",
   "sameAs": "http://en.wikipedia.org/wiki/Delia_Derbyshire",
   "alumniOf": {
     "@type": "OrganizationRole",
     "alumniOf": {
       "@type": "CollegeOrUniversity",
       "name": "University of Cambridge",
       "sameAs": "http://en.wikipedia.org/wiki/University_of_Cambridge"
    },
    "startDate": "1959"
  }
}

Can I add *@id* to object with "@type": "OrganizationRole", and use same
@id for both of those objects?

I also think about using it with Web Credentials
http://opencreds.org/ (see embeded videos!!!)

My examples of MembershipCredential and AttendanceCredential in this email
* https://lists.w3.org/Archives/Public/public-credentials/2015Mar/0007.html

Cheers!







Received on Tuesday, 10 March 2015 12:55:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 July 2018 21:19:23 UTC