Elamur Research

QArabPro: A Rule Based Question Answering System for Reading Comprehension Tests in Arabic

Paper · 2011 · Mohammed Akour

Summary

Answering a question about a passage requires more than finding words that the question and passage share. A system must also recognize what kind of answer is wanted: a person, a place, a quantity, or an explanation. QArabPro addresses this problem for Arabic reading comprehension through explicit linguistic rules and statistical document retrieval. Its central contribution is to bring previously excluded question categories into the same working system, particularly questions asking why something happened and questions asking how many or how much. The paper reports encouraging performance, while also showing that these categories remain substantially harder than locating people or places.

The system operates in stages. It processes Arabic words, extracts their morphological roots, assigns grammatical and semantic information, and retrieves documents related to the question. Within a candidate document, it scores sentences using rules selected by the question’s interrogative expression. Shared roots provide a general relevance signal, with matching verbs receiving greater weight than other matching words. Additional rules favor sentences containing the expected answer material, such as a recognized name, a temporal expression, a location, or a number. The output is the sentence receiving the strongest score. Thus, the main demonstrated task is selecting an answer-bearing sentence, rather than composing an explanation or consistently isolating a minimal answer phrase.

Why questions receive a distinctive treatment. The system first identifies sentences that match the question especially well. It then considers those sentences and their immediate neighbors, because an explanation can occur beside the statement describing the event being explained. Lexical indicators of intention, justification, and explanation provide further evidence. Quantity questions use another specialized rule family, including clues for exact numbers and approximate amounts. These procedures extend coverage through visible heuristics; they do not amount to a general account of causality or Arabic quantitative constructions.

The authors evaluate QArabPro on material collected from Wikipedia: 75 reading comprehension tests containing 335 questions. They report 84% overall accuracy in the abstract and conclusion, while the detailed results table gives 84.18%. The strongest reported category is Who/Whose, at 94.34%. Why reaches 62.22%, and How many/much reaches 69.77%. The retrieval component is assessed separately, with precision of 93%, recall of 86%, and F-Measure of 89%. These retrieval measurements and the answer-selection accuracy describe different stages and should not be treated as interchangeable evidence.

The findings support a limited but useful conclusion: a relatively transparent combination of Arabic word processing, retrieval, and question-specific rules can answer a broad range of reading comprehension questions, including difficult categories omitted by earlier Arabic systems discussed in the paper. They do not establish superiority in a shared benchmark comparison. The paper offers no component ablations, gives limited information about rule development and evaluation separation, and leaves important details of answer scoring unclear. Its strongest lasting lesson is architectural: relevance, answer type, and the location of explanatory evidence are different signals, and a practical system can make each of them explicit.

Interesting ideas

Separate relevance from answer suitability. A sentence can discuss the right subject without containing the requested information. QArabPro combines word overlap with clues about the expected answer, instead of allowing overlap to decide everything. This distinction applies to document search, evidence selection, and any application in which retrieving related material is easier than finding material that actually resolves a request.

Use linguistic normalization before matching. Inflected or derived forms may refer to related content while sharing no complete surface word. Root-based matching gives QArabPro a way to connect such expressions. The reusable principle is to choose a comparison unit appropriate to the language and task, while checking whether normalization also merges distinctions that the application needs.

Route questions to specialized evidence rules. A place question and an explanation question need different observations. QArabPro makes that difference operational through separate rule families. Other systems can use the same approach when a small set of well-defined request types supports clearer reasoning than a single undifferentiated relevance score.

Search around the strongest textual anchor. The sentence that best matches a question may identify the event without explaining it. QArabPro’s Why procedure uses that sentence as an anchor and examines neighboring material. This is useful wherever evidence is distributed locally across a document, provided that proximity remains a candidate-generation clue rather than proof of a relationship.

Keep evidence contributions visible. Matching verbs, recognized semantic classes, and particular lexical expressions each contribute identifiable points. This makes a decision easier to inspect and gives developers concrete places to investigate errors. The broader value is interpretability: a system can expose why a candidate was favored without presenting its score as a calibrated probability.

Report performance by request type and processing stage. An overall result can conceal weak coverage of difficult questions, while successful retrieval can conceal unsuccessful answer extraction. QArabPro reports category-specific answer accuracy and separate retrieval measurements. Similar reporting helps researchers identify whether the next improvement belongs in language processing, retrieval, evidence selection, or inference.

Deep dive: QArabPro: A Rule Based Question Answering System for Reading Comprehension Tests in Arabic

How QArabPro answers Arabic reading questions with root matching, retrieval and explicit rules, and what its reported accuracy establishes. · about 37 minutes to read

How Mova uses it

Mova is a small, transparent language system written in Rust. Its English language core constructs dependency trees, reads events and relations into frames, and maintains a world of the text. These mechanisms overlap with some of QArabPro’s architectural concerns, although they use a more structured representation than its sentence-scoring approach. The connections below are proposals grounded in those documented mechanisms. The status marks describe architectural overlap; they do not establish that QArabPro has already improved Mova.

Idea: Separate topical relevance from answer suitability. Where: Materials and Methods, rule-based question answering discussion and question-specific rules. Area: question answering. Mova: частково є (prag frames, world readers, and fastread question-to-document frame alignment). Mova could record whether a candidate concerns the question’s event separately from whether it fills the requested role. Why Mova: This would make failures easier to diagnose when the correct passage is found but the answer relation is missing.

Idea: Match linguistic units rather than surface strings alone. Where: Materials and Methods, stemming and WordMatch descriptions. Area: morphology. Mova: вже є (en lemmas and structured matching through prag frames). QArabPro reinforces the value of comparing normalized linguistic representations. For Mova, the proposal is to audit where readers still depend on surface forms and test whether existing lemmas resolve those mismatches. Why Mova: Reusing established linguistic information could improve access without adding another opaque decision layer.

