Elamur Research

Analyzing Middle High German Syntax with RDF and SPARQL

Paper · 2018 · Christian Chiarcos, Benjamin Kosmehl, Christian Fäth et al.

Summary

Which object came first in Middle High German when a verb had both a direct and an indirect object? A scholar can answer this for an individual sentence by examining its grammar. Answering it across periods and genres requires finding comparable sentences throughout a corpus. The Reference Corpus of Middle High German, known as ReM, already identifies features such as case and part of speech. The missing step was to locate the parts of a clause in which the objects could be compared. The authors build that step into a pipeline for adding linguistic annotation.

The pipeline turns a table of words and tags into a graph using CoNLL-RDF. Rules written in SPARQL Update add noun, prepositional and verbal chunks, group them into clause fields, and connect the resulting structures. A researcher can then use SPARQL to retrieve an accusative chunk and a dative chunk in the same middle field and check their order. The middle field is the part of the clause that begins after the left edge of the verbal bracket and ends at its right edge, when that edge is present. Separate stages connect historical words to modern lexical entries and add possible animacy classes, making it possible to ask whether a tendency to put animate referents first helps explain the observed order.

Across ReM, the procedure reports 3,498 accusative-before-dative attestations and 8,197 in the reverse order. The distribution in prose changes over the period. The paper describes the orders as about equally common until 1150, with dative before accusative relatively more frequent after 1200 and a reported peak around 1250. Dative before accusative predominates throughout the verse data. The authors raise rhyme and meter as possible influences. The genre difference matters because a count over the whole corpus gives no direct view of how either genre behaves over time.

The counts come from a shallow, deterministic analysis built for this question. Where an attachment is ambiguous, the rules use defaults that make the target patterns easier to retrieve. The paper evaluates how much material the pipeline produces and leaves the accuracy of middle-field detection and object extraction to a qualitative assessment in progress. It also leaves the comparison with Early Modern High German open. The main contribution is a publicly available way to produce, inspect and query the syntactic evidence needed for a study of historical linguistics and language change.

Deep dive: Analyzing Middle High German Syntax with RDF and SPARQL

How RDF and SPARQL turn Middle High German corpus annotations into evidence about the order of direct and indirect objects across periods and genres. · about 35 minutes to read

The problem and its context

What can vary within a German clause

The paper starts from a familiar description of German main clauses. The finite verb usually occupies the second position, while the arrangement of its arguments permits considerable variation. The topological analysis described by the authors makes it possible to say more precisely where the variation occurs. It divides a clause into fields located relative to the predicate. A field describes a position in the clause, and its contents can include phrases with different grammatical jobs.

In a main clause with a compound predicate, a finite verb or auxiliary provides the left bracket. Another part of the predicate, such as a nonfinite verb or a separable verbal particle, provides the right bracket. The prefield lies ahead of the left bracket. Material within the two brackets occupies the middle field, and material beyond the right bracket occupies the postfield. The authors describe the middle field as the position for nonclausal arguments and adjuncts, including nonclausal material that belongs to elements already inside it. Clausal arguments and adjuncts belong in the postfield in that account. The paper also identifies a position before the prefield for certain conjunctions. The distinction between a position and what occupies it is basic to the paper's account of syntax and grammar.

The paper uses a modern German example in which the components of a compound predicate enclose the direct and indirect objects. Those objects can exchange positions while the underlying relationship expressed by the clause stays the same. Their grammatical functions need to be recognized independently of which appears first. In the comparison the paper develops, accusative case identifies the direct-object candidate and dative case identifies the indirect-object candidate. Case belongs to the word or phrase's morphology.

The authors follow Paul's description in applying the field analysis to Middle High German with qualifications. Their historical example has a finite verb and an identifiable prefield and middle field, with no overt right bracket. The end of the clause supplies the endpoint for the middle field in that construction. That case matters for an automatic search. A procedure that required both parts of the verbal bracket to be visible would miss a type of clause the authors intend to study.

The object-order question is narrower than the question of German word order in general. The paper does not set out to account for the placement of every constituent or the ordering options in every clause type. It focuses on the relative position of direct and indirect nominal arguments within a defined region. The terms direct and indirect describe the arguments' grammatical jobs. The terms accusative and dative describe case. The authors' search uses the latter to find candidates for the former within the relevant syntactic structure.

Why the historical direction was open

The authors describe the conventional view as treating flexibility within the middle field as an old feature of German. They relate that view to a comparison with English, where the loss of morphological case had been taken to contribute to the loss of such flexibility. German case morphology had also simplified since Old High German. The expectation set out in the paper was consequently that German might have retained its earlier flexibility or become more restricted over time.

Speyer's study offered a reason to revisit that expectation. As Chiarcos and colleagues describe it, he selected ditransitive verbs, collected prose attestations of their forms, and examined the sentences by hand. A ditransitive verb provides a starting point for looking for a direct and an indirect object together. Speyer reported a possible increase in the flexibility of their order since the Middle Ages. The reported counts lacked statistical significance, so the observation called for a broader study.

