<relation>
<relation> (relationship) 指定された参加者グループ間の関連性の種類を示す. [13.3.2.3 Personal Relationships] | |||||||||||||||||||||||||
モジュール | namesdates — Names, Dates, People, and Places | ||||||||||||||||||||||||
属性 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @instant) att.canonical (@key, @ref) att.sortable (@sortKey) att.typed (@type, @subtype)
| ||||||||||||||||||||||||
上位 | core: listBibl namesdates: listEvent listNym listObject listOrg listPerson listPlace listRelation | ||||||||||||||||||||||||
下位 | core: desc | ||||||||||||||||||||||||
解説 | 属性activeか属性mutualのどちらかのみが付与さ れる.属性passiveは,属性activeが付与されて いる場合にのみ使用される.どのスキーマ言語でも,全ての構成要素が使 われるというものではない. | ||||||||||||||||||||||||
例 | This indicates that the person with identifier p1 is supervisor of persons p2, p3, and p4. | ||||||||||||||||||||||||
例 | This indicates that p2, p3, and p4 are all friends. | ||||||||||||||||||||||||
例 | <relation type="CRM" name="P89_falls_within" active="http://id.clarosnet.org/places/metamorphoses/place/italy-orvieto" passive="http://id.clarosnet.org/places/metamorphoses/country/IT"/> This indicates that there is a relation, defined by CIDOC CRM, between two resources identified by URLs. | ||||||||||||||||||||||||
例 | <relation resp="http://viaf.org/viaf/44335536/" ref="http://purl.org/saws/ontology#isVariantOf" active="http://www.ancientwisdoms.ac.uk/cts/urn:cts:greekLit:tlg3017.Syno298.sawsGrc01:divedition.divsection1.o14.a107" passive="http://data.perseus.org/citations/urn:cts:greekLit:tlg0031.tlg002.perseus-grc1:9.35"/> This example records a relationship, defined by the SAWS ontology, between a passage of text identified by a CTS URN, and a variant passage of text in the Perseus Digital Library, and assigns the identification of the relationship to a particular editor (all using resolvable URIs). | ||||||||||||||||||||||||
Schematron | <s:assert test="@ref or @key or @name">One of the attributes 'name', 'ref' or 'key' must be supplied</s:assert> | ||||||||||||||||||||||||
Schematron | <!-- Note: this constraint is pointless in RELAX NG land, where the org=choice works. It is useful in DTD land, where the attList/@org has no effect. It looks to me like it is useful in W3C XML Schema land, too, which I find suprising, as I thought XSD could express a disjuntion like that w/o difficulty. (But I may be reading the XSD incorrectly.) — Syd, 2018-05-01 --> <s:report test="@active and @mutual">Only one of the attributes @active and @mutual may be supplied</s:report> | ||||||||||||||||||||||||
Schematron | <s:report test="@passive and not(@active)">the attribute 'passive' may be supplied only if the attribute 'active' is supplied</s:report> | ||||||||||||||||||||||||
Content model | <content> | ||||||||||||||||||||||||
宣言 | <rng:element name="relation"> element relation { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.datable.attributes, att.datable.w3c.attributes, att.datable.iso.attributes, att.datable.custom.attributes, att.editLike.attributes, att.canonical.attributes, att.sortable.attributes, att.typed.attributes, attribute name { teidata.enumerated }?, ( attribute active { list { teidata.pointer+ } }? | attribute mutual { list { teidata.pointer+ } }? ), attribute passive { list { teidata.pointer+ } }?, desc? } |