Idea: Keep root, stem, and lemma interpretations distinct. Where: Materials and Methods, stemming-root extraction discussion. Area: lexical representation. Mova: частково є (en morphology and lemmas; dictionary evidence in tools/dictindex). Arabic roots should not be treated as interchangeable with Mova’s existing lemma representation. A future Arabic adapter would need explicit representation types and source evidence. Why Mova: Clear distinctions would prevent a language-specific normalization shortcut from silently changing the meaning of dictionary entries or reader matches.

Idea: Give event identity its own relevance evidence. Where: Materials and Methods, WordMatch weighting. Area: semantic matching. Mova: частково є (prag event frames and global verb classes). Instead of copying QArabPro’s numerical weights, Mova could test whether matching the event predicate deserves a separate feature from matching its participants. Why Mova: This could help distinguish passages containing the same entities but describing different actions.

Idea: Classify the requested answer before selecting evidence. Where: Materials and Methods, query-type discussion and Table 1. Area: semantic parsing. Mova: частково є (native question observations, world readers, and configured deputy capability resolution). Mova could make the requested role or answer class explicit in reader traces. The configured operational planner is a separate path and does not establish general question understanding. Why Mova: Explicit answer requirements would make unsupported interpretations visible before evidence is ranked.

Idea: Use specialized rules for genuinely different question families. Where: Materials and Methods, rules associated with Figures 2–7. Area: reasoning. Mova: частково є (specialized world readers, math readers, and layers domain routing). QArabPro suggests auditing whether each question family has suitable evidence obligations. The proposal concerns transparent specialization, not replacing all readers with a shared sentence scorer. Why Mova: A temporal answer, a quantity, and a cause can then fail for different, inspectable reasons.

Idea: Recognize semantic classes through documented lexical evidence. Where: Results, semantic-class inventory. Area: lexicography. Mova: вже є (global compiled categories, onto concepts, and dictionary-backed language information). Mova could inspect whether categories useful to readers have adequate dictionary coverage. QArabPro’s particular word lists would require their own provenance before reuse. Why Mova: The free dictionary can support more than word lookup when its categories are explicit and traceable.

Idea: Treat names and human descriptions as different clues. Where: Materials and Methods, Who/Whose rules associated with Figure 2. Area: entity interpretation. Mova: частково є (world entities, coref, and lexical animacy information). A person answer may be expressed through an occupation or title instead of a personal name. Mova could test these alternatives separately. Why Mova: This would support person questions without requiring every human referent to appear in a names list.

Idea: Gate temporal candidates with temporal evidence. Where: Materials and Methods, When rules associated with Figure 4. Area: temporal interpretation. Mova: частково є (global time and measure categories, prag frames, and world state). Mova could require a temporal observation before accepting a candidate for a time question, while keeping documented exceptions. Why Mova: This would reduce cases where strong topical overlap substitutes for the requested temporal information.

Idea: Combine location vocabulary with grammatical relations. Where: Materials and Methods, Where rules associated with Figure 5. Area: syntax and semantics. Mova: вже є (dependency trees, prag place roles, and world locations). The transferable idea is to check that lexical and structural evidence support the same interpretation. Why Mova: A location name alone does not establish that it answers where the question’s event occurred.

Idea: Use the best event match as an explanatory anchor. Where: Materials and Methods, Why procedure associated with Figure 6. Area: discourse analysis. Mova: частково є (prag cause and sequence links; world event readers). Mova could identify the event being explained before searching for its cause. Why Mova: This separates failure to identify the target event from failure to find explanatory evidence about it.

Idea: Expand explanation search to adjacent sentences. Where: Materials and Methods, Why rules associated with Figure 6. Area: evidence retrieval. Mova: нове. A proposed reader experiment would add neighboring sentences around a matched event to the candidate pool, with sentence identities retained. Existing cross-sentence reading does not establish this exact search policy, and wider implementation status is unknown. Why Mova: It offers a bounded way to recover explanations that lexical matching within the anchor sentence misses.

Idea: Test directional preferences rather than assuming them. Where: Materials and Methods, different rewards for sentences preceding and following a Why anchor. Area: evaluation. Mova: нове. Mova could compare the usefulness of preceding and following evidence on its own development material before assigning either a preference. No matching measurement is documented in the digest. Why Mova: This would prevent a heuristic observed in one collection from becoming an unexamined rule in another.

Idea: Keep causal markers separate from established causes. Where: Materials and Methods, lexical explanation clues in the Why rules. Area: pragmatics. Mova: частково є (prag cause links and typed frame evidence). Mova could preserve the lexical cue that proposed an explanation while requiring additional relational support before treating it as a cause. Why Mova: A visible explanation word can guide reading without turning every nearby statement into an accepted causal claim.

Idea: Distinguish exact quantities from approximations. Where: Materials and Methods and Results, How many/much discussion associated with Figure 7. Area: quantitative semantics. Mova: частково є (math exact rationals, units, and quantitative worlds). The documented exact core does not by itself establish complete handling of approximate language. Mova could represent approximation as an explicit property of the interpreted amount. Why Mova: An approximate statement should not become an exact value merely because arithmetic is exact.

Idea: Handle omitted quantity targets explicitly. Where: Results, discussion of quantity questions with an omitted noun. Area: syntax and reference. Mova: частково є (coref and world context; exact quantity-ellipsis coverage unknown). A reader could retain an unresolved quantity target until context supplies the measured object or unit. Why Mova: This would expose missing context rather than assigning a number to the wrong thing.

Idea: Expand queries with reviewed lexical alternatives. Where: Materials and Methods, query expansion. Area: lexical semantics. Mova: частково є (onto synonyms, global concepts, and dictionary occurrence evidence). Mova could test bounded synonym expansion when direct structural matching finds no suitable passage. Expansion would generate candidates rather than assert equivalence in every context. Why Mova: The dictionary could improve access to relevant text while preserving the distinction between lexical relatedness and a supported answer.

Idea: Measure the noise introduced by expansion. Where: Materials and Methods, dependence of answer extraction on question processing and retrieval. Area: evaluation. Mova: нове. A proposed comparison would retain both the newly retrieved evidence and the additional irrelevant candidates caused by expansion. The digest does not establish a matching reader experiment. Why Mova: More retrieved text is useful only when the final decision procedure can select better evidence from it.

Idea: Normalize retrieval evidence without calling it understanding. Where: Materials and Methods, term weighting and frequency normalization. Area: information retrieval. Mova: частково є (tools/dictindex frequency and feature statistics; enrichment lesson retrieval). Mova could use collection statistics for candidate selection while retaining frame and world checks for interpretation. Why Mova: Statistical salience can make reading cheaper without becoming a substitute for the relations that justify an answer.

Idea: Keep retrieval and inference representations separate. Where: Materials and Methods, vector-space retrieval followed by question-specific sentence rules. Area: architecture. Mova: вже є (language trees, frames, worlds, and separate dictionary evidence indexing). QArabPro supports a useful division of labor: a coarse representation narrows the search, and a more task-specific representation decides what the text supports. Why Mova: This permits efficient retrieval without weakening the explanatory contract of the reader.

Idea: Retain each rule’s contribution to a decision. Where: Materials and Methods, additive sentence scores and clue levels. Area: interpretability. Mova: вже є (native rule reasons, routing logs, and reader justifications). Mova could ensure that any new retrieval or ranking feature follows the same convention. Why Mova: A visible chain from observation to choice makes disagreements concrete enough to review and test.

Idea: Do not interpret heuristic points as probabilities. Where: Materials and Methods, explanation of the rule-point scale. Area: statistics. Mova: частково є (prag confidence reliability analysis; deterministic rule explanations). Mova could label ranking scores according to what they actually measure and reserve confidence claims for separately evaluated quantities. Why Mova: This would keep a convenient ordering score from implying a level of certainty that has not been demonstrated.

Idea: Measure answer-bearing sentence selection separately from answer extraction. Where: Results, HumSent and AutSent descriptions. Area: evaluation. Mova: частково є (fastread compares answers and evidence; world reader benchmarks). Mova could report whether it found an acceptable evidence sentence even when its final answer is wrong. Why Mova: This would locate failures between document access, interpretation, and answer production.

Idea: Preserve human judgments separately from automatic proxies. Where: Related Work and Results, HumSent and AutSent. Area: annotation and evaluation. Mova: вже є (teacher-separated assessment and distinct evidence/admission boundaries). Mova could maintain the distinction whenever an overlap-based proxy is used to inspect a reader. Why Mova: Agreement with a convenient automatic selector should not silently replace evaluation against the intended answer.

Idea: Report difficult question types individually. Where: Results, Table 2 and Figure 8. Area: evaluation. Mova: вже є (separate school, maths, and reader assessments; field-specific pragmatic evaluation). A further application would be a stable question-type breakdown within each reader’s held-out evaluation. Why Mova: A strong overall score can otherwise conceal weak explanatory or quantitative reading.

Idea: Evaluate retrieval independently of final answers. Where: Discussion, retrieval precision, recall, and F-Measure. Area: pipeline diagnosis. Mova: частково є (dictionary measurements and fastread miss classifications). A reader could retain explicit evidence-retrieval outcomes alongside answer judgments. Why Mova: The remedy differs when the supporting text was never retrieved and when it was retrieved but misread.

Idea: Preserve unsupported scope as a visible boundary. Where: Materials and Methods, assumption that an answer lies within a single document. Area: system contracts. Mova: вже є (bounded native deputy behavior, explicit failure outcomes, and source-bound groupants). Mova could state comparable evidence boundaries for each reader. Why Mova: A capability becomes easier to assess when its permitted sources and failure conditions are declared.

Idea: Use expert linguistic review for language-specific heuristics. Where: Discussion, importance of Arabic expertise in rule formulation. Area: rule development. Mova: вже є (reviewed annotation, deterministic repair rules, and regression gates). QArabPro’s lesson is to make language knowledge part of rule design, then test the rule rather than relying on authority alone. Why Mova: This fits a system whose rules are explicit and whose language extensions require evidence.

Idea: Keep candidate knowledge separate from admitted knowledge. Where: Materials and Methods, synonym expansion and semantic-class resources; Discussion, proposed lexical enrichment. Area: knowledge admission. Mova: вже є (tools/enrich staging and tools/dictindex labels remain distinct from dictionary admission). The proposal is to preserve that boundary when lexical resources are used to improve reading. Why Mova: A term that helps retrieve a passage has not thereby earned admission as a definition or fact.

Idea: Compare alternative systems by question family. Where: Related Work, discussion of Rotaru and Litman. Area: evaluation and system selection. Mova: частково є (specialized readers, domain routing, and parser agreement mechanisms). Mova could compare reader alternatives on the same questions before deciding whether to combine or route between them. Why Mova: Complementary strengths need measurement; architectural variety alone does not establish a better answer procedure.

Idea: Test rule additions through the final reader. Where: Materials and Methods, dependence between processing stages; Discussion, proposed improvements. Area: regression testing. Mova: вже є (held-out self-play, training gates, and regression-controlled knowledge extensions). Any borrowed heuristic should be evaluated through the completed answer path, not only on the feature it detects. Why Mova: A locally sensible rule can introduce competing candidates or change a later decision in an unhelpful way.

These proposals do not imply that Arabic question answering is already part of Mova’s assessed core. The documented core is English, and its multilingual experiments have narrower stated scopes. QArabPro offers design choices and testable questions for that architecture; an Arabic implementation, its resource requirements, and its measured effectiveness would need separate evidence.

The problem and its context

QArabPro studies question answering as a reading task. A user supplies a natural-language question, and the system must identify an answer in textual material. This is more demanding than returning a document that happens to concern the same topic. The returned evidence must address the information requested by the question.

The distinction matters especially for reading comprehension. A passage can mention the relevant person or event repeatedly, but only some sentences answer a particular question. Asking who performed an action is different from asking when it occurred. Asking why it occurred may require moving away from the sentence that most closely repeats the question.

The authors situate the work within growing demand for Arabic text processing. They describe increasing Arabic material on the web and argue that software support had not developed to the same extent as support for the languages emphasized in earlier reading-comprehension research. Their motivation is practical: natural-language questions are a convenient interface, but that interface is useful only when the system can process the language reliably enough to retrieve and select appropriate evidence.

Arabic presents several challenges in their account. Its inflectional and derivational structure complicates morphology, the analysis of how words are formed and varied. Written text frequently omits vowel information expressed through diacritics, increasing ambiguity. The absence of capitalization removes a clue that can otherwise help identify names. Mixed writing directions and position-dependent character shapes add further processing concerns.

These observations explain why importing an English rule set is insufficient. Even a seemingly simple comparison between a question word and a passage word depends on segmentation, normalization, and grammatical interpretation. A system may need to recognize that different written forms share a root before it can detect their connection.

Earlier Arabic systems

The paper describes AQAS as a knowledge-based Arabic question-answering system. Its answers came from structured information rather than unrestricted prose. That distinction places it outside the exact problem QArabPro addresses: selecting answers from reading material written as ordinary text. The authors also note that AQAS did not report evaluation results.

QARAB is a closer predecessor. According to QArabPro’s account, it used rule-based processing and keyword indexing to find answers in Arabic text. It excluded How and Why questions because of the processing difficulties they posed. The reported evaluation involved 113 questions judged by the developers, who were native Arabic speakers.

QArabPro’s authors criticize that evaluation arrangement as potentially biased and insufficiently reliable. Their criticism concerns the independence and reporting of assessment, instead of a controlled comparison showing that their own method performs better on identical examples. That distinction remains important when interpreting the later claim that QArabPro improves on existing systems.

The paper also discusses QAS, another Arabic system combining retrieval and language processing. It likewise omitted How and Why questions. Its reported collection contained 25 documents and 12 queries, with retrieval results expressed through interpolated precision at different recall levels. QArabPro uses this discussion to establish a coverage gap and a need for clearer evaluation, not to provide a directly comparable answer-accuracy baseline.

Reading comprehension and rule-based sentence selection

The English reading-comprehension work discussed in the paper provides a more immediate methodological foundation. Hirschman and colleagues evaluated automated reading on school-level passages and introduced sentence-based assessment procedures. Their HumSent approach used human judgments about acceptable answer sentences. AutSent supplied an automatic alternative tied to answer-key overlap.

Quarc, attributed to Rilo and Thelen in the paper, used separate rules for different question types. It scored candidate sentences and selected the highest-scoring one. A shared word-matching procedure connected the question to the passage, while specialized clues reflected the answer sought by each interrogative.

QArabPro adopts this general structure and modifies it for Arabic. Its novelty lies less in inventing sentence scoring than in combining that approach with Arabic processing and extending the covered question families. The authors emphasize the inclusion of explanation and quantity questions, whose evidence is less straightforward than a name or place expression.

The related-work discussion also mentions research combining several reading-comprehension systems. As the paper reports it, the strongest system varied with the dataset and question category. This observation supports a modest methodological point: a single overall ranking can hide differences in what systems do well.

Retrieval as a necessary intermediate task

The paper places substantial weight on information retrieval. Before selecting an answer sentence, the system must reach a document likely to contain useful evidence. The authors review weighted term representations and explain that raw keyword indexing alone is too weak a description of document content.

Their selected approach represents documents and questions through weighted terms. Frequent terms contribute local evidence about a document, while terms distributed across the collection contribute global evidence about distinctiveness. This does not supply a semantic interpretation of the passage. It supplies an ordered set of places where the later linguistic rules can search.

The historical context is therefore a combination of two traditions described by the paper: statistical document ranking and explicit, question-dependent sentence rules. QArabPro uses the former to narrow the evidence space and the latter to decide which sentence is most likely to answer the question.

The method, step by step

QArabPro assumes that the answer can be found within a single document. Its architecture does not attempt to assemble an answer whose evidence must be combined across documents. Within that boundary, it processes a question, retrieves candidate material, analyzes the relevant text, and selects an answer sentence.

QArabPro’s question-to-answer pipeline

The steps in order.

QArabPro’s question-to-answer pipelineStep 1: Analyze the question and expected answer1. Analyze the question and expected answerStep 2: Extract roots and expand query vocabulary2. Extract roots and expand query vocabularyStep 3: Rank candidate documents by weighted similarity3. Rank candidate documents by weighted similarityStep 4: Analyze candidate text and semantic classes4. Analyze candidate text and semantic classesStep 5: Apply question-specific sentence rules5. Apply question-specific sentence rulesStep 6: Return the highest-scoring sentence6. Return the highest-scoring sentence

The stages share linguistic resources, but they have different purposes. Root extraction helps connect related word forms. Retrieval weights help choose documents. Semantic classes indicate possible answer material. Sentence rules combine those observations according to the question type.

Preparing text for comparison

Document processing begins with tokenization, which divides text into units that subsequent procedures can examine. The system then removes stopwords, extracts roots, and calculates term weights. Questions receive corresponding processing so that their representations can be compared with document representations.

Stopword removal is intended to reduce the influence of words that contribute little to the particular retrieval calculation. It does not mean that such words are universally meaningless. Their grammatical role can matter elsewhere, and QArabPro itself uses selected lexical expressions as clues in specialized rules.

Root extraction is central to the matching procedure. The authors distinguish a root from a stem and explain why Arabic makes that distinction especially consequential. A root is treated as carrying a core lexical connection across forms, while a stem is the base to which further material can be attached.

The described extraction process involves handling affixes, the definite article, conjunction material, and morphological patterns. Pattern matching helps identify which letters belong to the root rather than to the surrounding word formation. The paper draws on earlier Arabic stemming work for this procedure.

The practical result is that two words need not have identical spellings to count as a match. Sharing the extracted root is sufficient for the WordMatch function. This is a deliberate abstraction: the system compares a linguistic representation instead of requiring literal string identity.

The paper does not establish that every shared-root pair is semantically interchangeable. Root matching supplies relevance evidence within the architecture. Whether that evidence is enough to support the answer depends on the later rule application.

Organizing the retrieval resources

The retrieval system is described through a relational database design. Its stored information includes roots, document metadata, verbs, stopwords, word variations, and root statistics associated with document categories. These resources support both indexing and linguistic processing.

Keeping verbs separately is relevant to the later scoring procedure because verb matches receive special weight. A variations resource helps connect different forms encountered in documents. The root statistics support retrieval calculations instead of supplying a complete interpretation of the document.

This organization makes the architecture concrete, but the paper does not provide a detailed implementation specification for every relation. It identifies the major information categories the system uses. It does not fully document how each linguistic ambiguity is resolved before the corresponding database entry is created.

Weighting document terms

The first weighting expression combines term frequency with inverse document frequency:

w_i = tf_i × log(D / df_i)

Here, w_i is the weight assigned to term i. The quantity tf_i is the number of occurrences of that term in a document. D is the number of documents in the collection, and df_i is the number of documents containing the term.

The two factors answer different questions. Term frequency describes the term’s prominence within the document. The logarithmic factor reduces the influence of terms that are widespread across the collection. A term repeated in a document can be locally important, but a term occurring throughout the collection may contribute little to distinguishing that document from others.

This is the TF-IDF principle used by the retrieval stage. Its role is ranking: it helps identify documents whose weighted vocabulary resembles the question. It does not determine which statement in those documents answers the question.

The paper then discusses the vulnerability of frequency-based ranking to repeated keywords. It introduces frequency normalization for documents and queries:

f_i,j = tf_i,j / max_tf_j

The normalized frequency f_i,j belongs to term i in document j. Its numerator, tf_i,j, is that term’s frequency in the document. The denominator, max_tf_j, denotes the maximum term frequency used to normalize the document, corresponding to the paper’s max-frequency notation.

Normalization changes the scale on which raw counts contribute. The authors motivate it in part through the possibility of artificially repeated keywords. They do not report a separate experiment with adversarially repeated terms, so the paper’s discussion supplies a design rationale instead of a measured robustness result.

For document ranking, the system uses cosine similarity between weighted vectors. The expression can be written through the vector norms that appear in the paper’s definition:

CosSim(d_j, q) = (Σ_i w_i,j × w_i,q) / (‖d_j‖ × ‖q‖)

The symbol d_j denotes the weighted vector for document j, and q denotes the weighted question vector. The weights w_i,j and w_i,q belong to the same indexed term i in the document and question respectively. The summation combines corresponding term contributions. The double bars denote vector length, so the denominator normalizes the comparison by the lengths of the document and question vectors.

The article also uses t for the number of term dimensions included in the summation. The point of this comparison is to measure similarity of weighted term profiles, rather than to reward a document solely because it contains more text.

The paper describes these weighting ingredients but does not experimentally separate their contributions. A reader can understand their intended roles without assuming that any one ingredient caused the final answer accuracy.

Adding grammatical and semantic information

The question-processing stage assigns roots and part-of-speech tags. A tag identifies a grammatical category, such as noun, verb, adjective, or adverb. The paper also describes feature identification for properties including gender, number, person, and tense.

A named-entity module supplies another kind of information. Named entity recognition identifies expressions referring to categories such as people, organizations, places, dates, times, percentages, and monetary amounts. These categories are useful because a question’s wording often constrains the type of expression that could answer it.

The authors connect these functions to lexical resources and cite Arabic Tokenization, Part-of-Speech Tagging and Morphological Disambiguation in One Fell Swoop among the relevant earlier work. Their own system uses a small dictionary to support semantic classes. The paper does not give independent accuracy measurements for all of these language-processing components.

Grammatical and semantic labels should therefore be understood as inputs to the rule system. A successful rule depends not only on its logic but also on whether the earlier processing supplied the correct root, tag, or class.

Expanding the question vocabulary

The authors observe that a question may use different words from the document containing its answer. Query expansion addresses this mismatch by adding related vocabulary before retrieval. QArabPro uses a small synonym dictionary for that purpose.

Expansion is different from root extraction. Root extraction connects forms through their morphological analysis. Synonym expansion can connect different lexical items. Both can increase the opportunity to retrieve useful evidence, but they operate on different relationships.

The paper discusses other possible expansion resources, including thesauri and ontologies. Those possibilities should not be confused with the implemented description: the resource explicitly identified for QArabPro is its small synonym dictionary.

Nor does expansion establish that an added term can replace the original term in every sentence. Its immediate purpose is to improve access to candidate documents. The later answer-selection stage still has to decide whether the retrieved material addresses the question.

Selecting a question-specific rule family

The interrogative expression determines which rules apply. The question-type table associates Who/Whose with people, When with temporal answers, What/Which with a broad set of answer classes, Why with reasons, Where with places, and How many/much with quantities.

This classification is intentionally shallow compared with a complete semantic account of the question. The authors argue that deep question interpretation is difficult and describe keyword-oriented processing as a practical alternative. QArabPro nonetheless goes beyond treating all questions identically: the requested answer type changes the evidence used to score sentences.

The distinction is particularly important for the broad What/Which family. Such questions can seek very different kinds of information, so a small set of type-specific clues cannot cover them as uniformly as a location rule can cover place questions.

Combining overlap with clues

WordMatch supplies a common relevance calculation. After stopword removal, it counts matches between the question and a candidate sentence. A match is based on a shared morphological root.

Matching verbs receive 4 points each, while other matching words receive 2 points each. The authors’ rationale is that matching actions provides especially useful evidence that the sentence concerns the same situation as the question.

Additional rules contribute points according to the strength of the clue. The paper distinguishes clue at +3, good clue at +4, confident at +6, and slam dunk at +20. These labels describe the intended relative influence of rules. They are not empirically calibrated probabilities of correctness.

