---
title: The total is (first + last) × number of rows / 2, and the last row i… — Adding all the rows · tree and pragmatics
description: The total is (first + last) × number of rows / 2, and the last row is first + (rows - 1) × step. Who acts: last row. A sentence of the lesson «Adding all the rows» of the lessons course of Mova's primary school with its dependency tree and the pragmatics of every clause.
---

<!-- md -->
[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/corpora/school/lessons/177-sum-of-rows/1/)

<!-- crumbs -->
[home](https://md.mova.elamur.ai/free/en/) / [corpora](https://md.mova.elamur.ai/free/en/corpora/) / [school](https://md.mova.elamur.ai/free/en/corpora/school/) / [Lessons](https://md.mova.elamur.ai/free/en/corpora/school/lessons/) / [Adding all the rows](https://md.mova.elamur.ai/free/en/corpora/school/lessons/177-sum-of-rows/) / 1

# Adding all the rows, sentence 1

<!-- .ven lang=en -->
The total is (first + last) × number of rows / 2, and the last row is first + (rows - 1) × step.

<!-- .vintro -->
**Who acts:** last row · **What happens:** step

<!-- .vabout -->
This is a sentence of the lesson «Adding all the rows» of the lessons course of Mova's primary school. The page gives its syntax tree — a dependency tree in the style of Universal Dependencies — and its pragmatics clause by clause: who acts (last row), what happens, when and where, as Mova's frames read it from the tree.

## The tree {#tree}

```conllu
# sent_id = school:lessons:177-sum-of-rows.lesson:1
# text = The total is (first + last) × number of rows / 2, and the last row is first + (rows - 1) × step.
# source = school lesson (ours)
# course = lessons
# lesson = 177-sum-of-rows.lesson
# annotation = Mova annot: Rust (en) → Haiku 5.5 (medium, Batches API) patches; gates UD 2.18; agreed by treeagree rules (Stanza, Trankit, spaCy trf): R5-strong ×1, R6-punct-agree ×1, R7-rel-agree ×1
1	The	the	DET	DT	Definite=Def|PronType=Art	2	det	_	_
2	total	total	NOUN	NN	Number=Sing	9	nsubj	_	_
3	is	be	AUX	VBZ	Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin	9	cop	_	_
4	(	(	PUNCT	-LRB-	_	5	punct	_	Agree=R6-punct-agree|Haiku=6:punct
5	first	first	ADV	RB	NumForm=Word|NumType=Ord	6	advmod	_	_
6	+	+	SYM	SYM	_	9	dep	_	_
7	last	last	ADJ	JJ	Degree=Pos	5	conj	_	Agree=R5-strong|Haiku=6:conj
8	)	)	PUNCT	-RRB-	_	7	punct	_	_
9	×	×	SYM	SYM	_	0	root	_	_
10	number	number	NOUN	NN	Number=Sing	9	obj	_	_
11	of	of	ADP	IN	_	12	case	_	_
12	rows	row	NOUN	NNS	Number=Plur	10	nmod	_	_
13	/	/	SYM	SYM	_	14	case	_	Agree=R7-rel-agree|Haiku=14:dep
14	2	2	NUM	CD	NumForm=Digit|NumType=Card	12	conj	_	_
15	,	,	PUNCT	,	_	29	punct	_	_
16	and	and	CCONJ	CC	_	29	cc	_	_
17	the	the	DET	DT	Definite=Def|PronType=Art	19	det	_	_
18	last	last	ADJ	JJ	Degree=Pos	19	amod	_	_
19	row	row	NOUN	NN	Number=Sing	29	nsubj	_	_
20	is	be	AUX	VBZ	Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin	22	cop	_	_
21	first	first	ADV	RB	NumForm=Word|NumType=Ord	22	advmod	_	_
22	+	+	SYM	SYM	_	19	nmod	_	_
23	(	(	PUNCT	-LRB-	_	24	punct	_	_
24	rows	row	NOUN	NNS	Number=Plur	22	appos	_	_
25	-	-	SYM	SYM	ExtPos=ADP	26	case	_	_
26	1	1	NUM	CD	NumForm=Digit|NumType=Card	24	nmod	_	_
27	)	)	PUNCT	-RRB-	_	24	punct	_	_
28	×	×	SYM	SYM	_	29	dep	_	_
29	step	step	NOUN	NN	Number=Sing	9	obl	_	_
30	.	.	PUNCT	.	_	9	punct	_	_
```

## Pragmatics {#pragmatics}

<!-- .note -->
No stored speech act for this sentence.

<!-- .fr -->
| # | verb | tense, mood | who | what, whom | to whom | where | when | other | roles by |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | **step** |  | the last row |  |  |  |  |  | tree rules |

<!-- .note -->
One row per clause the reader finds. «not said here»: a role filled from the clause above. «roles by»: a VerbNet class and frame when one fits the verb, else the reader's rules on the tree.

<!-- div src -->

**Licence: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)**, as the whole of Mova corpus 0.4, of which this treebank (the agreed school, `mova-school-agreed-en.conllu`) is part. The lessons were written for Mova's primary school. Sentence `school:lessons:177-sum-of-rows.lesson:1`.

**The tree:** Mova annot: Rust (en) → Haiku 5.5 (medium, Batches API) patches; gates UD 2.18; agreed by treeagree rules (Stanza, Trankit, spaCy trf): R5-strong ×1, R6-punct-agree ×1, R7-rel-agree ×1. **The frames** are read from the tree by Mova's frames reader (`prag`) when this page is built, the lesson read in order, so a pronoun may be resolved from an earlier sentence.

See the [release 0.4](https://md.mova.elamur.ai/free/en/releases/0.4/).

<!-- /div -->

<!-- pn -->
- ← previous: [Adding all the rows, 0](https://md.mova.elamur.ai/free/en/corpora/school/lessons/177-sum-of-rows/0/)
- next →: [Adding all the rows, 2](https://md.mova.elamur.ai/free/en/corpora/school/lessons/177-sum-of-rows/2/)
- ↑ back to [the lesson](https://md.mova.elamur.ai/free/en/corpora/school/lessons/177-sum-of-rows/)

