An Introduction to Universal Networking Language UNL 1112020

  • Slides: 50
Download presentation
An Introduction to Universal Networking Language (UNL) 11/1/2020

An Introduction to Universal Networking Language (UNL) 11/1/2020

What is UNL? n n n Universal Networking Language (UNL) is a computer language

What is UNL? n n n Universal Networking Language (UNL) is a computer language that enables computers to process information and knowledge across the language barriers. It is an artificial language that replicates the functions of natural languages in human communication. It expresses information or knowledge in the form of semantic network with hyper-node. Unlike natural languages, UNL expressions are unambiguous. Although the UNL is a language for computers, it has all the components of a natural language. It is composed of Universal Words (UWs), Relations, Attributes. 11/1/2020 UNL Tutorial

UNL Expression n n John is reading a novel. UNL Hypergraph read(icl>do) agt John(iof>person)

UNL Expression n n John is reading a novel. UNL Hypergraph read(icl>do) agt John(iof>person) @entry. @present. @progress obj novel(icl>book) n UNL Expression [UNL] agt(read(icl>do) @entry. @present. @progress , John(iof>person)) >do) obj(read(icl>do) @entry. @present. @progress , novel(icl>book)) >do) [/UNL] 11/1/2020 UNL Tutorial

Universal Words (UWs) n n A UW represents simple or compound concepts. There are

Universal Words (UWs) n n A UW represents simple or compound concepts. There are two classes of UWs: n unit concepts n compound structures of binary relations grouped together ( indicated with Compound UW-Ids) A UW is made up of a character string (an English-language word) followed by a list of constraints. n <UW>: : =<Head Word>[<Constraint List>] 11/1/2020 UNL Tutorial

Types of UW n Basic UWs n n n They are bare Head Words

Types of UW n Basic UWs n n n They are bare Head Words with no Constraint List. They are character strings that correspond to an English word. A basic UW denotes all the concepts that may correspond to those in English. n n for example: n go n take n house Restricted UWs n n They are Head Words with a Constraint List. Each Restricted UW represents a more specific concept, or subset of concepts. 11/1/2020 UNL Tutorial

Types of UW (…continued) n n The Constraint List restricts the range of the

Types of UW (…continued) n n The Constraint List restricts the range of the concept that a Basic UW represents. n for example: n state(icl>express) n state(icl>country) n state(icl>abstract thing) n state(icl>government) Extra UWs n n n They are a special type of Restricted UW. Extra UWs denote concepts that are not found in English. Foreign-language words are used as Head Words using English (Alphabetical) characters. n for example: n n 11/1/2020 ikebana (icl>flower arrangement) kathak (icl>dance) UNL Tutorial

Relations n n A relation label is represented as strings of 3 characters or

Relations n n A relation label is represented as strings of 3 characters or less. The relations between UWs are binary. n n rel (UW 1, UW 2) They have different labels according to the different roles they play. At present, there are 41 relations in UNL For example, agt (agent), ins (instrument), pur (purpose), etc. 11/1/2020 UNL Tutorial

Attribute Labels n Attribute labels express additional information about the Universal Words that appear

Attribute Labels n Attribute labels express additional information about the Universal Words that appear in a sentence. n n They show what is said from the speaker’s point of view; how the speaker views what is said. (time, reference, emphasis, attitude, etc) @entry, @present, @progressive, @topic, etc. 11/1/2020 UNL Tutorial

The boy who works here went to school go(icl>move) @ entry @ past agt

The boy who works here went to school go(icl>move) @ entry @ past agt plt @ entry boy(icl>pers on) agt here plc work(icl> do) 11/1/2020 : 01 UNL Tutorial school(icl>institutio n)

