I am really confused what is @id used for in json-ld syntax. Sample from apple.com. What does @id actually represent. Any help would be great?
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@id": "http://www.apple.com/#organization",
"@type": "Organization",
"url": "http://www.apple.com/",
"logo": "https://www.apple.com/ac/structured-data/images/knowledge_graph_logo.png?201608191052",
"contactPoint": [
{
"@type": "ContactPoint",
"telephone": "+1-800-692-7753",
"contactType": "sales",
"areaServed": [ "US" ]
}
],
"sameAs": [
"http://www.wikidata.org/entity/Q312",
"https://www.youtube.com/user/Apple",
"https://www.linkedin.com/company/apple"
]
}
@idandurl), yes. In the case of pages, they would typically have the same URI as value; in the case of other items, they would typically have different URIs as value (@idfor the thing,urlfor the page about that thing). -- To be sure that we’re on the same page: With hash-based ID, you mean Hash URLs in the context of Linked Data, not in the context of single-page applications / JavaScript-based sites, right? – unor Jun 06 '19 at 14:11