Skip to content

the schema.org context contains a duplicate key "geo" #3339

@pchampin

Description

@pchampin

... and some JSON parsers are choking on this.

More precisely, the first "geo" (line 17) is used as the common namespace prefix for http://www.opengis.net/ont/geosparql#, while the second one (line 1959) is a shortcut for http://schema.org/geo .

I think the best solution is to remove line 17:

  • the other declaration of "geo" is more directly useful for schema.org users
  • nowhere in the context is the geo: prefix used
  • in all the parsers that I have tested, line 1959 overrides line 17 anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions