<relation>
<relation> (relationship) describes any kind of relationship or linkage amongst a specified group of objects, places, events or people. [15.2.2 The Participant Description] | |||||||||||||||||||||||||||||||||||||||||
組件 | namesdates — 13 Names, Dates, People, and Places | ||||||||||||||||||||||||||||||||||||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) 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, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.canonical (@key, @ref) att.sortable (@sortKey)
| ||||||||||||||||||||||||||||||||||||||||
屬於 | |||||||||||||||||||||||||||||||||||||||||
可包含在於 | namesdates: listEvent listNym listOrg listPerson listPlace listRelation relationGrp | ||||||||||||||||||||||||||||||||||||||||
可包含 | core: desc | ||||||||||||||||||||||||||||||||||||||||
宣告 |
element relation { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.datable.attributes, att.datable.w3c.attributes, att.datable.iso.attributes, att.datable.custom.attributes, att.editLike.attributes, att.dimensions.attributes, att.ranging.attributes, att.responsibility.attributes, att.canonical.attributes, att.sortable.attributes, attribute type { "social" | "personal" | "other" | xsd:Name }?, attribute name { data.enumerated }, ( attribute active { list { data.pointer, data.pointer* } }? | attribute mutual { list { data.pointer, data.pointer* } }? ), attribute passive { list { data.pointer, data.pointer* } }?, desc? } | ||||||||||||||||||||||||||||||||||||||||
Schematron | <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> | ||||||||||||||||||||||||||||||||||||||||
例子 |
<relation
type="social" name="supervisor" active="#p1" passive="#p2 #p3 #p4"/> This indicates that the person with identifier p1 is supervisor of persons p2, p3, and p4. | ||||||||||||||||||||||||||||||||||||||||
例子 |
<relation type="personal" name="friends" mutual="#p2 #p3 #p4"/>
This indicates that p2, p3, and p4 are all friends. | ||||||||||||||||||||||||||||||||||||||||
例子 |
<relation
type="CRM" name="P87_is_identified_by" active="http://id.clarosnet.org/places/ashmol/placecode/22584" passive="http://id.clarosnet.org/places/ashmol/placename/orvieto"/> This indicates that there is a relation, defined by CIDOC CRM, between two resources identified by URLs. |