If I have data such as
@prefix my: <http://example.com/>
my:student1 a my:Student .
my:student1 a my:FoodballPlayer .
my:teacher2 a my:Teacher .
my:teacher2 a my:BaseballPlayer .
my:teacher2 a my:RugbyPlayer .
and I want to say that the subjects are students or teachers, and they can be zero or more football, baseball or rugby players, how can I write this in ShEx? I know this works for a single arc like:
my:person {
a [my:Student my:Teacher]
}
source
share