The paper describes a different form of sample selection in Petrova's work on Old High German. That study focused on sentences whose order differed from the Latin original. In the authors' account, much of the surviving Old High German prose comes from translation out of Latin, while surviving Middle High German material includes original works. This makes Middle High German especially interesting for tracing the development of German clause structure. The criteria for selecting passages still matter. A study that looks at departures from a translated original can inspect those departures closely, and a study that starts with known verb forms can inspect the constructions those forms occur in. A search over structural annotations can begin with the construction itself.

The authors present the two forms of inquiry as complementary. Close reading can determine how a particular clause is organized and whether an unusual order is relevant to the hypothesis. Corpus retrieval makes it practical to collect more examples and to estimate how frequently the patterns occur under stated search criteria. The proposed workflow depends on both. The large search supplies candidates and distributions, and qualitative examination tests whether the candidates were interpreted appropriately.

Word order also has several potential influences. The paper groups them into the type of referring expression and syntactic, semantic and discourse factors. Animacy, the semantic factor for which the authors implement an annotation stage, is associated with an expectation that animate referents may come before inanimate ones. The two orders can therefore occur with different frequencies because the corpus mixes different kinds of expressions and contexts. A change in the corpus distribution motivates a question about the grammar and how those conditions interact. Testing the influence of a particular condition requires information about the relevant words and clauses in addition to their order.

What the corpus already made possible

ReM supplied word-level analysis for a large collection of Middle High German texts. It included dictionary headwords, features such as case and gender, and historical part-of-speech labels. It also supplied clause and sentence boundaries. A headword, or lemma, lets the corpus group historical word forms under a lexical entry. The part-of-speech annotations use HiTS, a tag set adapted from STTS for historical stages of German. These annotations gave the authors a starting point in part-of-speech tagging.

A word-level search can identify a dative form followed somewhere by an accusative form. The sequence is too general for the linguistic question. Several words may make up each object, and a word bearing a case tag may belong inside a larger phrase. The two forms could also occupy different fields or come from different clauses. The paper's approach adds the structural units that the search needs. It identifies noun chunks that can be compared as units and indicates which ones belong directly to the middle field.

The authors describe historical German computational work at the time as having reached the stage of prototypes for tasks such as morphosyntactic annotation. One cited study concerns automatic annotation and its manual evaluation on a diachronic German corpus. The paper places it among the work leading up to automatic processing of historical material. Automatic Annotation and Manual Evaluation of the Diachronic German Corpus TüBa-D/DC.

There were exceptions to the broader scarcity of early German syntactic annotation, but the authors note that the Early New High German corpus they mention begins with material from the 16th c. onwards. It could not supply the missing Middle High German fields and arguments in ReM. Their project treats the existing corpus annotations as inputs to a separate layer of structural parsing.

Why the authors used graph transformations

The paper situates its implementation alongside work that used RDF and OWL to represent and query linguistic corpora, as well as work that used RDF as the underlying representation for manual dependency annotation. These precedents made a graph a reasonable place to store linguistic structures. The authors' further step was to use graph operations to build the structures automatically.

The earlier automatic parsing experiment they identify used OWL reasoning and rules built on it. The authors describe it as relatively demanding in resources and report that it remained experimental. Their design centers on explicit patterns and updates, with shallow default decisions selected for the extraction task. A rule can be read as a description of what must already be present in the corpus graph and how the graph is to change when those conditions hold.

Tabular formats already fit part of this workflow. CoNLL is an established exchange format, including for the word-to-word relations used in dependency parsing. The paper gives Universal Dependencies as an example and cites the cross-linguistic account of Stanford dependencies in that connection. Universal Stanford dependencies: A cross-linguistic typology.

A field such as the middle field spans a stretch of text and contains chunks that themselves span words. Those units are easier to refer to when each has its own node. A word table can still be the interchange format between modules. The graph allows the stage that creates and queries syntactic structure to address words, phrases, fields and clauses directly.

The method, step by step

From the corpus files to a structure a query can read

The entry point is a collection of corpus files with annotations attached to words. The pipeline converts them to tab-separated text, adds lexical information in new columns, and then exposes each sentence as a graph. The parser builds phrases and clause fields in that graph. After a final conversion to a vocabulary for linguistic structures, the researcher can query the output using word properties and structural relations together.

For instance, the paper follows a clause in which someone shows a mantle to a king. The source tags already identify the finite verb and indicate that the noun for the king is dative while the noun for the mantle is accusative. The added structure groups each noun with its determiner, puts both groups inside the middle field, and records their order. A later query can then retrieve the object candidates at the phrase level.

From ReM corpus files to object-order queries

The steps in order.

