Menu

Prototype Phase

Andreas Vlachidis

ex:JAPE Grammar
rdfs:label "Prototype 01";
ex:pattern
{Lookup.majorType == “Physical Object”}
;
rdfs:comment "Annotate Lookup via MajorType. The grammar matches Lookup of majorType E19.Physical Object".
.
ex:JAPE Grammar
rdfs:label "Prototype 02";
ex:pattern
{Lookup.majorType == “Physical Object”}
;
rdfs:comment "The grammar matches Lookup of ontological class EHE0007.Context".
.
ex:JAPE Grammar
rdfs:label "Prototype 02";
ex:pattern
{Lookup.class == "EHE0007.Context"}
;
rdfs:comment "Annotate Lookup via Ontological Reference The grammar matches Lookup of ontological class EHE0007.Context"
.
ex:JAPE Grammar
rdfs:label "Prototype 03";
ex:pattern
({Token.category== VBN}{Context})|
({Token.category== JJ}{Context})|
({Token.category== CD}{Context})
;
rdfs:comment "Extend initial Lookup to include moderators. The grammar extends initial Context Lookup towards passive voice verb (VBN), adjectives (JJ) and cardinal numbers (CD)"
.
ex:JAPE Grammar
rdfs:label "Prototype 04";
ex:pattern
({Lookup.minorType == Date_Prefix}{TimeAppellation}{Lookup.minorType==Date_Post})|
({Lookup.minorType == Date_Prefix}{TimeAppellation}|
{TimeAppellation}{Lookup.minorType == Date_Post})
;
rdfs:comment "The grammar matches three different cases of Time Appellation expansion. a) Expansion towards prefix and suffix i.e. Early Roman Period, b) Expansion only towards prefix i.e. Early Mediaeval, and c) Expansion only towards suffix i.e. “Prehistoric period"
.
ex:JAPE Grammar
rdfs:label "Prototype 05";
ex:pattern
({Lookup.minorType == Date_Prefix}{TimeAppellation}{Lookup.minorType==Date_Post})|
({Lookup.minorType == Date_Prefix}{TimeAppellation}|
{TimeAppellation}{Lookup.minorType == Date_Post})
;
rdfs:comment "The grammar matches pairs of Lookup annotation i.e. 'Roman Coin'"
.
ex:JAPE Grammar
rdfs:label "Prototype 06";
ex:pattern
{Context}
({Token.kind==word}|{Token.category==","})
{VG}
({Token.kind==word}|{Token.category==","})

{PhysicalObject}
;
rdfs:comment "The grammar matches phrases that connect Lookup annotation via verbs phrases i.e. 'pits containing pottery'"
.
ex:JAPE Grammar
rdfs:label "Prototype 07";
ex:pattern
{Lookup.majorType== “Negation”}
({Token.kind == word})[0,10]
({PhysicalObject}|{TimeAppellation}|{Context})
;
rdfs:comment "TThe grammar matches negation phrases followed by an offset of maximum 10 word tokens and Lookup annotations i.e. 'No evidence of pottery'"
.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.