Supponiamo che io sono questo semplice pagina HTML di un ragazzo ottenere un lavoro:Come posso correlare gli articoli in schema.org?
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>New Job for John Doe</title>
</head>
<body>
<h1>New Job for John Doe</h1>
<p>This week John Doe accepted an offer to become a Software Engineer at MITRE. John graduated from MIT in 2005 with a BS in Computer Science. He previously worked at a small company near Boston. Blah, blah, blah.</p>
<p>The MITRE Corporation is a not-for-profit organization chartered to work in the public interest. The MITRE Corporation has two principal locations: Bedford, Massachusetts, and McLean, Virginia. Blah, blah, blah.</p>
</body>
</html>
Se aggiungo dati semantici utilizzando il vocabolario schema.org, potrebbe assomigliare a questo:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>New Job for John Doe</title>
</head>
<body>
<h1>New Job for John Doe</h1>
<p itemscope itemtype="http://schema.org/Person">This week John Doe accepted an offer to become a <span itemprop="jobTitle">Software Engineer</span> at <span itemprop="worksFor">MITRE</span>. John graduated from <span itemprop="alumniOf">MIT</span> in 2005 with a BS in Computer Science. He previously worked at a small company near Boston. Blah, blah, blah.</p>
<p itemscope itemtype="http://schema.org/Corporation">The MITRE Corporation is a not-for-profit organization chartered to work in the public interest. The MITRE Corporation has two principal locations: <span itemprop="location">Bedford, Massachusetts</span>, and <span itemprop="location">McLean, Virginia</span>. Blah, blah, blah.</p>
</body>
</html>
La prima il paragrafo riguarda ovviamente la persona, John Doe, e il secondo paragrafo riguarda un'azienda, la MITRE Corporation. Ma il "MITRE" nel primo paragrafo è lo stesso di "The MITER Corporation" nel secondo. Come faccio a dichiarare esplicitamente che si tratta della stessa cosa usando schema.org?
Ho provato quello, [non sembrava che effettivamente influenzato il modello di dati] (http://goo.gl/agxIv). – robertc
itemref viene utilizzato solo per puntare a proprietà aggiuntive per un ItemCope. Quindi in questo caso quel tag dovrebbe anche essere un itemtype della corporation. e il tag con id = "The MitreCorporation" non può essere un itemcope. –