Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Each term definition should end with a period / full stop, i.e. ".". #294
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
There are some corner cases and details:
Apart from those, e4a6b88 addresses about 100 easier cases.
After today's changes, the following terms match the SPARQL FILTER regex(str(?c), "[^.]\s*$":
GoodRelations-based terms that end with a list of URLs:
A next step could be to create a unit test to discourage the addition of term definitions that end without a final '.' - tracked as #250.
It would also be useful to improve the SPARQL filter to accept newlines and escaped '>' chars.