ex:JAPE Grammar
rdfs:label "Conjunction pattern 01";
ex:pattern
({Token.category=="JJ"}|{Token.category=="VBD"}|
{Token.category=="VBN"}|{Token.category=="CD"):A_Part
({E19}):B_Part
;
rdfs:comment "An adjective, a passive voice verb, or a cardinal number is preceding a E19.Physical_Object entity. The grammar matches the immediate moderator of the entity and includes it within an expanded entity annotation span. For example 'worked flint', 'ten sherds', 'red brick' etc"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 02";
ex:pattern
({Token.category=="JJ"}|{Token.category=="VBD"}|
{Token.category=="VBN"}|{Token.category=="CD"):A_Part
({E53}):B_Part
;
rdfs:comment "An adjective, a passive voice verb, or a cardinal number is preceding a E53.Place entity. The grammar matches the immediate moderator of the entity and includes it within an expanded entity annotation span. For example, “three layers”, “alluvial deposits”, “uncovered structures” etc"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 03";
ex:pattern
(({Lookup.majorType=="Period Prefix"})?):Prefix
({E49}):TimeAppellation
(({Lookup.majorType=="Period Suffix"})?):Suffix
;
rdfs:comment "A period prefix gazetteer entry precedes a E49.Time_Appellation entity, or a period suffix succeeds a E49.Time_Appellation entity, or both a period prefix and a period suffix combine with a E49.Time_Appellation entity. The grammar matches any of the above three cases and includes prefix and/or suffix terms within the expanded boundaries of an E49 annotation span, for example, 'late Roman', 'Roman period' and 'late Roman period'. Note that as with the previous expansion cases, Time Appellation related gazetteer entries might already contain a prefix operator, as in the case of 'Post Medieval', which is a different entry from 'Medieval', having a distinct SKOS reference. The expansion rule can expand to include prefixes of such gazetteer entries, as for example 'Late Post Medieval' "
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 04";
ex:pattern
({Token.category=="JJ"}|{Token.category=="VBD"}|
{Token.category=="VBN"}:A_Part
({E57}):B_Part
;
rdfs:comment "An adjective or a passive voice verb is preceding a E57.Material entity. The grammar matches the immediate moderator of the entity and includes it within an expanded entity annotation span. For example, 'large stone', 'tempered fabric' etc"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 05";
ex:pattern
({E49}):TimeAppellation
({Token.kind == "punctuation", !Exclude})?
({Token.kind == "word", !Exclude})[0,2]
({E49}):TimeAppellation2
;
rdfs:comment "Two E49.Time_Appellation entities conjunct with punctuation other than a full-stop, or a comma, or conjunct with a maximum of two words other than 'and' and 'or'. The grammar unifies the two Time Appellation entities under a single annotation span that carries two distinct SKOS terminological references. For example, the phrases 'Medieval/Post Medieval', 'Late Bronze Age – Iron Age', 'Norman to Medieval' and 'Mesolithic to the Post Medieval' produce unified Time Appellation spans which carry two SKOS references of the conjunct terms"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 06";
ex:pattern
({E49}):TimeAppellation
({Token.kind == "punctuation", !Exclude})?
({Token.kind == "word", !Exclude})[0,2]
(({Lookup.majorType == "Ordinal", !Entity}{Lookup.majorType
== "Period Suffix", !Entity})
;
rdfs:comment "A Time Appellation (E49) entity (which might be followed by a punctuation other than a full-stop, or a comma, or might be followed by a maximum of two words other than 'and' and 'or') is followed by an Ordinal and a Suffix Lookup, for example, “Post-Medieval to 19th century”. The grammar produces a large annotation span including both Time Appellation and Ordinal and Suffix spans. When the latter spans do not enjoy unique terminological resources because they originate from flat gazetteer listings, the final annotation span has a single SKOS reference which originates from the Time Appellation (E49) entity"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 07";
ex:pattern
(({Lookup.majorType == "Ordinal",!Entity}|
{Lookup.majorType == "Period Prefix", !Entity})
({Lookup.majorType == "Period Suffix", !Entity})?):TimeAppellation
({Token.kind == "punctuation",!Exclude})?
({Token.kind == "word",!Exclude})[0,2]
({E49}):TimeAppellation2
;
rdfs:comment "This is a reverse version of the above grammar. Thus a Prefix period listing or an Ordinal (which might be followed by a punctuation other than a full-stop, or a comma, or might be followed by a maximum of two words other than 'and' and 'or') is followed by E40.Time_Appellation entity, for example, 'early to middle Iron Age'"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 08";
ex:pattern
{E49}
(({Token.string =="and"}|{Token.string =="or"}|
{Token.category ==","})({Token.category=="DT"}|
{Token.category=="RB"})?
{E49})+
;
rdfs:comment "A E49.Time _Appellation entity conjunct with one or more Time Appellation (E49) entities via 'and', 'or', and 'comma', for example, 'Iron Age, Roman and Medieval period'. The grammar produces a new annotation span of type E49Conjunction which includes all E49 entities"
.
ex:JAPE Grammar
rdfs:label "Conjunction pattern 09";
ex:pattern
{E19}
(({Token.string =="and"}|{Token.string =="or"}|
{Token.category ==","})({Token.category=="DT"}|
{Token.category=="RB"})?
({E57})?
{E19})+
;
rdfs:comment "the rule produces new annotation spans of type E19Conjunction. The current grammar allows matching of materials which describe objects (together with adverbs and determiners) in the case of E19.Physical_Object conjunction, for example 'brick, coins and iron arrowheads'"
.