Several rules can apply to the same sentence, and their contributions accumulate. The sentence with the greatest resulting score is selected. The prose does not fully specify tie resolution, which matters when several sentences receive equivalent evidence.

This additive design makes the method easy to inspect. It also creates a need to understand interactions: repeated or correlated clues can affect the final ranking even when each rule appears individually reasonable. The paper does not isolate those interactions experimentally.

People, descriptions, times, and places

For Who/Whose questions, the rules use personal names and human references. If the question lacks a name, a sentence containing a recognized name receives additional support. The presence of a word meaning “name” is another clue. Human descriptions, including occupations, can also support a candidate.

These rules reflect a useful distinction between named and descriptive reference. A person can be identified through a role without being mentioned by a personal name. The system’s semantic vocabulary is therefore relevant even when no conventional name is available.

What/Which questions use more varied clues. The authors describe rules involving date expressions when the question contains a month, descriptive formulations for object-type questions, and naming-related words. These are targeted patterns within a broad category rather than a complete treatment of every possible What question.

When questions are unusual because the system does not apply ordinary overlap indiscriminately to every sentence. Temporal expressions provide a principal eligibility clue. Other rules address duration-related wording and a verb that can suggest time even without an explicit temporal expression.

Where questions use overlap together with location-related prepositions and membership in a location class. The combination is intended to favor sentences containing plausible place information. As elsewhere, these observations indicate answer suitability; they do not independently prove that the location belongs to the event asked about.

Why questions and neighboring evidence

Why processing begins with a preliminary pass over all sentences using WordMatch. The system identifies the sentences with the strongest overlap and treats them as anchors. These anchors locate the event or situation most closely related to the question.

The sentence scores are then reset. A second rule pass rewards the anchors themselves and sentences immediately before or after them. Following sentences receive a stronger reward than preceding sentences or the anchors, reflecting the authors’ observation that explanations in their material were more likely to follow the matched statement.

This procedure separates two tasks that an ordinary overlap calculation conflates. First locate the event being discussed. Then search for material that explains it. The answer need not be the sentence that repeats the question’s vocabulary most closely.

Lexical indicators of intention, explanation, and justification add further evidence. They help identify candidates whose wording suggests a reason. The method therefore combines document position and lexical cues, rather than constructing an explicit causal proof.

The paper does not show that the preferred direction holds across other collections or genres. It presents the preference as a heuristic used by this system. Its value in another setting would need independent evaluation.

How many and how much

The quantity rules account for the fact that Arabic uses a shared interrogative expression where English distinguishes How many from How much. The paper also discusses grammatical complications involving the following noun, genitive constructions, omitted nouns, price questions, and uses that express numerousness rather than ask a question.

The implemented rules are more limited than that full grammatical discussion. They combine the general matching procedure with numerical information, measurement-related criteria, approximation expressions, and words associated with amounts or counts.

An important distinction is whether the expected answer contains an exact number or an approximation. The rules look for different clues in those cases. This makes quantity answering more than detecting digits, although the paper does not describe a general mechanism for quantitative reasoning.

The authors explicitly acknowledge that their rules are generic and incomplete. The system broadens the range of questions it attempts, but that expanded coverage should not be read as complete mastery of the relevant Arabic constructions.

Experiments and results

Wikipedia content provides the basis for the evaluation’s 75 reading comprehension tests, which contain 335 questions. The paper does not report a separate training corpus, development split, or held-out rule-selection procedure for this collection. It also does not describe an official released dataset or implementation package.

That leaves the basic evaluation unit clear but the development history less clear. The system is asked to select answers for reading questions, and its performance is reported by interrogative category. How the questions were authored, how passages were sampled, and whether rule design used the same material are not explained in enough detail to establish an independent held-out comparison.

Answer references and lexical resources

The paper describes HumSent answers as sentences selected by a human expert as the best answers. It describes AutSent answers as automatic choices based on the strongest weight after excluding stopwords. These are different reference mechanisms: expert judgment identifies acceptable evidence through reading, whereas the automatic procedure uses a computational proxy.

The reported accuracy table is not accompanied by separate HumSent and AutSent score columns. As a result, the paper does not make fully explicit how those reference procedures relate to every reported correct-answer judgment. It would be unsafe to treat the result as if that ambiguity had been resolved.

The dictionary resources are small enough to be enumerated by class. The authors report 52 human-related words, 135 location words, 621 names, 42 temporal words, 1457 stopwords, and 34 measurement criteria. These inventories provide context for the rule system’s coverage.

The sizes are not independent evidence of lexical quality. The paper does not measure dictionary completeness or report named-entity performance by class. They show what kinds of resources support the rules and how much manually specified lexical material the system describes.

Overall answer accuracy

The authors report 282 correct answers and 53 incorrect answers, with an overall table entry of 84.18%. Elsewhere they state the headline result as 84%. These should be preserved as the paper reports them rather than silently replacing one presentation with another.

The category results show substantial variation. Person and location questions are strong, temporal questions are somewhat weaker, and explanation and quantity questions are the most difficult. The chart below reproduces the reported percentages rather than recalculating them.

QArabPro answer accuracy by question category on the reading comprehension collection

Person and location questions perform more strongly than explanation and quantity questions.

QArabPro answer accuracy by question category on the reading comprehension collectionWho/Whose (this paper): 94.34Who/Whose (this paper)94.34What/Which, first table row: 91.67What/Which, first table row91.67What/Which, second table row: 88.89What/Which, second table row88.89Where: 93.62Where93.62When: 85.19When85.19Why: 62.22Why62.22How many/much: 69.77How many/much69.77
The numbers
System or settingaccuracy %
Who/Whose (this paper)94.34
What/Which, first table row91.67
What/Which, second table row88.89
Where93.62
When85.19
Why62.22
How many/much69.77

The two What/Which entries reflect separate interrogative rows in the results table. Their English labels overlap in the question-type description, so keeping them separate is more faithful than merging them into an invented aggregate.

