Skip to content

Each term definition should end with a period / full stop, i.e. ".". #294

@danbri

Description

@danbri

We have been consistently inconsistent with this, historically. The ideal that was agreed a while back was that labels are simple strings with no ".", matching the portion of the term URI after 'schema.org/', while the description (i.e. rdfs:comment) would most properly end with a period / full stop.

This can be checked, roughly, with a SPARQL query. See: http://dydra.com/danbri/schema-org/query#comments-not-ending

SELECT * WHERE { ?p rdfs:comment ?c FILTER regex(str(?c), "[^.]\\s*$") } 

There are some corner cases and details:

  • descriptions ending in markup
  • descriptions ending with a raw list of URLs (i.e. those from Good Relations where we enumerate external values)

Apart from those, e4a6b88 addresses about 100 easier cases.

Metadata

Metadata

Assignees

Labels

schema.org vocabGeneral top level tag for issues on the vocabularytype:cleanup + clarityAddresses wording fixes, ambiguities, confusion, bad examples etc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions