Skip to content

Commit

Permalink
Update inheritance_correct.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora-Olivia-Ammann committed Jan 31, 2025
1 parent df95140 commit f9ca893
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions testdata/validate-data/inheritance/inheritance_correct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
shortcode="9990"
default-ontology="onto">

<resource label="Resource0" restype=":Resource0" id="Resource0">
<resource label="inheritance_correct_for_shacl" restype=":ResourceSubCls1" id="inheritance_correct_for_shacl">
<text-prop name=":hasText0">
<text encoding="utf8">Text 0</text>
</text-prop>
</resource>

<resource label="ResourceSubCls1" restype=":ResourceSubCls1" id="ResourceSubCls1">
<text-prop name=":hasTextSubProp1">
<text encoding="utf8">Text 1</text>
</text-prop>
Expand All @@ -21,19 +18,13 @@
</text-prop>
</resource>

<resource label="ResourceSubCls2" restype=":ResourceSubCls2" id="ResourceSubCls2">
<text-prop name=":hasTextSubProp2">
<text encoding="utf8">Text 2</text>
<resource label="inheritance_correct_for_api" restype=":ResourceSubCls1" id="inheritance_correct_for_api">
<text-prop name=":hasTextSubProp1">
<text encoding="utf8">Text 1</text>
</text-prop>
<text-prop name=":nonRelatedProp">
<text encoding="utf8">Text non-related</text>
</text-prop>
</resource>

<resource label="ResourceUnrelated" restype=":ResourceUnrelated" id="ResourceUnrelated">
<text-prop name=":hasTextSubProp1">
<text encoding="utf8">hasTextSubProp1</text>
</text-prop>
</resource>

</knora>

0 comments on commit f9ca893

Please sign in to comment.