From ReM corpus files to object-order queriesStep 1: Convert corpus XML to a word table1. Convert corpus XML to a word tableStep 2: Add candidates for modern lexical counterparts2. Add candidates for modern lexical counterpartsStep 3: Look up possible animacy classes3. Look up possible animacy classesStep 4: Map each sentence into CoNLL-RDF4. Map each sentence into CoNLL-RDFStep 5: Build nominal, prepositional and verbal chunks5. Build nominal, prepositional and verbal chunksStep 6: Identify clause fields and attach relative clauses6. Identify clause fields and attach relative clausesStep 7: Convert syntactic links to POWLA7. Convert syntactic links to POWLAStep 8: Retrieve and count object-order patterns in SPARQL8. Retrieve and count object-order patterns in SPARQL

The public implementation is a Bash pipeline named germhist. Its modules pass CoNLL or another tab-separated format between stages. The choice lets an enrichment stage add a column that a later stage can read, while keeping the rows aligned with the words they describe. CoNLL-RDF supplies the conversion into RDF and the means to apply the parser's updates. The authors also describe an experimental UIMA implementation that was outside the release.

Choose which annotations to carry forward

ReM is distributed in formats that include CorA-XML. The preprocessing stage reads this XML and selects the information needed for the pipeline. For the word value, it uses the corpus's canonical form instead of the recorded historical spelling. That is an existing normalization in the corpus and is distinct from the later decision about which modern lexical entry might correspond to the word. Some features, such as inflectional class, are dropped in this conversion.

The resulting table has columns named ID, WORD, LEMMA, POS, INFL and BOUNDARY. ID identifies the word row within the sentence and WORD holds the canonical form. LEMMA carries the historical dictionary entry and POS carries the corpus tag. INFL records morphosyntactic information, such as the case and number of a noun phrase's words. BOUNDARY marks clausal or sentence boundaries. Empty lines preserve the sentence division of the corpus.

These columns supply different kinds of evidence to the parser. A part-of-speech tag can identify a noun or a finite verb. Matching case and number can support grouping a determiner with a noun. A clause boundary can temporarily stop the parser from joining material in neighboring clauses. The syntactic layer uses these signals in combination and inherits the input's decisions about word forms and boundaries.

Connect historical lexical entries to modern ones

The authors call the assignment of a modern counterpart to a historical word hyperlemmatization. Ideally the counterpart preserves both meaning and etymological connection. A historical word can lack a suitable modern descendant, or the descendant may have changed meaning. Under those conditions the module can also supply a translation, depending on the word list or strategy used. The value it produces serves as an entry point to a modern lexical resource.

The module first attempts a word-list lookup. The authors compiled an initial list from Lexer by pairing historical headwords with words from their glosses. They selected a candidate by Levenshtein distance, which measures the edits needed to turn one string into another. Closeness in spelling offers a way to rank candidates when an entry contains more than one possible word. The association comes from the dictionary entry, and the spelling comparison chooses among the words available there.

Lexer's glosses presented several problems. A gloss could describe what a word meant using a phrase without offering a direct counterpart. It could be in Latin. It could also contain German spelling that differs from the modern form the enrichment stage needs. The paper's example is wonung for Wohnung. The authors introduced a similarity threshold for selection from multiword glosses and consulted Köbler for additional evidence. The threshold restricts which candidates a multiword explanation can contribute.

A lookup can still fail when a historical entry has no usable mapping in the current word list. Each module trains a transliterator from its list and uses it as a fallback in those cases. The transliterator learns from known historical-to-modern pairs. Its purpose is to propose a plausible form when direct lookup supplies none. The paper describes list construction and fallback training, while its main syntactic procedure consists of rules derived from grammars, expert knowledge and corpus examples.

The pipeline can call the hyperlemmatizer repeatedly with different lists and configurations, including fuzzy search. Each call can add a column of candidates. Keeping the candidates in separate columns makes it possible to run the next stage against a particular set without erasing the others. The article's word-order search draws on the syntactic annotations. The modern lexical counterparts prepare for additional searches about the semantic properties of the phrases.

Add possible animacy classes

The animacy stage needs an association between modern lexical entries and classes of referents. The authors build it from WordNet 3.1. In WordNet, a synset groups words associated with a sense, and senses are organized hierarchically. The authors start near the top of the hierarchy, classifying synsets where an appropriate category can be assigned. Where a synset is still unclassified, they look deeper and repeat the procedure. SPARQL SELECT runs over a local copy of the resource to extract the relevant information.

The class Human includes individual people as well as groups and organizations. Animate covers nonhuman living things, including animals, plants and bacteria. Products of plants or animals fall outside that class. Inanimate includes substances, objects and abstractions. These definitions give concrete meaning to a count based on the added column. For instance, a group counts as Human under this scheme, and an animal product can count as Inanimate even though an animal counts as Animate.

The authors transfer the classification to German using existing links between WordNet and the German lexical network GermaNet. The result is a list of German lexemes and their possible animacy classes. The annotator reads a selected hyperlemma column of the corpus table, looks up its entries in the list, and appends the associated classes in a further column. Different hyperlemma columns can be used in separate runs. The authors make the lookup stage generic enough to add another lexical feature if a suitable table is available.

A lexical entry can carry more than one class because different senses can refer to different kinds of things. The example is Schwein. Used for the animal, it is Animate. Used for pork, it is Inanimate. Used figuratively for a person, it is Human. The pipeline preserves these alternatives. Choosing the sense intended in a particular sentence would require word sense disambiguation.

