Empty semicolon
This is valid:
<s>
:p1 <o1>;
:p2 <o2>;
.
It is useful because you don't need to tweak the last statement before you add a new one.
- It's widely used eg by TQ (right @HolgerKnublauch?)
- It's especially useful when you're generating turtle because you don't need to keep track which is the last statement
Empty comma
But this is not valid:
Here's a real example where I want it (processed a list of prefixes to make sh:declare):
@base <https://transparency.ontotext.com/resource/>.
@prefix tr: <https://transparency.ontotext.com/resource/tr/>.
@prefix dash: <http://datashapes.org/dash#> .
<shape> a owl:Ontology; rdfs:label 'TEKG Shapes';
sh:declare
[sh:prefix 'tr'; sh:namespace 'https://transparency.ontotext.com/resource/tr/'],
[sh:prefix 'dash'; sh:namespace 'http://datashapes.org/dash#'],
.
Empty dot
Similarly, this is not valid:
Why would I want an empty dot? Because when generating, it's often easier to know when a block starts not necessarily when it ends.
@afs , @ericprud what do you think?
Empty semicolon
This is valid:
It is useful because you don't need to tweak the last statement before you add a new one.
Empty comma
But this is not valid:
Here's a real example where I want it (processed a list of prefixes to make
sh:declare):Empty dot
Similarly, this is not valid:
Why would I want an empty dot? Because when generating, it's often easier to know when a block starts not necessarily when it ends.
@afs , @ericprud what do you think?