The boy who works here went to school UNL expression: {UNL} agt(go(icl>move). @entry. @past,

The boy who works here went to school UNL expression: {UNL} agt(go(icl>move). @entry. @past, : 01) plt(go(icl>occur). @entry. @past, school(icl>institution)) agt: 01(work(icl>do), boy(icl>person. @entry)) plc: 01(work(icl>do), here) {/UNL} 11/1/2020 UNL Tutorial

agt Birds fly {UNL} n agt (fly(icl>do). @entry. @pres. @generic, bird(icl>fauna)@pl) {/UNL} n n

agt Birds fly {UNL} n agt (fly(icl>do). @entry. @pres. @generic, bird(icl>fauna)@pl) {/UNL} n n He is running. The students are attending this class 11/1/2020 UNL Tutorial

agt (agent) n n agt defines a thing that initiates an action. An agent

agt (agent) n n agt defines a thing that initiates an action. An agent is defined as the relation between: UW 1 - do, and UW 2 - a thing n where: n n n UW 2 initiates UW 1, or UW 2 is thought of as having a direct role in making UW 1 happen. agt (do, thing) 11/1/2020 UNL Tutorial

Obj n John wants a pen. {unl} agt(want. @entry. @present, John) obj(want. @entry. @present,

Obj n John wants a pen. {unl} agt(want. @entry. @present, John) obj(want. @entry. @present, pen. @indef) {/unl} n n n I have read a story. The ice melted. (ice is obj here) She prepared food for John. 11/1/2020 UNL Tutorial

obj (affected thing) n n n n Obj defines a thing in focus that

obj (affected thing) n n n n Obj defines a thing in focus that is directly affected by an event or state. An affected thing is defined as the relation between: n UW 1 – an event or state, and n UW 2 – a thing, where: UW 2 is thought of as directly affected by an event or state. obj (occur, thing) obj (do, thing) obj (be, thing) obj (uw(aoj>thing, obj>thing), thing) 11/1/2020 UNL Tutorial

mod n I have read a story of ghosts. agt (read. @entry. @complete. @present,

mod n I have read a story of ghosts. agt (read. @entry. @complete. @present, I) obj (read. @entry. @complete. @present, story. @indef) mod (story. @indef, ghost@pl) 11/1/2020 UNL Tutorial

mod(modification) n n Mod defines a thing that restricts a focused thing. A modification

mod(modification) n n Mod defines a thing that restricts a focused thing. A modification is defined as the relation between: n n n UW 1 – a focused thing, and UW 2 – a thing that restricts UW 1 in some way. mod (thing, thing) mod (thing, uw(mod>thing)) the whole story mod(story(icl>tale), whole(mod<thing)) 11/1/2020 UNL Tutorial

mod n He heard the music of the sea {unl} obj(hear(icl>perceive{>do}(agt>person, obj>thing)): 03. @entry.

mod n He heard the music of the sea {unl} obj(hear(icl>perceive{>do}(agt>person, obj>thing)): 03. @entry. @past, music(icl>creation): 0 D. @def) agt(hear(icl>perceive{>do}(agt>person, obj>thing)): 03. @entry. @past, he: 00) mod(music(icl>creation): 0 D. @def, sea(icl>water): 0 Q. @def) {/unl} n n I have read a book on politics I met the director of the institute. 11/1/2020 UNL Tutorial

plc n I saw a leopard in the campus. agt (see. @entry. @past, I)

plc n I saw a leopard in the campus. agt (see. @entry. @past, I) obj (see. @entry. @past, leopard. @indef) plc (see. @entry. @past, campus) n n I met the director of the institute in the guest house. John was arrested at the airport by Mumbai Police. 11/1/2020 UNL Tutorial

Plc (place) n n n n Plc defines a place where an event occurs,

Plc (place) n n n n Plc defines a place where an event occurs, or a state that is true, or a thing that exists. A place is defined as the relation between: n UW 1 – an event, state, or thing, and n UW 2 – a place or thing understood as a place. plc (occur, thing) plc (do, thing) plc (be, thing) plc (uw(aoj>thing), thing) plc (thing, thing) 11/1/2020 UNL Tutorial

plt n The boy went to school. agt(go(icl>move). @entry. @past, boy(icl>person)) plt(go(icl>move). @entry. @past,

plt n The boy went to school. agt(go(icl>move). @entry. @past, boy(icl>person)) plt(go(icl>move). @entry. @past, school(icl>institution)) n He rushed to the hospital. 11/1/2020 UNL Tutorial

Plt(final place) n n Plt defines a place where an event ends or a

Plt(final place) n n Plt defines a place where an event ends or a state that becomes false. A final place is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a place or thing defining a place, where: n n n UW 2 is the specific place where UW 1 ended, or UW 2 is the specific place where UW 2 becomes false. plt (occur, thing) plt (do, thing) plt (uw(aoj>thing), thing) 11/1/2020 UNL Tutorial

plf n He jumped from a building. agt (jump. @entry. @past, he) plf (jump.

plf n He jumped from a building. agt (jump. @entry. @past, he) plf (jump. @entry. @past, building. @indef) n He came from Delhi. 11/1/2020 UNL Tutorial

Plf(initial place) n n Plf defines a place where an event begins or a

Plf(initial place) n n Plf defines a place where an event begins or a state that becomes true. An initial place (or place-from) is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a place or thing defining a place, where: n n n UW 2 is the specific place where UW 1 started, or UW 2 is the specific place from where UW 1 is true. plf (occur, thing) plf (do, thing) plf (uw(aoj>thing), thing) 11/1/2020 UNL Tutorial

tim n I met the director of the institute in the guest house on

tim n I met the director of the institute in the guest house on Sunday. agt (meet. @entry. @past, I) obj (meet. @entry. @past, director) mod (director, institute) plc (meet. @entry. @past, guest house) tim (meet. @entry. @past, sunday) n n The fire brigade arrived at midnight. She was certified dead at 4. 50 am. 11/1/2020 UNL Tutorial

tim(time) n n Tim defines the time an event occurs or a state is

tim(time) n n Tim defines the time an event occurs or a state is true. Time is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a time, where: n n n UW 1, taken as a whole, occurs at the time indicated by UW 2. tim (occur, time) tim (do, time) tim (be, time) tim (uw(aoj>thing), time) 11/1/2020 UNL Tutorial

tmt n n I worked till breakfast agt (work. @entry. @past, I) tmt (work.

tmt n n I worked till breakfast agt (work. @entry. @past, I) tmt (work. @entry. @past, breakfast) The firing was kept up till dark. The jury adjourned the case until Friday. He doesn't expect you until five. 11/1/2020 UNL Tutorial

tmt(final time) n n Tmt defines a time an event ends or a state

tmt(final time) n n Tmt defines a time an event ends or a state becomes false. Final time is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a time, where: n n n UW 2 specifies the time at which UW 1 ends, or UW 2 specifies the time at which UW 1 became/becomes false. tmt (occur, time) tmt (do, time) tmt (uw(aoj>thing), time) 11/1/2020 UNL Tutorial

tmf n We have lived here since 1994. agt (live. @entry. @present. @complete, we)

tmf n We have lived here since 1994. agt (live. @entry. @present. @complete, we) plc (live. @entry. @present. @complete, here) tmf (live. @entry. @present. @complete, 1994) n n I haven’t eaten since breakfast. He is blind from birth. 11/1/2020 UNL Tutorial

tmf(initial time) n n Tmf defines the time an event starts or a state

tmf(initial time) n n Tmf defines the time an event starts or a state becomes true. Initial time is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a time, where: n n n UW 2 specifies the time at which UW 1 starts, or UW 2 specifies the time at which UW 1 became/becomes true. tmf (occur, time) tmf (do, time) tmf (uw(aoj>thing), time) 11/1/2020 UNL Tutorial

dur n n You should receive a reply within seven days. agt (receive. @entry@should,

dur n n You should receive a reply within seven days. agt (receive. @entry@should, you) obj (receive. @entry@should, reply. @indef) dur (receive. @entry@should, day. @pl) qua (day. @pl, 7) The ambulance arrived within seven minutes. 11/1/2020 UNL Tutorial

Dur(duration) n n Dur defines a period of time during which an event occurs

Dur(duration) n n Dur defines a period of time during which an event occurs or a state exists. A duration is defined as the relation between: n n UW 1 – an event or a state, and UW 2 – a period during which the event or state continues. 11/1/2020 UNL Tutorial

qua n He needs a lot of encouragement {unl} obj(need(icl>necessitate): 03. @entry. @past. @present,

qua n He needs a lot of encouragement {unl} obj(need(icl>necessitate): 03. @entry. @past. @present, encouragement(icl>aid): 0 I) agt(need(icl>necessitate): 03. @entry. @past. @present, he: 00) qua(encouragement(icl>aid): 0 I, lot(icl>quantity): 0 B. @indef) {/unl} n n He took a sip of tea. He pressed a couple of buttons. 11/1/2020 UNL Tutorial

qua(quantity) n n Qua defines the quantity of a thing or unit. A quantity

qua(quantity) n n Qua defines the quantity of a thing or unit. A quantity is defined as the relation between: n n UW 1 – a thing, and UW 2 – quantity, where: n UW 2 is the number or amount of UW 1. n qua (thing, quantity) n Two dogs n qua(dog(icl>animal), 2) 11/1/2020 UNL Tutorial

pur n He applied for a certificate. pur (apply. @entry. @past, certificate. @indef) agt

pur n He applied for a certificate. pur (apply. @entry. @past, certificate. @indef) agt (apply. @entry. @past, he) n n They have a budget for research. They vote for a scheme. They called for a review. We went for a swim. 11/1/2020 UNL Tutorial

pur(purpose or objective) n n Pur defines the purpose or objective of an agent

pur(purpose or objective) n n Pur defines the purpose or objective of an agent of an event or a purpose of a thing that exists. A purpose or objective is defined as the relation between: n n UW 1 – a thing or an event, and UW 2 – a thing or an event, where: n n n 11/1/2020 The UWs are different. When UW 1 is an event: n UW 2 specifies the agent’s purpose or objective, or n UW 2 specifies the thing (object, state, event, etc. ) that the agent desires to attain by carrying out UW 1, or When UW 1 is not an event: n UW 2 is what UW 1 is to be used for. UNL Tutorial

and n John and Mary are friends. and : 01(Mary, John) aoj (friend. @pl.

and n John and Mary are friends. and : 01(Mary, John) aoj (friend. @pl. @entry. @present, : 01) n n She is singing and dancing. National Bank for Agriculture and Rural Development. 11/1/2020 UNL Tutorial

And(conjunction) n n And defines a conjunctive relation between concepts. A conjunction is defined

And(conjunction) n n And defines a conjunctive relation between concepts. A conjunction is defined as the relation between: n n UW 1 – a concept, and UW 2 – another concept, where: n n The UWs are different, and UW 1 and UW 2 are seen as grouped together, and what is said of UW 1 is also said of UW 2. and (uw, uw) 11/1/2020 UNL Tutorial

rsn n I am late because of the rain. aoj (late, I) rsn (late,

rsn n I am late because of the rain. aoj (late, I) rsn (late, rain) She is famous for her painting. The city is known for its beauty. 11/1/2020 UNL Tutorial

Rsn(reason) n n Rsn defines a reason why an event or a state happens.

Rsn(reason) n n Rsn defines a reason why an event or a state happens. A reason is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a reason for an event or state, where: n 11/1/2020 UW 2 is a reason why UW 1 happens. UNL Tutorial

gol n He gave a book to Mary. gol(give, Mary) agt(give, he) obj(give, book)

gol n He gave a book to Mary. gol(give, Mary) agt(give, he) obj(give, book) n n I deposited five thousand rupees in the bank account. Mary sent a parcel to John. The bank granted me a £ 500 loan. I was granted permission to visit the palace. 11/1/2020 UNL Tutorial

Gol(final state) n n Gol defines a final state of object or a thing

Gol(final state) n n Gol defines a final state of object or a thing finally associated with the object of an event. A final state is defined as the relation between: n n UW 1 – an event, and UW 2 – a state or thing, where: n n UW 2 is the specific state describing the obj (of UW 1) at the end of UW 1, or UW 2 is a thing that is associated with the obj (of UW 1) and the end of UW 1. gol (occur(gol>thing), thing) gol (do(gol>thing), thing) 11/1/2020 UNL Tutorial

ben n She prepared food for John. agt (prepare, she) obj(prepare, food) ben(prepare, John)

ben n She prepared food for John. agt (prepare, she) obj(prepare, food) ben(prepare, John) n n She cooked chicken for John gave a present to Bill for Mary. 11/1/2020 UNL Tutorial

Ben(beneficiary) n n Ben defines an indirectly related beneficiary or victim of an event

Ben(beneficiary) n n Ben defines an indirectly related beneficiary or victim of an event or state. A beneficiary is defined as the relation between: n n UW 1 – an event or state, and UW 2 – a thing, where: n n UW 2 is thought of as being indirectly affected by UW 1, as the beneficiary or victim. ben (occur, thing) ben (do, thing) ben (uw(aoj>thing), thing) 11/1/2020 UNL Tutorial

THE END Ref: http: //www. undl. org/unlsys/index. html 11/1/2020 UNL Tutorial

THE END Ref: http: //www. undl. org/unlsys/index. html 11/1/2020 UNL Tutorial

Some Examples n He liked the sweetness of the cream {unl} obj(like: 03. @entry.

Some Examples n He liked the sweetness of the cream {unl} obj(like: 03. @entry. @past, sweetness(icl>taste): 0 D. @def) agt(like: 03. @entry. @past, he: 00) mod(sweetness(icl>taste): 0 D. @def, cream(icl>class): 0 U. @def) {/unl} 11/1/2020 UNL Tutorial

He needs a lot of encouragement {unl} obj(need(icl>necessitate): 03. @entry. @past. @present, encouragement(icl>aid): 0

He needs a lot of encouragement {unl} obj(need(icl>necessitate): 03. @entry. @past. @present, encouragement(icl>aid): 0 I) agt(need(icl>necessitate): 03. @entry. @past. @present, he: 00) qua(encouragement(icl>aid): 0 I, lot(icl>quantity): 0 B. @indef) {/unl} n 11/1/2020 UNL Tutorial

n He is a kind of missionary {unl} aoj(missionary(icl>teacher): 0 G. @entry. @present, he:

n He is a kind of missionary {unl} aoj(missionary(icl>teacher): 0 G. @entry. @present, he: 00) mod(missionary(icl>teacher): 0 G. @entry. @present, kind(icl>-): 08. @indef) {/unl} 11/1/2020 UNL Tutorial

n He rejected the claims of mismanagement {unl} obj(reject(icl>judge{>be}(aoj>thing{, obj>thing})): 03. @en try. @past,

n He rejected the claims of mismanagement {unl} obj(reject(icl>judge{>be}(aoj>thing{, obj>thing})): 03. @en try. @past, claim(icl>title): 0 G. @def. @pl) agt(reject(icl>judge{>be}(aoj>thing{, obj>thing})): 03. @en try. @past, he: 00) mod(claim(icl>title): 0 G. @def. @pl, mismanagement(icl>act): 0 Q) {/unl} 11/1/2020 UNL Tutorial

n He took a sip of wine. {unl} obj(take(icl>act{>do}(agt>thing, gol>place, src>place)): 03. @entry. @past,

n He took a sip of wine. {unl} obj(take(icl>act{>do}(agt>thing, gol>place, src>place)): 03. @entry. @past, wine(icl>drink): 0 H) agt(take(icl>act{>do}(agt>thing, gol>place, src>place)): 03. @entry. @past, he: 00) qua(wine(icl>drink): 0 H, sip(icl>quantity): 0 A. @indef) {/unl} 11/1/2020 UNL Tutorial

n He was director of the Academy {unl} aoj(director(icl>administrator): 07. @entry. @past, he: 00)

n He was director of the Academy {unl} aoj(director(icl>administrator): 07. @entry. @past, he: 00) mod(director(icl>administrator): 07. @entry. @past, academy(icl>school): 0 N. @def) {/unl} 11/1/2020 UNL Tutorial