This distinction becomes important when a lexical class is attached to a noun chunk for counting. A query can find chunks that contain nouns with a given possible class. Treating that possibility as the confirmed status of a referent in context would add a judgment beyond the lexical lookup. The paper supplies the annotation needed to investigate animacy and describes verification of its WordNet classification. It leaves the contribution of animacy to the historical order distributions for further study.

Convert the word table into RDF

RDF describes a graph through statements called triples. A triple has a subject, a predicate and an object. The subject identifies the thing being described. The predicate says which relation or property is being asserted. The object can identify another thing in the graph or hold a literal value such as a tag. A word can therefore have a relation to the next word and, separately, a literal value for case or lemma. The authors illustrate the data in Turtle, a compact notation for writing RDF.

CoNLL-RDF gives each nonempty word row its own URI, an identifier built from the document's base identifier, sentence number and word ID or position. This ensures that two occurrences of the same form can be distinguished. The resource for a word is marked nif:Word, and nif:nextWord connects it to its successor. These successor relations preserve the original order. Column labels become property names in the conll: namespace, and cells in those columns become the values of the properties.

The conversion mirrors the input table. Its lossless property concerns that table, after the earlier selection of columns from the corpus XML. In particular, the meaning of a property created from a column label comes from the corpus convention and the rules that use it. CoNLL-RDF can preserve the value of a tag even when the graph attaches no formal linguistic definition to the column.

The mapping creates a convenient starting point for further analysis. Phrases and clauses can be introduced as new nodes with their own labels and links. A query can ask for a phrase directly, then follow its links to find its constituents. In a bracket-based word table, the reader would first have to recover the phrase from bracket markings distributed across words. The authors keep tabular interchange available while giving the parser direct access to the explicit hierarchy.

Match a pattern and update the graph

SPARQL is the language used to query the RDF data and change it. A query describes a pattern of triples and uses variables for the parts to be found. Variable names begin with ?. A SELECT query returns bindings for the requested variables, such as the noun chunks found in a particular order. The update operations used in the parser can insert or delete triples. The conditions of an update can check existing annotations and follow links between nodes.

A nominal chunking rule, for example, can look for a noun with features for case and number and inspect the part of speech at the next active position. When its conditions hold, it introduces a noun-chunk node, assigns case and number to it, and records the noun as attached to the new chunk. The inserted node can then meet the conditions of a different rule that expands the chunk. The code example in the paper illustrates one condition for creating a noun chunk. The surrounding description also gives conditions for the end of the sentence and for neighboring nominals whose features differ.

There are no mathematical formulas in the paper. The formal descriptions are graph patterns and updates, with operators that determine what links a pattern can follow. A slash between properties requires the properties to be followed in sequence. A plus after a property allows a path of one or more links of that kind. An asterisk allows a path of zero or more, so the node at the start can qualify along with nodes reached by traversal. A FILTER places a condition on the matches. MINUS excludes matches for which another specified pattern holds. The relative-clause rule later uses this last operation to find the final noun chunk in a fragment.

Keep track of the fragments still being combined

The parser uses the names conll:SHIFT and conll:REDUCE for its working relations. These names come from shift–reduce parsing. Here SHIFT links neighboring active units, initially the words and later the heads or roots of partly assembled structures. REDUCE connects a word or fragment to the unit that it is attached to. The parser works by updating these relations in the same graph that already holds the source annotations.

To initialize the active sequence, the parser creates a SHIFT link wherever there is a nif:nextWord link. It then removes the active links that cross recorded clause boundaries. The source word-order links are retained. This allows the local chunking passes to work within clauses and gives a later pass the information it needs to restore adjacency across their boundaries.

When an attachment is made, a word or fragment ceases to occupy its own place in the active sequence. Its SHIFT links are removed, a REDUCE link records where it went, and the active adjacency links are repaired to pass through the root of the combined structure. A noun and a determiner can become part of the same chunk while the chunk itself occupies a single position relative to its neighbors. The result of the attachment is still visible below that chunk.

The graph has no inherent row order for rule execution. The rules use the stored adjacency relations and apply to matching patterns across the sentence. The updates run in a specified order and can be repeated until further applications make no change. This lets the parser build from words to chunks and from chunks to larger structures. The paper describes the intended completion in terms of building a sentence root. Its evaluation counts what is produced across ReM.

The strategy is deterministic and greedy. The rules use the structure that is available when an update runs and commit to the attachments prescribed by that update. A later rule can extend what an earlier one built. The analysis therefore depends on rule order and on the available annotations. The parser's ability to follow paths through an existing structure becomes important when the attachment site is inside a clause that has already been built.

Build noun, prepositional and verbal chunks

Before constructing phrases, the parser restructures some input features. It maps the historical corpus tag to a universal part-of-speech value available as conll:UPOS. It also uses separate properties for case, number and finiteness. This lets a rule test agreement or look for a finite verb without treating the original bundle of corpus features as a single label.

