【发布时间】:2017-10-10 21:03:05
【问题描述】:
如果我有类似的数据
@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 .
我想说的是学生或老师,他们可能是零个或多个足球、棒球或橄榄球运动员,我该如何在 ShEx 中写出来?我知道这适用于一种弧:
my:person {
a [my:Student my:Teacher]
}
【问题讨论】:
标签: rdf semantic-web shex