diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-04-08 13:02:23 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:33 +0200 |
commit | 9d04fb897ffca7db1c6030125198345b2203e858 (patch) | |
tree | cdf212273ca5aecf1e88b5e77de09f6510f15e6e /testdata/integration/domain_interaction/book_ontology.osxml | |
parent | ea75789a02ed70d0cfa131ec615e2776f605d7dc (diff) |
renamed the osxml integration folder to domain_interaction because that seemed semantically more fitting.
Diffstat (limited to 'testdata/integration/domain_interaction/book_ontology.osxml')
-rw-r--r-- | testdata/integration/domain_interaction/book_ontology.osxml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testdata/integration/domain_interaction/book_ontology.osxml b/testdata/integration/domain_interaction/book_ontology.osxml new file mode 100644 index 0000000..2c615ca --- /dev/null +++ b/testdata/integration/domain_interaction/book_ontology.osxml @@ -0,0 +1,35 @@ +<?xml version="1.0" standalone="yes"?> +<!-- The ontology node is the root node of a single ontology definition --> +<ontology name="book"> + <struct name="book" cardinality="{1}" root="true"> + <field> + <childRef ref="book.chapter"/> + <childRef ref="book.paragraph"/> + </field> + </struct> + <struct name="chapter"> + <field> + <childRef ref="book.section"/> + <childRef ref="book.paragraph"/> + </field> + </struct> + <struct name="section"> + <field> + <childRef ref="book.subsection"/> + <childRef ref="book.paragraph"/> + </field> + </struct> + <struct name="subsection"> + <field> + <childRef ref="book.paragraph"/> + </field> + </struct> + <struct name="paragraph" transparent="true"> + <field> + <childRef ref="book.text"/> + </field> + </struct> + <struct name="text" transparent="true"> + <primitive type="string"/> + </struct> +</ontology> |