i.e. complains if rdfs:label has chars that aren't in [^a-zA-Z0-9_ ].
Added a test for rdfs:label being simple chars.
@RichardWallis - I don't think this is running against the data/ext/health-lifesci/*rdfa data - can we do that easily?
path = 'data/ext/'
files = [os.path.join(dirpath, f)
for dirpath, dirnames, files in os.walk(path)
for f in fnmatch.filter(files, '*.rdfa')]
for f in files:
This could plug in around https://github.com/schemaorg/schemaorg/blob/sdo-deimos/tests/test_graphs.py#L51 ...?
This now runs across extension data too thanks to @RichardWallis 's #1168
Removed bib: and schema: prefixed labels.
Fixed in #1168