Schema.org Scholarly Article¶
A Schema.org ScholarlyArticle must have a name, at least one author, and exactly one publication date.
About This Example¶
This example uses Schema.org vocabulary to model a scholarly article with SHACL constraints:
| Property | Constraint | Meaning |
|---|---|---|
schema:name |
[1..*] |
Every article must have at least one title |
schema:author |
[1..*] |
At least one author is required |
schema:datePublished |
[1..1] |
Exactly one publication date |
Try It¶
- Click Edit & Validate to open the inline editor
- Try removing
schema:authororschema:datePublishedand click Validate to see constraint violations - Click any edge to inspect the property details and cardinality
- Use Edit Layout to customize the visual appearance