eg-0204
From
v29.4
JSON-LD
{
"@context": "https://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"
}
}RDFa
<div vocab="https://schema.org/" typeof="Person">
<span property="name">Delia Derbyshire</span>
<link property="sameAs" href="http://en.wikipedia.org/wiki/Delia_Derbyshire">
<div property="alumniOf" typeof="OrganizationRole">
<div property="alumniOf" typeof="CollegeOrUniversity">
<span property="name">University of Cambridge</span>
<link property="sameAs" href="http://en.wikipedia.org/wiki/University_of_Cambridge">
</div>
<span property="startDate">1959</span>
</div>
</div>Microdata
<div itemscope itemtype="https://schema.org/Person">
<span itemprop="name">Delia Derbyshire</span>
<link itemprop="sameAs" href="http://en.wikipedia.org/wiki/Delia_Derbyshire">
<div itemprop="alumniOf" itemscope itemtype="https://schema.org/OrganizationRole">
<div itemprop="alumniOf" itemscope itemtype="https://schema.org/CollegeOrUniversity">
<span itemprop="name">University of Cambridge</span>
<link itemprop="sameAs" href="http://en.wikipedia.org/wiki/University_of_Cambridge">
</div>
<span itemprop="startDate">1959</span>
</div>
</div>Pre-Markup
A JSON example of an OrganizationRole being used to qualify the 'alumniOf' property (which is inverseOf 'alumni'). Note that we use startDate to indicate when the alumniOf situation began, which was the date of leaving the organization.