A noun or nominalized word can project a node labeled NX, the category for a noun chunk. The rule can create one at the end of a sentence, before a nonnominal word, or when the following nominal differs in case or number. These conditions give the parser entry points for forming chunks. Starting from an eligible noun, it extends the chunk to the left over preceding words that match its case and number. Iteration lets it examine the next preceding word after an expansion. Other rules create chunks for unattached pronouns and handle constructions such as an attributive adjective after its noun.

In the example from ReM, the parser identifies küninge and mandel as the nouns around which the object chunks form. The case annotations give the features needed to distinguish them. The preceding dem shares the dative singular features of küninge. The preceding den shares the accusative singular features of mandel. The resulting units are dem küninge and den mandel. A query can compare the phrases through their chunk nodes while their constituents remain available below them.

A preposition immediately before an NX can join it in a node labeled PX, a prepositional chunk. The parser uses low attachment for these chunks. When a PX immediately follows an NX, it attaches the prepositional chunk to that noun chunk. A prepositional phrase between a dative and an accusative phrase can therefore become part of the preceding noun chunk's structure. In the resulting tree, the object candidates can be adjacent siblings even when there was intervening material in the text.

Low attachment is a task-specific decision. A prepositional phrase can in principle have a higher attachment site, and choosing among sites would require evidence that the authors' rules do not seek. For the word-order search, their policy makes it convenient to navigate from one candidate object to the other. The treatment of genitive noun chunks follows a similar design choice. The chunker treats them as nominal modifiers even though the paper notes that genitives can sometimes serve as arguments in Middle High German.

Verbal chunking introduces nodes labeled VX. The rule groups consecutive verbs and selected particles, including particles tagged PTKVZ in ReM. If a verb in the group is finite, the chunk inherits finiteness. The paper gives VVFIN as an example of a corpus tag from which the feature is obtained. In the sample clause, zeigete forms a verbal chunk. Its finiteness is what allows the main-clause rules to identify it as a left bracket.

Locate fields and assemble clauses

The main-clause rules begin by detecting the left and right boundaries supplied by the predicate. A finite VX provides the left bracket, labeled LB. A verbal particle or the next nonfinite VX can provide the right bracket, labeled RB. The ordered chunks between LB and RB form the middle field, labeled MF. Where the clause lacks an RB, the middle field can extend to the clause boundary.

The prefield can be a noun chunk, a prepositional chunk or an adverb immediately before the left bracket. Its label is VF, from German Vorfeld. The rules can form a pre-prefield, VVF, for a conjunction before the prefield or left bracket. If a right bracket is present, the span after it up to the clause boundary is the postfield, NF, from Nachfeld. The parser groups the bracket and available fields into a clause node, CL. The paper describes a related set of rules for relative clauses.

In the running example, si occupies the prefield, zeigete supplies the left bracket, and the two noun chunks belong to the middle field. There is no visible right bracket in that example. This is the structure needed for the order query. The noun chunks have case properties and share a field, and their order is available at the level of the field's children.

The clause rules were developed and tested on sample sentences from ReM. The authors describe the contribution of Middle High German grammars, expert judgment and competence in modern German to their construction. Those sources helped them formulate attachment and grouping rules. The study then applies the pipeline to ReM for its coverage and descriptive counts.

Reach attachment sites inside earlier fragments

Continuous stretches of clause material fit the process of combining neighboring chunks. A relative clause can interrupt a clause that resumes after it. To handle those cases, the parser restores active links across clause boundaries using the original word-order relations. It then looks for a noun chunk inside the preceding fragment as the default attachment site for the relative clause.

The selection rule searches the preceding fragment for its noun-chunk descendants. The candidate retained is the last one in word order. The rule identifies it by excluding a candidate when a word belonging to a different noun chunk within that fragment follows a word in the candidate. This combines two kinds of navigation. Hierarchical links determine which chunks belong to the fragment, and word-order links determine which of those chunks comes last.

The selected noun can be inside the existing structure, possibly on the other side of a right bracket. The rule can therefore reach a site below the active root and create a non-projective analysis. In this context, non-projective describes an attachment that can cross another connection when the words are arranged in their textual order. After the intervening relative clause has been attached, the remaining pieces of the interrupted clause can be joined and handled by the field rules.

The example demonstrates a property of the implementation. A SPARQL update can inspect an earlier parse fragment internally using the same graph machinery it uses to inspect neighboring roots. The rule finds the last eligible noun by this criterion. Its preference is another low-attachment default, so the example establishes that the intended attachment can be expressed and constructed by the update.

Prepare the resulting structures for retrieval

The last syntactic transformation renders the parser's working relations in POWLA, a vocabulary for representing linguistic annotation. powla:Node identifies an annotatable node. powla:hasParent points from a constituent to the node containing it. powla:nextNode links immediately successive siblings. The links give a query access both to containment and to order within a parent.

