Title: CWL:A Common Web Language for Humans and Computers
1CWLA Common Web Language for Humans and
Computers
- Hiroshi Uchida
- (Institute of Semantic Computing)
2Problems to be Solved - Language Barrier -
- Almost all web pages are written in English
- People can not get information in their mother
tongue. - Machine translation is not a solution
- quality
- coverage
3Problems to be Solved -Machine
Understandablility -
- HTML tag information
- Insufficient to intellectually utilize contents
of web pages - RDF and OWL
- No standard vocabulary to describe web contents
4Objectives of CWL
- For exchanging information through the web and
also for enabling computers to process
information semantically. - To describe contents and meta-data of web pages
written in natural languages. -
- To realize a language barrier free world in the
web and will also enable computers to extract
semantic information and knowledge from web pages
accurately.
5Requirements for CWL
- To be independent from any natural languages and
shall enables users to develop conversion systems
between CWL and each natural language. - Different from natural languages, to be a formal
language playing the same role of natural
languages for humans. - - This allows easy bi-directional conversion
between CWL and other formal languages used in
the web. - - Based on CWL, various kinds of controlled
language can easily be developed because of
unambiguous structure of CWL. -
- To be able to be easily be implemented in RDF/OWL.
6CWL representation
7CDL
- The CDL (Concept Description Language) is a
language proposed by ISeC for Semantic Computing
(SeC) RD. CDL is fundamental language within SeC
(Semantic Computing) framework. - CDL describes semantic/conceptual structure of
contents (resources).
8CDLs
Applications
-
Intelligent services provided by intelligent
systems and intelligent environments
-
Content
Multimedia contents and multimodal interaction
(semantic structure)
CDL
CDL
.math,.prog,
Media
.unl,.jpn,.eng,.chi,
..
(metadata)
CDL.
.movie,.music
(syntactic
etc.
CDL.nl
structure)
CDLs
CDL.core
RDF/OWL
XML
9CDL.nl
- The CDL.nl (CDL for Natural Language) consists of
grammar, ontology and lexicons. - Top ontology of CDL.nl is mainly based on the
UNLKB. It is developed under funds from SCOPE of
Japanese Ministry of Internal Affairs and
Communications. - Ontology and lexicons are based on Universal
Words (UWs) of UNL developed under the United
Nations (United Nations University).
10Natural Language Representation in CDL.nl
Ex.1 I received a report that a computer was
purchased yesterday.
A event B event lt11yesterdaygt lt12c
omputergt lt13purchasedgt 13 tim 11 13
obj 12 lt2reportgt lt3receivedgt lt4Igt
2 cnt B 3 obj 2 3 rec 4
11Top Ontology of CDL.nl
- CDD.nl
- concept
- nominal concept
- thing
- abstract thing
- attribute
- quality
- feature
- event
- action
- mental action
- physical action
- process
- phenomenon
- mental phenomenon
- physical phenomenon
- process
12Top Ontology of CDL.nl
- CDD.nl
- concept
- nominal concept
- thing
- state
- mental state
- physical state
- group
- group(iclgtvolitional thing)
- set
- information
- quantity
- rule
- way
- behavior
- manner
- method
13Top Ontology of CDL.nl
- CDD.nl
- concept
- nominal concept
- thing
- attributive thing
- concrete thing
- living thing
- human
- animal
- plant
- natural world
- substance
- functional thing
- facilities
- tool
- volitional thing
- human
- animal
14Top Ontology of CDL.nl
- CDD.nl
- concept
- nominal concept
- thing
- place
- area
- relative place
- time
- period
- predicative concept
- do
- act
- express
- make
- take
- change
- move
- put
15Top Ontology of CDL.nl
- CDD.nl
- concept
- predicative concept
- do
- mentally do
- physically do
- do(agtgtthing)
- do(agtgtthing,objgtthing)
- occur
- become
- happen
- change
- move
- mentally happen
- physically happen
- occur(objgtthing)
- occur(golgtthing,objgtthing)
16Top Ontology of CDL.nl
- CDD.nl
- concept
- predicative concept
- be
- be(aojgtthing)
- be(aojgtthing,objgtthing)
- attributive concept
- (qualtthing)
- (modltthing)
- adverbial concept
- (qualtpredicative concept)
- (modltpredicative concept)
- how
17Relations of CDL.nl
- CDD.nl
- relation
- predicative relation
- agt (agent)
- aoj (thing with attribute)
- cag (co-agent)
- cao (co-thing with attribute)
- ptn (partner)
- ben (beneficiary)
- cob (affected co-thing)
- obj (affected thing)
- opl (affected place)
- ins (instrument)
- met (method)
- man (manner)
18Relations of CDL.nl
- CDD.nl
- relation
- predicative relation
- plc (place)
- plf (initial place)
- plt (final place)
- scn (scene)
- gol (goal, final state)
- src (source, initial state)
- via (intermediate place or state)
- dur (duration)
- tim (time)
- tmf (initial time)
- tmt (final time)
19Relations of CDL.nl
- CDD.nl
- relation
- inter concept relation
- and (conjunction)
- or (disjunction, alternative)
- fmt (range)
- frm (origin)
- to (destination)
-
- equ (equivalent)
- icl (included, a kind of)
- iof (an instance of)
- inter event relation
- con (condition)
- coo (co-occurrence)
- pur (purpose)
- rsn (reason)
20Relations of CDL.nl
- CDD.nl
- relation
- inter event relation
- seq (sequence)
- qualification relation
- bas (basis)
- cnt (content)
- mod (restriction)
- nam (name)
- per (proportion, rate, distribution)
- pof (part of)
- pos (possessor)
- qua (quantity)
21Attributes of CDL.nl
- CDD.nl
- attribute
- attribute of nominal concept
- logicality
- view of reference
- attribute of predicative concept
- aspect
- _at_begin
- _at_complete
- _at_contine
- time
- view of emphasis, focus and topic
- attitude(modality)
- feeling and judgement
- attribute for attribute
- modifying attribute on aspect
22UNLa language for computers
- Artificial language (Semantic Network with Hyper
Node) - A node represents a concept
- An arc represents a relation
- A node can be annotated by attributes
- Consists of
- Universal Words vocabulary
- Relations, Attributes syntax
- Knowledge Base semantics
23Long ago, in the city of Babylon, the people
begun to build a huge tower, which seemed about
to reach the heavens.
long ago
people
huge
tim agt agt
aoj
tower
build
begun
obj obj
plc
obj obj
seemed
reach
city
obj
mod
gol
Babylon
heaven
24Long ago, in the city of Babylon, the people
begun to build a huge tower, which seemed about
to reach the heavens.
- unl
- tim(begin(agtgtthing,objgtthing)._at_entry._at_past,long
ago(iclgtago)) - mod(city(iclgtregion)._at_def,Babylon(iclgtcity))
- plc(begin(agtgtthing,objgtthing)._at_entry._at_past,city(i
clgtregion)._at_def) - agt(begin(agtgtthing,objgtthing)._at_entry._at_past,people
(iclgtperson)._at_def) - obj(begin(agtgtthing,objgtthing)._at_entry._at_past,build(
agtgtthing,objgtthing)_at_past) - agt(build(agtgtthing,objgtthing),people(iclgtperson).
_at_def) - obj(build(agtgtthing,objgtthing)),tower(iclgtbuilding
)) - aoj(huge(iclgtbig),tower(iclgtbuilding))
- aoj(seem(aojgtthing)._at_past,tower(iclgtbuilding))
- obj(seem(aojgtthing)._at_past,reach(iclgtcome)._at_begin._at_
soon) - obj(reach(iclgtcome)._at_begin._at_soon,tower(iclgtbuildin
g)) - gol(reach(iclgtcome)._at_begin._at_soon,heaven(iclgtregion
)._at_def._at_pl) - /unl
25Relation
- Constitutes syntax of the UNL
- Expresses objectivity together with UWs
- Expresses how concepts(UW) constitutes a sentence
related each other - 46 relations
- agt, and, aoj, bas, ben, cag, cao, cnt, cob,
con, coo, dur, equ, fmt, frm, gol, icl, ins, iof,
man, met, mod, nam, obj, opl, or, per, plc, plf,
plt, pof, pos, ptn, pur, qua, rsn, scn, seq, src,
tim, tmf, tmt, to, via
26Attributes
- Mainly describe subjectivity
- Attributes group
- - Describing logical characters and properties
of concepts - - Times with respect to the writer
- Writers view on aspects of event
- Writers view of reference to concepts
- Writers view of emphasis, focus and topic
- Writers attitudes
- Writers feelings and judgments
27Attribute for Describing Logicality
- _at_transitive has transitivity
- _at_symmetric has symmetricity
- _at_identifiable can identify the subject
- _at_disjointed all element concept do not hold
common instance. - all connected concept do not share
instances.
28Attribute for Times Respect to Writer
- _at_past happened in the past
- _at_present happening at present
- _at_future will happen in future
29Attribute for Writers View on Aspect of Event
- _at_begin beginning of an event or a state
- _at_complete finishing/completion of a (whole)
event - _at_continue continuation of an event
- _at_custom customary or repetitious action
- _at_end end/termination of an event or a state
- _at_experience experience
- _at_progress an event is in progress
- _at_repeat repetition of an event
- _at_state final state or the existence of the
object on which an action has been taken
30Attribute for Writers View of Reference on
Concept
- _at_generic generic concept
- _at_def already referred
- _at_indef non-specific class
- _at_not complement set
- _at_ordinal ordinal number
31Attribute for View of Emphasis, Focus, and Topic
- _at_contrast contrasted UW
- _at_emphasis emphasized UW
- _at_entry entry or main UW of a sentence or a
scope - _at_qfocus focused UW of a question
- _at_theme instantiates an object from a different
class - _at_title title
- _at_topic topic
32Attribute for Writers Attitude
- _at_affirmative affirmation
- _at_confirmation confirmation
- _at_exclamation exclamation
- _at_humility in a humility manner
- _at_imperative imperative
- _at_interrogative interrogation
- _at_invitation inducement
- _at_polite polite way
- _at_request request
- _at_respect respectful way
- _at_vocative vocative
33Attribute for Writers Felling and Judgment
- _at_ability ability, capability of doing something
- _at_get-benefit speakers feeling of receiving
benefits through the fact or result of
something (to be) done by somebody else - _at_give-benefit speakers feeling of giving
benefits by doing something for somebody
else - _at_conclusion logical conclusion due to a certain
condition - _at_consequence logical consequence
- _at_sufficient sufficient condition
- _at_consent consent feeling of the speaker about
something - _at_dissent dissent feeling of the speaker about
something - _at_grant to give/get consent/permission to do
something - _at_grant-not not to give consent to do something
34Attribute for Writers Felling and Judgment
- _at_although something follows against contrary
to or beyond expectation - _at_discontented discontented feeling of the
speaker about something - _at_expectation expectation of something
- _at_wish wishful feeling, to wish something is
true or has happened - _at_insistence strong determination to do something
- _at_intention intention about something or to do
something - _at_want desire to do something
- _at_will determination to do something
- _at_need necessity to do something
- _at_obligation obligation to do something according
to (quasi-) law, contract, or - _at_obligation-not obligation not to do something,
forbid to do something according to (quasi-)
law, contract or
35Attribute for Writers Felling and Judgment
- _at_should to do something as a matter of course
- _at_unavoidable unavoidable feeling of the speaker
about doing something - _at_certain certainty that something is true or
happens - _at_inevitable logical inevitability that something
is true or happens - _at_may practical possibility that something is
true or happens - _at_possible logical possibility that something is
true or happens - _at_probable (practical) probability that something
is true or happens - _at_rare rare logical possibility that something
is true or happens - _at_unreal unreality that something is true or
happens
36Attribute for modifying Attribute on Aspect
- _at_just expresses an event or a state that has
just begun or ended/completed - _at_soon expresses an event or a state that is
about to begin or end/completed - _at_yet expresses an event or a state that has not
yet started or ended/completed, together with - _at_not
37Attribute for Writers Felling and Judgment
- _at_admire admiring feeling of the speaker about
something - _at_blame blameful feeling of the speaker about
something - _at_contempt contemptuous feeling of the speaker
about something - _at_regret Regretful feeling of the speaker about
something - _at_surprised surprised feeling of the speaker
about something - _at_troublesome troublesome feeling of the speaker
about the occurrence of something
38Attribute for Convention
- _at_passive passive form
- _at_pl more than one
- _at_angle_bracket lt gt are used
- _at_brace are used
- _at_double_parenthesis (( )) are used
- _at_double_quote are used
- _at_parenthesis ( ) are used
- _at_single_quote are used
- _at_square_bracket are used
39Types of UW
- Basic UW
- Restricted UW
- Extra UW (Imported UW)
- Temporary UW
40Universal Word
- ltUWgt ltheadwordgt ltconstraint listgt
- ltheadwordgt ltcharactergt
- ltconstraint listgt ( ltconstraintgt ,
ltconstraintgt ) - ltconstraintgt ltrelation labelgt gt lt
ltUWgt ltconstraint listgt ltrelation labelgt gt
lt ltUWgt ltconstraint listgt gt lt
ltUWgt ltconstraint listgt - ltrelation labelgt agt and aoj obj
icl ...
41A kind of UW
- Basic UW
- Express set of every concept an English
word(/phase/clause) can express - ex) spring
- Restricted UW
- Restrict a concept by constraint
- ex) spring(iclgttool)
- spring(iclgtseason)
- spring(agtgtperson,objgtperson)
42Basic Category of UW
- UWs should belong to the following categories
-
- Nominal Concept
- Verbal Concept
- Adjective Concept
- Adverbial Concept
43UW
- Nominal Concept
- swallow(iclgtthing)
- Verbal Concept
- change(agtgtthing) I changed my mind.
- change(objgtthing) The weather will
change. - remember(agtgtthing) I cannot remember his
name. - remember(aojgtthing) Do you remember me?
44UW
- Adjective Concept
- positive(aojgtthing) Are you positive about
that? - a positive fact
- only(modltthing) the only person
- Adverbial Concept
- weekly(iclgthow) This class is held
weekly. - only(iclgthow) The child only cried.
45UW
- If the ambiguity of an UW still remains, upper
category labels of UW system(hierarchy) or case
relations will be used. - Restrict using upper category
- swallow(iclgtbird) the bird
- One swallow does not make a summer
- swallow(iclgtaction) the action of swallowing
- at one swallow
- swallow(iclgtquantity) the quantity
- take a swallow of water
46UW
- Restrict using case relations
- spring(agtgtthing,objgtwood) bending something
- spring(agtgtthing,objgtmine)) blasting something
- spring(agtgtthing,objgtperson, escaping (from)
prison - srcgtprison))
- spring(agtgtthing,golgtplace) jumping up
- to spring up
- spring(agtgtthing,golgtthing) jumping on
- to spring on
- spring(objgtliquid) gushing out
- to spring out
47CWL representation
48UNL expressionTable Form , List Form
- ltsentencegt I purchased a computer yesterday.
lt/sentencegt
- unl // List Form of UNL expression
- W
- I 01
- purchase (iclgtbuy(agtgtperson, objgtthing))._at_entry._at_
past02 - computer (iclgtmachine)03
- yesterday (iclgtday)04
- /W
- R
- 02agt01
- 02obj03
- 02tim04
- R
- /unl
unl //Table Form of UNL expression agt(purchase
(iclgtbuy(agtgtperson,objgtthing))._at_entry._at_past),
I) obj(purchase(iclgtbuy(agtgtperson,objgtthing))._at_en
try._at_past), computer (iclgtmachine)) tim(purchase(i
clgtbuy(agtgtperson,objgtthing))._at_entry._at_pst),
yesterday(iclgtday)) /unl
49CDL
- ltsentencegt I purchased a computer yesterday.
lt/sentencegt
CDL // ModelSyntax S Situation A Event
tmp'past' A1 purchase (iclgtbuy(agtgtperson,o
bjgtthing) A2 I raldef A3
computer(iclgtmachine) ral'def' A4
yesterday(iclgtday) ral'def' A1 cdd.nlagt
A2 A1 cdd.nlobj A3 A1 cdd.nltim
A4
SSituation
A1purchase
AEvent
agt
tim
A2I
obj
A4yesterday
A3computer
50RDF
- ltsentencegt I purchased a computer yesterday.
lt/sentencegt
RDF // N-Triples representation Subject
Property Object. S rdftype Situation. A
rdftype Event. S hasComplexEntity A. A
hasElementalEntity A1. A hasElementalEntity
A2. A hasElementalEntity A3. A
hasElementalEntity A4. A1 rdftype
purchase(iclgtbuy(agtgtperson,objgtthing). A2 I
rdftype I. A2 I ral def. A3 rdftype
computer(iclgtmachine). A3 ral def. A4
rdftype yesterday(iclgtday). A4 ral def. A1
agt A2. A1 obj A3. A1 tim A4. A tmp past.
51Platform
- We use the UNL System as a platform of CWL.
- CWL Platform
- - UNL System
- - Conversion system between UNL and CDL.nl
- - Conversion system between CDL.nl and RDF
- - Ontology (UNLKB) in CDD.nl
- - Ontology in OWL
52UNL System
UNL Document Base
UNL Verifier
UNL KCIC
UNL Encyclopedia
Language Server
EnConverter
EnCo Rules
UNL-Language Dictionary
Concept Definitions (UNL)
UNL KB
UNL Library
DeCo Rules
DeConverter
UNLbased application
UW Dictionary
UNL Proxy
UW Gate
53Annotated Natural Language Texts
Annotation Editor
Universal Parser
UNL Verifier
UNL Document
Natural Language Texts
EnConverter
Grammatical Rules
Word Dictionary
Co- occurrence Dictionary
UNL KB
UW Dictionary
Web Server HTMLXML
Natural Language Texts
UW Gate
UNL Document
DeConverter
54(No Transcript)
55Common Web Language Incubator GroupCWL XG
- Participants
- W3C member can participate
- Invited Experts
- Duration Nov 2006 to Oct 2007
- Objectives
- Specifications of CWL
- Pilot model of CWL Platform