w3c / csvw

Documents produced by the CSV on the Web Working Group
Other
162 stars 57 forks source link

minor clarification re schema.org in primer/#example-78 #876

Open VladimirAlexiev opened 3 years ago

VladimirAlexiev commented 3 years ago

if modelled according to the schema.org vocabulary, would look like:

EXAMPLE 78

[{
  "@type": "schema:Country",
  "schema:name": ["Austria", "Autriche", "Österreich"],
  "schema:geo": {
    "@type": "schema:GeoCoordinates",
    "schema:latitude":47.6965545,
    "schema:longitude":13.34598005
  }

But latitude,longitude are in fact allowed for http://schema.org/Country, so the most natural way to output that would be

[{
  "@type": "schema:Country",
  "schema:name": ["Austria", "Autriche", "Österreich"],
  "schema:latitude":47.6965545,
  "schema:longitude":13.34598005
 }

Can you please change the intro text before EXAMPLE 78 to be:

One way to model coordinates according to the schema.org vocabulary is like this: