-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_schema.xml
33 lines (33 loc) · 2.32 KB
/
data_schema.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<dataSchema>
<RelationshipElement name="Site - Site Child" type="hierarchical" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://reln">
<description>A 1-to-n relationship between the parent and its children, respectively.</description>
<parent semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://relnParent" >Parent Of</parent>
<child semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://relnChild" >Child Of</child>
</RelationshipElement>
<ArchaeologicalElement name="Site" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://site">
<description/>
<property name="Test Attrib" isIdentifier="true" type="vocab" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://testAttrib">
<description/>
<formatString><![CDATA[{{if $1 then $1}}{{if and($1, $2) then " " }}{{if $2 then $2}}{{if $3 then " ($3)"}}{{if between($4,0,0.49) then "??" elsif lessThan($4,1) then "?" }}]]></formatString>
<appendCharacterString><![CDATA[ - ]]></appendCharacterString>
<lookup>
<term semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://term">{Test_term}
<description/></term>
</lookup>
</property>
<property name="Link to Child" type="measure" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://linktoChild">
<description/>
<formatString><![CDATA[{{if $1 then $1}}{{if and($1, $2) then " " }}{{if $2 then $2}}{{if $3 then " ($3)"}}{{if between($4,0,0.49) then "??" elsif lessThan($4,1) then "?" }}]]></formatString>
<appendCharacterString><![CDATA[ - ]]></appendCharacterString>
</property>
</ArchaeologicalElement>
<ArchaeologicalElement name="Site Child" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://siteChild">
<description/>
<property name="Site Child Attrib" isIdentifier="true" type="measure" semanticMapRelationshipSKOS="skos:closeMatch" semanticMapURL="http://siteChildattrib">
<description/>
<formatString><![CDATA[{{if $1 then $1}}{{if and($1, $2) then " " }}{{if $2 then $2}}{{if $3 then " ($3)"}}{{if between($4,0,0.49) then "??" elsif lessThan($4,1) then "?" }}]]></formatString>
<appendCharacterString><![CDATA[ - ]]></appendCharacterString>
</property>
</ArchaeologicalElement>
</dataSchema>