The Who/Whose row reports 50 correct answers and 3 incorrect answers from 53 questions. The first What/Which row reports 44 correct and 4 incorrect from 48 questions. The second gives 40 correct and 5 incorrect from 45 questions. Where reports 44 correct and 3 incorrect from 47 questions.

For When, the table gives 46 correct answers and 8 incorrect answers from 54 questions. Why has 28 correct and 17 incorrect from 45 questions. How many/much has 30 correct and 13 incorrect from 43 questions.

There is an internal reporting problem: the category counts do not reconcile with the overall counts stated in the table. The paper offers no correction or explanation. The category figures and the overall figures can be reported, but they should not be presented as an independently verified, internally consistent accounting.

What the difficult categories establish

Why accuracy of 62.22% indicates that neighboring-sentence and lexical explanation clues sometimes select acceptable answers. It does not establish which clue is responsible or whether the system recognizes causality beyond those clues.

Similarly, How many/much accuracy of 69.77% supports the claim that the system can attempt quantity questions with useful success on this collection. It does not show complete coverage of the grammatical cases discussed in the method, nor does it establish arithmetic or multi-step quantitative inference.

The significance of these categories is partly coverage. Earlier Arabic systems discussed by the authors excluded them. QArabPro includes them and reports their weaker performance instead of treating them as outside the task.

The paper sometimes refers broadly to handling How questions. The evaluated category is specifically How many/much. A general ability to answer questions about manner, procedure, or mechanism is not separately demonstrated.

Retrieval performance

The retrieval subsystem receives its own measurements: precision of 93%, recall of 86%, and F-Measure of 89%. Precision concerns the relevance of retrieved material, while recall concerns how much relevant material was recovered. The F-Measure combines those aspects through their harmonic mean, as the authors explain.

The paper does not give enough detail about the retrieval assessment to reconstruct its relevance judgments, retrieval cutoff, or averaging procedure. Those missing details limit comparisons with other retrieval experiments.

These figures also cannot explain the final answer accuracy by themselves. Retrieving a relevant document creates an opportunity to answer; it does not guarantee that the sentence rules will identify the correct evidence. Conversely, a sentence-selection failure need not imply that document retrieval was unsuccessful.

Baselines and comparison claims

No earlier system is rerun on the same evaluation collection. There is no reported keyword-only answer baseline, no WordMatch-only baseline, and no shared test comparison against QARAB or QAS.

The paper’s favorable comparison with earlier Arabic systems therefore rests mainly on broader question coverage and the reported performance of the completed system. Earlier results discussed in Related Work use different assessment arrangements or metrics. They do not support a direct ranking by a common accuracy measure.

The experiment is best understood as an evaluation of QArabPro on its own reading-comprehension collection. It demonstrates the behavior of a concrete system, while leaving comparative effectiveness and generalization to independent collections unresolved.

What the ablations show

The paper reports no ablation study that removes or changes individual components while keeping the evaluation otherwise fixed.

Its main analysis is the breakdown by question category. That breakdown is informative because the categories use different evidence. Strong person and location results are consistent with the usefulness of names, human descriptions, location vocabulary, and related clues. Lower explanation and quantity results identify areas where the authors’ rules are less successful.

Consistency is weaker than causal attribution, however. The paper does not compare the full system with a version lacking the name dictionary, the location class, or grammatical information. It therefore cannot quantify how much each resource contributes.

The Why procedure invites several controlled comparisons that are not reported. One could compare ordinary overlap with overlap plus neighboring sentences, or compare an equal treatment of neighbors with the preference for following sentences. One could also test explanation words separately from positional evidence.

Without those comparisons, the Why result belongs to the complete rule family. It does not demonstrate that the following-sentence preference is better than another arrangement, or that lexical cues add value beyond the anchors and their neighbors.

The same issue applies to root extraction and query expansion. Both have plausible roles in reducing vocabulary mismatch, but the paper gives no surface-word alternative, no root-only versus synonym-expanded comparison, and no analysis of false matches introduced by either procedure.

Frequency normalization is motivated through repeated-keyword problems. Yet there is no controlled test showing how ranking changes under deliberate repetition, or whether the normalization improves answer accuracy on the reading collection. Its presence in the architecture should not be converted into an experimental robustness finding.

The separate retrieval figures provide another useful analysis, although they are not an ablation. They distinguish retrieval quality from the final answer outcome. What remains missing is a joint error account showing which questions failed because evidence was not retrieved and which failed after relevant material was available.

The Discussion supplies qualitative diagnoses. The authors associate Why failures with insufficient causal interpretation and limited recognition of explanatory wording. They associate quantity failures with the range of grammatical cases and the simplicity of the rules. These explanations are reasonable interpretations of the task, but the paper does not provide an error-category annotation that measures their frequency.

The result is a system-level study with category analysis, not a component-level explanation of gains. A reader can identify promising mechanisms and visible weaknesses, while recognizing that the contribution of each mechanism remains unmeasured.

Limitations

The authors’ stated limitations concern the difficult question types, linguistic resources, and the dependence of retrieval on question processing. Further limitations arise from the evaluation design and the amount of implementation detail reported. Keeping those sources of limitation separate helps avoid attributing criticisms to the authors that they did not make.

Limits the authors identify

The authors describe Why questions as the hardest category because explanation requires more than recognizing related vocabulary. Their procedure uses textual proximity and explanatory expressions, but they argue that deeper semantic processing and a better treatment of causal relationships would help.

That acknowledgment matters. A sentence can contain a justification marker without explaining the event asked about. A neighboring sentence can describe a consequence, an unrelated fact, or another event. The paper does not claim that its positional heuristic resolves these distinctions generally.

The authors also identify the incompleteness of their quantity rules. Their grammatical discussion covers more possibilities than the implemented generic heuristics can fully address. They explicitly call for additional work to cover the range of constructions associated with How many/much.

Lexical resources are another stated constraint. The paper uses a small dictionary and argues that stronger named-entity recognition and richer lexical knowledge could improve the system. It particularly expects semantic knowledge acquisition to help the harder question categories.

