How our search works

Why BatasDB finds the right law.

If the search returns the wrong cases, nothing downstream can save you — not the summary, not the citation, not the confidence. Search quality is the ceiling on everything. Here's how we raised it, explained without the jargon.

01

We translate your question before we search.

When you ask a lawyer "can I be sued for backing out of a verbal deal?", they don't go to the Civil Code looking for those exact words. They translate first — "oral contract, statute of frauds, Article 1356" — then look. That translation step is most of why a good lawyer finds the right provision and a search box doesn't.

Most AI search skips it. It runs your literal sentence against legal text and hopes the wording matches. We do the translation step ourselves: we figure out what kind of question you're asking — a citation lookup like "G.R. No. 12345", a procedural question, a doctrinal question, a plain definition — rewrite it into the language the law itself uses, and pick different ranking weights for each kind.

The result: when you ask in plain words, we still find the formal provision that answers you — even if your words don't appear in it.

02

Two kinds of search, running at the same time.

You can ask in two very different ways. Sometimes you type "getting scammed by a car dealer" — you're describing a situation in everyday language. Sometimes you type "Article 315 RPC" — you know exactly what you want.

Most legal search is good at one and bad at the other. We run both searches at once: one that understands meaning (so "getting scammed" finds estafa and swindling), and one that matches exact text (so typing "Article 315" takes you straight to Article 315). Then we combine the results.

Neither style of question slips through. You don't have to guess which one works today.

03

We split the law where the law splits itself.

Philippine laws come with their own structure — sections, articles, subsections, paragraphs. A well-written law is organized so each piece can be cited on its own. "Article 315, paragraph 2(a)" is a complete legal address.

When we break up the text for searching, we respect those lines. We don't cut laws into fixed-size pieces that might start mid-sentence or end mid-thought. Every search result is a real, citable unit of the law — something you can quote in a pleading, not a random slice of text.

04

Philippine law only. And kept fresh.

We don't search the global web. We don't search U.S. cases, or UK statutes, or random legal blogs. We search roughly 320,000 sections drawn from Philippine Supreme Court decisions and Philippine statutes — and only those.

That's a feature, not a limit. Foreign rulings won't pollute your results. A search for "due process" returns Philippine constitutional doctrine, not U.S. Fourteenth Amendment cases that don't bind anyone here.

And the corpus refreshes regularly, so newly published decisions and newly enacted statutes show up in search without you having to do anything. Repealed and superseded provisions are flagged so you don't rely on law that no longer has force.

None of this shows on the screen.

It's just why, when you ask about swindling under Article 315, you get Article 315 — and not a tax circular that happens to use the word "fraud".

Try it for yourself.

Free to start. No credit card. Ask a question in plain English.