A query illustrating accusative before dative binds an accusative candidate to a variable named ?acc. It checks conll:CASE for Akk and follows the candidate's parent link to check that the parent's category is MF. It then follows a path of one or more powla:nextNode links to a node bound to ?dat, whose case value is Dat. Because the links are between siblings, the path locates a later candidate within the same structural unit. The use of a path also allows for intervening siblings. The dative-before-accusative comparison reverses the case order sought.

The query takes advantage of the intended structure of the annotation. A case-marked candidate directly under a middle field is a potential object for the study. Case values on words inside a chunk remain accessible, but the parent test makes a difference to their eligibility. The words under an NX can also be inspected for lexical annotations, which is how the approach can relate an object's place in the order to the animacy information of nouns inside it.

The pipeline can leave the result in RDF or render it back into a CoNLL-style format. The authors describe a visualization that represents nonterminal nodes as additional rows, so a display built for dependency structures can show phrase and field nodes. Within the RDF representation, those nodes already have identities and can be queried directly. The extraction experiment uses that direct relationship between the structures produced by the parser and the patterns counted by SPARQL.

Experiments and results

Corpus coverage and the unit of measurement

The Reference Corpus of Middle High German was first published in December 2016. The paper describes it as containing approximately 2.5 million tokens in about 397 texts and fragments, including prose, poems, letters and administrative writing. It covers several dialects within the period identified as 1050-1350. The experiments draw on a corpus with varied material, so the provenance and genre of the retrieved examples matter when interpreting order frequencies.

The pipeline's coverage figures report 2,514,585 tokens, 147,398 sentences and 224,820 middle fields for ReM. A token in the first count is a word node marked nif:Word. Sentences in the second count are nodes of category S. The middle-field count concerns nodes of category MF and refers to structures within clauses. The sentence and field totals measure different units. A graph for a sentence can contain several clauses, making the field count a different kind of corpus total from the number of sentence nodes.

The authors use these figures to characterize the output of the pipeline. A field produced by the chunker contributes to the coverage total whether or not an independent analyst would endorse its boundaries. Likewise, a returned case pair contributes to the order count when it satisfies the structural query. Gold annotation, meaning independently established reference analyses for assessing the automatic output, was unavailable for this task. Coverage and order frequency are the reported measurements for the parser's corpus application.

There is no competing parser score or results split for training and testing in the corpus experiment. The rules were developed on sample material, and the paper reports coverage on ReM alongside a descriptive analysis across periods and genres. Speyer's results motivate the comparison about historical direction. His manually selected verb attestations and the structure-based retrieval from ReM supply different kinds of evidence, so the paper uses his study as a historical point of comparison.

Which order the query retrieves more often

Across the parsed corpus, the authors report 3,498 attestations of accusative before dative and 8,197 of dative before accusative. These are counts of the two relative case orders in the target environment. They record what the extraction finds under the pipeline's definition of a middle-field candidate. The highlighted bar marks the more often retrieved order.

Accusative and dative order in ReM middle fields by attestation count

The query retrieves dative before accusative more frequently than the reverse order.

Accusative and dative order in ReM middle fields by attestation countAccusative before dative: 3,498Accusative before dative3,498Dative before accusative (this paper): 8,197Dative before accusative (this paper)8,197
The numbers
System or settingattestations
Accusative before dative3,498
Dative before accusative (this paper)8,197

The totals show an asymmetry in the output across the corpus. They do not indicate when it arose or whether it holds in every part of ReM. Nor does the larger count measure how accurately the system identifies that order. An order can be particularly frequent in a genre or period that makes a large contribution to the pooled results. The paper turns to the distributions within periods and genres to put the corpus-wide comparison in context.

The count of middle fields provides information about the amount of syntactic output available for such retrieval. Many fields can lack one or both of the target candidates, so the reported frequency for either order has a different meaning from the amount of field annotation. The extraction asks for a specific case contrast within a recognized field. These reported totals do not give the proportion of fields that truly contain the construction.

How prose and verse differ over time

The authors examine the relative frequency of the orders in 50-year periods across the Middle High German era. In prose, they describe direct-object-first and indirect-object-first orders as about equally common until 1150. After 1200, the indirect-object-first order is relatively more frequent. The paper identifies a peak around 1250 and attributes the apparent later fall in the plotted results to the overall amount of surviving material from the relevant periods represented in the analysis.

This is a first reading of the historical distribution. An early balance and a later preference for one order are compatible with a decrease in flexibility within the Middle High German prose material. That interpretation concerns how strongly the attestations favor one sequence over the other. Establishing a change in the circumstances under which the orders were usable would require comparing the linguistic contexts represented by those attestations. The paper presents the distribution as the starting point for that analysis.

In verse, the authors find that the indirect object precedes the direct object more often throughout the periods shown. They suggest that rhyme and meter could influence those orders and leave the explanation open. Verse and prose thus show different profiles even when retrieved with the same syntactic pipeline. Pooling them would make it harder to see when a preference emerges in prose, since the verse data favor that same order throughout.