Those expectations are future directions. The study does not evaluate an enriched lexicon or demonstrate the resulting gain. The argument is that the current architecture depends on these resources, so improving them may remove some failures.

The authors further emphasize the importance of Arabic linguistic expertise in rule formulation. This recognizes a real development cost of the approach: explicit heuristics need to accommodate language-specific behavior. The paper does not provide a measurement of the expert effort required.

Boundaries visible in the architecture

The single-document assumption excludes answers that require combining evidence across documents. It also means that the retrieval stage and the sentence rules operate within a bounded evidence arrangement. The results should not be generalized to unrestricted multi-document answering.

The output is principally a selected sentence. That can be appropriate for reading comprehension, but it differs from extracting a minimal answer span or generating a concise response. A sentence may contain the answer together with unrelated information, qualifications, or ambiguity.

The matching representation also imposes limits. Shared roots can connect useful variants, but root identity is not a complete semantic relation. The paper does not report a dedicated analysis of cases where normalization creates misleading matches.

Similarly, semantic classes constrain possible answer material without fully identifying its role. A place name in a sentence is not necessarily the answer to a particular Where question. A human reference is not necessarily the participant asked about. Question-specific clues improve selection, but the architecture does not document a complete relational interpretation for every case.

The additive score is another boundary. It orders candidates through rule contributions, but the paper does not calibrate that score against correctness. A large score or a strong-sounding clue label should not be read as a measured confidence level.

The available method description leaves tie resolution and some rule details unspecified. The prose explains the major heuristics, but the paper does not supply enough implementation detail to reconstruct every decision unambiguously.

Boundaries visible in the evaluation

The collection is limited to Wikipedia-derived reading material. The paper does not show how the system performs on other genres, on independently collected passages, or on questions formulated under different conditions.

There is no clearly documented separation between rule development and final testing. That absence does not prove that the authors deliberately tuned on test answers. It does mean that the reported accuracy cannot be confidently interpreted as a result from a fully isolated held-out evaluation.

Question construction and annotation are also underdescribed. The paper identifies human-selected answer sentences but does not report independent agreement among annotators or a detailed resolution procedure for disputed answers. The relationship between the human and automatic sentence references remains insufficiently explicit.

The internal count inconsistency further limits numerical interpretation. The overall result and category rows are reported as facts of the article, but their accounting does not fit together. A careful reading should preserve that uncertainty rather than silently repairing the table.

No uncertainty intervals or statistical comparisons accompany the accuracy results. The study therefore does not establish the stability of small differences between question categories or the significance of any comparison with another system.

Most importantly, earlier systems are not evaluated under a shared setup. Differences in question coverage, collections, metrics, and judgment procedures prevent a direct performance conclusion. QArabPro demonstrates broader attempted coverage and reports its own results; comparative superiority remains unestablished.

The broad claim about handling How also needs qualification. The reported quantity category does not cover every question that English expresses with How. The experiment supports a narrower statement about How many/much.

Together, these limits do not erase the contribution. They define it more accurately: a concrete Arabic sentence-selection architecture with broad interrogative coverage and a reported evaluation, accompanied by open questions about component contributions, reproducibility, and transfer.

What came after

Later citation history places QArabPro in a continuing line of Arabic question-answering research. The available later-work records identify the citing papers and their titles, but do not describe their methods, experiments, or specific use of QArabPro. Citation alone establishes that a work referred to it; it does not establish that the later work reused its rules or improved on its results.

Development of Yes/No Arabic Question Answering System appeared in 2013. Its title identifies a focus on yes/no questions, a question family that QArabPro does not separately evaluate in its interrogative results. This makes it relevant to the broader issue of coverage: adding explanation and quantity questions does not exhaust the possible forms of Arabic questioning.

The citation record does not establish how that yes/no system represented questions or decided their answers. It would therefore be unsupported to describe it as extending QArabPro’s additive rules, replacing them, or inheriting its retrieval stage. The defensible connection is that it belongs to later Arabic question-answering work and cites QArabPro.

Neural Arabic Question Answering appeared in 2019. Its title signals a later neural approach within the same broad research area. That places it in an interesting relationship to QArabPro’s explicit rule-based design, but the citation information does not supply the technical details needed for a methodological comparison.

In particular, no common benchmark result, architectural dependency, or transfer of QArabPro’s question categories is established by the available record. The later title should not be used to manufacture a simple story in which one approach directly superseded the other.

ArabicaQA: A Comprehensive Dataset for Arabic Question Answering appeared in 2024. Its title foregrounds dataset construction, which connects to one of the clearest issues in assessing QArabPro: the need to know exactly what material was used, how questions and answers were created, and whether systems are compared under common conditions.

The record does not give ArabicaQA’s size, sources, annotation process, or evaluation findings. It consequently cannot establish that this dataset directly addresses any particular defect in QArabPro’s collection. What it does show is a later citing contribution explicitly organized around Arabic question-answering data.

Across these later works, the strongest supported continuity is the research problem itself. QArabPro made question coverage, Arabic linguistic processing, and answer-bearing evidence visible parts of a working system. Its reported results also illustrate why shared data, clear reference judgments, and separate evaluation of retrieval and answering matter. Determining exactly which later methods borrowed its mechanisms would require evidence beyond the citation relationships recorded here.

Cite

Cite as Mohammed Akour. 2011. QArabPro: A Rule Based Question Answering System for Reading Comprehension Tests in Arabic. American Journal of Applied Sciences.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3844/ajassp.2011.652.661

@article{akour2011qarabpro,
  title = {{QArabPro: A Rule Based Question Answering System for Reading Comprehension Tests in Arabic}},
  author = {Mohammed Akour},
  journal = {American Journal of Applied Sciences},
  year = {2011},
  doi = {10.3844/ajassp.2011.652.661},
  url = {https://doi.org/10.3844/ajassp.2011.652.661}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/akour-2011-qarabpro-rule-based-question-answering/