# predicate (10-predicate.com) A predicate is the part of a sentence that tells you what the subject is doing or what is true about it. It is everything that is not the subject. In everyday talk, people also use it to mean a basis for an argument or a claim that something is true. ## What a model may hear - Boolean filter function (programming and databases): Expect a function that returns true or false to filter a collection, and may write code using .filter() or WHERE clauses - Logic proposition with variables (formal logic and automated reasoning): Treat the word as a formal expression like P(x) that becomes true or false when variables are bound, and may invoke theorem provers or logic engines - Graph relationship label (RDF and semantic web): Look for triple patterns like subject-predicate-object, and may generate SPARQL or linked-data queries - Grammar rule component (natural language processing): Parse for dependency relations or syntactic structures, and may return linguistic analyses instead of answers ## Where people and models part ways - Says: "The predicate of the plan failed" Means: The main claim or working assumption behind the plan did not hold up May be taken as: Interpret as a Boolean function returning false and debug nonexistent code Say instead: "The main assumption behind the plan turned out to be wrong" - Says: "What is the predicate here?" Means: What is the main point or the grammatical action in this sentence? May be taken as: Return a formal logic expression or a database query filter Say instead: "What is the grammatical predicate, the part that says what the subject does?" - Says: "Set up the predicate for the search" Means: Define the criteria or conditions for the search May be taken as: Write a lambda function or SQL condition without asking what kind of search Say instead: "List the conditions that results must meet for this search" - Says: "They share the same predicate" Means: They are based on the same claim or reasoning May be taken as: Assume they use the same named function or RDF property in a dataset Say instead: "They rest on the same underlying claim" ## Tips - Say 'filter condition' or 'true-false test' if you want code, instead of assuming 'predicate' will be understood that way - Add 'in grammar' or 'in logic' to steer the model toward the right domain - If you mean a claim or basis for argument, say 'main claim' or 'underlying assumption' - When asking about sentences, say 'grammatical predicate' to avoid logic or NLP parsing - In database contexts, say 'WHERE clause' or 'filter function' for more precise results ## Often confused with - predict: To forecast the future, not to state a condition - predate: To come before in time, unrelated to logic or grammar - proposition: A complete declarative statement, not a function with variables - attribute: A property or characteristic, not a relational condition - criteria: Standards for judgment, not necessarily true-false functions - assertion: A confident statement of fact, not a testable logical expression