The paper's interpretation applies to the period it analyzes. Speyer's proposed change extends beyond it. The authors identify Early Modern High German as the next period needed to follow the comparison forward. The Middle High German results alone cannot determine how the preference changed after the range covered by ReM.

Verification of the lexical classifications

The authors also report a check on the animacy resource. They ran the classification over WordNet 3.1 and inspected 100 random samples for errors. The procedure was iterated, and after 5 iterations the authors report that they found no further errors in their inspection. This checks the assignments generated from the WordNet hierarchy under the animacy scheme.

The check concerns the classification in the lexical resource. The full corpus annotation adds decisions about the historical word's modern counterpart and inherits any ambiguity in the modern entry. The paper gives no accuracy figure for animacy on historical word occurrences. It also gives no result for the strength of the association between animacy and object order. The lexical pipeline prepares the data for that analysis, while the experiment reported here counts the relative order of the case-marked candidates.

What the ablations show

The paper reports no component ablation study. Its analyses include a comparison across periods and genres, an inspection of the lexical classification, and sentence-level demonstrations of the rules that support retrieval.

What the genre and period comparisons establish

The separation of prose from verse is the main comparison within the corpus application. The same target contrast is sought in each group. Prose shifts from a period where the orders occur about equally often to a period with a reported preference for dative before accusative. Verse shows that preference throughout. This establishes that the pooled counts would conceal differences among parts of the corpus. The groups consist of historical materials that differ in additional ways, so the comparison does not isolate genre as a cause.

The period comparison also shows why the number of attestations matters when reading the shape of the plotted distributions. The authors attribute the apparent decline after the peak to the amount of text from those periods. A lower line in the plot can reflect fewer opportunities to observe the construction. The study has yet to establish whether a change in the linguistic contexts of the object orders contributed to the profile alongside the differences in available data.

Speyer's study supplies another comparison, at the level of the hypothesis. His selected prose sentences gave a possible indication of increased flexibility since the Middle Ages. ReM prose, as counted by the new pipeline, is compatible with a decrease within the Middle High German period itself. The source materials, selection procedures and historical spans differ. The comparison makes the unresolved question more precise because it shows what additional periods and qualitative checks are needed.

What the rule examples explain

The running sentence shows why the extraction operates on chunks. The determiner and noun in each object phrase can have the same case. If every tagged word were counted independently, their internal agreement could supply several points of contact for what a linguist would regard as a single phrase. Creating a noun-chunk node gives the query a unit corresponding to the group. Identifying its parent as a middle field then confines the comparison to the part of the clause under study.

The low attachment examples explain how a design decision affects the observable tree. When a prepositional phrase between the two object candidates attaches inside the preceding noun chunk, it no longer occupies a position of its own at the level where the objects are compared. The earlier phrase stays earlier, while the relation of the intervening material to the rest of the clause has been decided by a default. The paper shows the structural consequence of that decision. It provides no controlled comparison of how many order attestations would be recovered under a different attachment policy.

The relative-clause rule demonstrates a different capability. By combining containment and order relations, it can choose a position within an already processed fragment and then allow work to resume on the discontinuous clause. The example shows why the authors chose a graph query language for the transformation. It does not estimate how frequently the default picks the intended antecedent across the corpus.

Together, the demonstrations clarify which pieces of the annotation support which parts of the eventual query. Agreement guides the grouping of words. Finiteness helps locate the verbal bracket. Field membership restricts the candidate set. Sibling links express the order to be counted. Their contribution is illustrated by the construction of the analysis, without separate accuracy estimates for the stages.

What the lexical inspection can check

The inspection of animacy classes addresses the quality of the hierarchy-based classification. Repeatedly examining its output helps identify synsets that need additional work at a lower level of the hierarchy. The reported stopping point describes the outcome of that inspection. It also leaves open separate sources of ambiguity farther down the pipeline.

A candidate modern counterpart can be a poor match to a historical lemma. A valid counterpart can have several senses with different animacy values. A noun carrying a plausible lexical class can also belong to a phrase whose referent requires contextual interpretation. The paper's checks concern the construction of the initial class inventory and its WordNet application. The comparison of historical objects remains a prospective use of the enriched data.

Limitations

Limits stated by the authors

The authors explicitly define the parser as shallow. Its attachment rules make deterministic choices where a detailed syntactic analysis would require disambiguation. Low prepositional attachment serves the study of the relative order of the noun chunks. The relative-clause rule chooses the last available noun chunk in the preceding fragment under its search criterion. Treating genitives as nominal modifiers also has a scope condition because the paper acknowledges that argumental genitives exist in Middle High German.

These choices make the output suitable for asking the intended query with a consistent representation. They limit the independent evidence the parser can offer for the attachment decisions themselves. For instance, the resulting tree can show an intervening prepositional phrase as part of a preceding noun chunk precisely because the rule makes that choice. The graph records the analysis clearly enough to inspect it, while a contextual reading is needed to judge whether it is correct for that instance.

