Scope

From UNL Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
The UNL representation is a '''hyper-graph''' and may consist of several interlinked or subordinate sub-graphs, which are used to define the boundaries and the scope of the semantic entities being represented. These sub-graphs correspond roughly to the concept of "clauses", i.e., groups of words that consist of a subject and a predicate. For instance, the sentence "Mary saw Peter when John arrived" is represented, in UNL, as follows:
+
The UNL representation is a '''hyper-graph''', which means that it may consist of several interlinked or subordinate sub-graphs, which are used to define the boundaries between complex semantic entities being represented. These sub-graphs correspond roughly to the concept of "dependent (subordinate) clauses", i.e., groups of words that consist of a subject and a predicate and which are embedded in a larger structure (the independent clause).
 +
 
 +
== What is a "scope" ==
 +
A scope is a group of nodes and relations between nodes that work as a single semantic entity in a UNL graph. For instance, in the sentence "Mary saw Peter when John arrived", the dependent clause "when John arrived" describes the argument of a time relation (to the verb "saw") and, therefore, should be represented as a sub-graph (i.e., as a hyper-node) instead of a set of isolated nodes.
  
 
[[Image:Scope.jpg]]
 
[[Image:Scope.jpg]]
  
In the above, the dependent clause "John arrived" is represented as a hyper-node linked to the main clause by the relation "tim" (which corresponds to the value of the conjunction "when"). In the UNL table representation, hyper-nodes are indexed by ":XX", where XX is a two-digit hyper-node index. The main node index is :00 and may be omitted. Hyper-node indexes must also be associated to every relation inside the node.  
+
In the UNL table representation, hyper-nodes are indexed by ":XX", where XX is a two-digit hyper-node index. The main node index is :00 and may be omitted. Hyper-node indexes must be associated to every relation inside the node.  
  
  

Revision as of 17:01, 12 July 2010

The UNL representation is a hyper-graph, which means that it may consist of several interlinked or subordinate sub-graphs, which are used to define the boundaries between complex semantic entities being represented. These sub-graphs correspond roughly to the concept of "dependent (subordinate) clauses", i.e., groups of words that consist of a subject and a predicate and which are embedded in a larger structure (the independent clause).

Contents

What is a "scope"

A scope is a group of nodes and relations between nodes that work as a single semantic entity in a UNL graph. For instance, in the sentence "Mary saw Peter when John arrived", the dependent clause "when John arrived" describes the argument of a time relation (to the verb "saw") and, therefore, should be represented as a sub-graph (i.e., as a hyper-node) instead of a set of isolated nodes.

Scope.jpg

In the UNL table representation, hyper-nodes are indexed by ":XX", where XX is a two-digit hyper-node index. The main node index is :00 and may be omitted. Hyper-node indexes must be associated to every relation inside the node.


agt:00(saw, Mary) or agt(saw,Mary)
obj:00(saw, Peter) or obj(saw,Peter)
tim:00(saw, :01) or tim(saw, :01)
agt:01(arrived, John)

When to use scopes

When not to use scopes

@entry

Coindexation

Software