The lack of gold syntax sets the principal evaluation limit. The paper describes a qualitative assessment of argument extraction and middle-field detection as underway. It reports coverage in the meantime. A high volume of output establishes that the pipeline can be applied to an extensive corpus. Evaluating the quality of that output requires independent judgments about the structures retrieved, as well as examination of relevant examples that the parser may have missed.

The animacy procedure has an explicit limit at the level of the word occurrence. It can return multiple possible classes because it omits sense selection. The hyperlemma stage has its own recognized difficulties with dictionary coverage, gloss language and historical spelling. The authors use thresholding, additional dictionary evidence and a transliteration fallback to improve the candidate supply. They do not report held-out accuracy for the complete transfer from a historical occurrence to its contextual animacy class.

The authors also mark the historical interpretation as preliminary. A detailed linguistic analysis of the prose and verse distributions was still underway. The proposed influence of rhyme and meter remained an explanation to examine. Extending the investigation to Early Modern High German was necessary to test Speyer's claim over its longer historical span.

Limits visible in the experimental setup

The sample order query operationalizes an object through case and structural position. It looks for the relevant case values linked in the appropriate field. This creates a reproducible retrieval criterion, but the linguistic interpretation of that criterion depends on the chunker's output and the scope of the case labels. Accuracy in identifying a case-marked phrase can coexist with an incorrect assignment of its grammatical function. Conversely, an error in phrase formation or field boundaries can keep a genuine object out of the retrieved set.

The upstream features matter as well. A determiner is brought into a chunk on the strength of matching annotations, and a main-clause boundary depends partly on recognizing a finite verbal unit and using the available clause divisions. If those signals differ in completeness across the texts, the procedure can give a different account of constructions that have similar syntax. The paper provides neither a feature-by-feature error breakdown nor independently checked accuracy figures by genre or period. The extent of any resulting distortion in the historical distributions is therefore unknown.

The pipeline's deterministic character helps with consistency and inspection. It also means that a recurring rule error can recur across many sentences. If a construction common in a particular part of the corpus regularly defeats a rule, collecting more matches under that rule supplies little information about the missed examples. The corpus-scale design gives the study reach. The qualitative checks are necessary to judge how the reachable examples represent the target construction.

A further issue concerns what the historical distributions measure. The frequencies combine the speakers' or writers' ordering choices with the mix of constructions, lexical items and text types represented in the surviving material and in ReM. The paper itself identifies several categories of factors that can influence order. Without accounting for them, a stronger preference in one interval can reflect changes in the contexts represented in that interval. The available figures support a description of the retrieved prose and verse attestations. They leave the size and cause of any change in grammatical flexibility open.

The lexical resources introduce another chain of interpretation. A successful historical-to-modern mapping establishes a plausible lexical connection under the chosen method. The German-to-WordNet link makes animacy categories available for the modern entry. A historical referent in a sentence is the eventual object of interest. Coverage or quality at one link in that chain cannot stand for accuracy of the whole chain. The resource-level inspection therefore has a narrower scope than an evaluation on historical objects in context.

Finally, the technological claims have a particular kind of support. The authors show that the specified shallow analyses can be carried out with CoNLL-RDF, SPARQL Update and the surrounding Semantic Web tools. They describe the design as lightweight and transparent. They do not supply a timed comparison with the earlier approach based on reasoning, or an evaluation against another parser. The evidence is the working implementation, its explicit transformations and the corpus structures used in the extraction.

What came after

A subsequent citing work, published in 2024, is titled Universal Dependencies: Extensions for Modern and Historical German. Its stated subject is the extension of Universal Dependencies for both modern and historical German. That scope brings together two concerns that meet in the earlier paper: how to organize syntactic annotation in an established interchange framework, and how to accommodate the constructions of historical German.

The 2018 paper cites Universal Dependencies when discussing the use of CoNLL for dependency annotation. Its own structural work centers on giving phrase and field spans explicit nodes, including those needed to identify where object order varies. The later title places annotation extensions for historical German within Universal Dependencies itself. The citation connects the studies at the level of representing historical German syntax. It provides no basis for attributing the earlier SPARQL rules, lexical enrichment modules or object-order findings to the later work.

The diachronic comparison and the annotation question remain distinct in this connection. An extension of an annotation framework concerns which distinctions can be represented and shared. The historical claim about flexibility depends on retrieving comparable constructions across periods and checking their analyses. Chiarcos and colleagues demonstrate how an explicit representation can make that retrieval possible for Middle High German and identify the evidence still needed to carry the comparison forward.

Cite

Cite as Christian Chiarcos, Benjamin Kosmehl, Christian Fäth and Maria Sukhareva. 2018. Analyzing Middle High German Syntax with RDF and SPARQL. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{chiarcos2018analyzing,
  title = {{Analyzing Middle High German Syntax with RDF and SPARQL}},
  author = {Christian Chiarcos, Benjamin Kosmehl, Christian Fäth and Maria Sukhareva},
  booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},
  year = {2018},
  doi = {10.63317/2mq2ne2by9x6},
  url = {https://doi.org/10.63317/2mq2ne2by9x6}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chiarcos-2018-analyzing-middle-high-german-syntax/