An open ontology for web crawlers, AI agents, and HTTP tools.
Look up who operates a bot, what makes it fetch a page, and how to verify its identity.
Turtle · RDF/XML · JSON registry · JSON Schema · Changelog · Contribute
| Question | Registry fields |
|---|---|
| Who operates it? | operator, docsUrl |
| What is it for? | category, kind |
| What starts the request? | trigger |
| How does it identify itself? | userAgentPatterns, robotsToken, respectsRobots, examples |
| How can you verify its identity? | verification |
The registry contains definitions and example User-Agents. Traffic measurements depend on the site and observation window.
Run this from the repository root with Node.js. The example matches a User-Agent and prints the candidate’s identity, trigger, and verification methods.
node --input-type=module <<'JS'
import { readFileSync } from 'node:fs'
const { agents } = JSON.parse(readFileSync('data/ontology.json', 'utf8'))
function matchAgent(userAgent = '') {
const normalized = userAgent.toLowerCase()
return agents.find((agent) =>
agent.userAgentPatterns.some((pattern) => normalized.includes(pattern))
)
}
const { id, operator, category, trigger, verification } = matchAgent('ChatGPT-User/1.0')
console.log(JSON.stringify({ id, operator, category, trigger, verifyWith: verification.methods }, null, 2))
JS{
"id": "chatgpt-user",
"operator": "OpenAI",
"category": "ai_assistant",
"trigger": "user",
"verifyWith": ["ip-ranges"]
}Keep the records in dataset order. The first matching substring wins. For example, applebot-extended precedes applebot so its more specific pattern can match first. A match identifies a candidate. Verify the request using the evidence available for that operator.
| Trigger | What causes a fetch | Examples |
|---|---|---|
autonomous |
The operator chooses what to fetch and when. | GPTBot, Googlebot |
user |
A person’s action causes the fetch. | ChatGPT-User, Slackbot link previews |
configured |
A job someone set up runs it. | Uptime checks, feed readers, scraping APIs |
varies |
The behavior depends on how someone runs the tool. | curl, Puppeteer, Scrapy |
Use the trigger to understand what an access rule would affect. Restricting a scheduled training crawl and restricting a page fetch a person requested have different consequences for visitors.
| Method | Evidence to check |
|---|---|
web-bot-auth |
Check that Signature-Agent names signatureDirectory, then validate the HTTP Message Signature with the keys at /.well-known/http-message-signatures-directory on that origin. |
ip-ranges |
Compare the request’s source IP against the operator’s published prefixes in ipRanges. |
asn |
Compare the source IP against prefixes announced by the operator’s network. |
reverse-dns |
Resolve the source IP to a hostname with a listed suffix, then confirm the hostname resolves back to the original IP. |
Empty methods |
The registry has no published verification method for the claim. |
The OWL 2 DL release is available as Turtle and RDF/XML. Both files describe the same graph. Open the RDF/XML file in Protégé or load either file into an RDF store. The JSON registry is the source for both exports and follows JSON Schema Draft 2020-12.
Crawler and HttpTool are disjoint subclasses of Agent. Each agent has a stable IRI ending in #agent-<registry-id> and links to individuals for its category, trigger, and published verification methods. A hasPublishedVerification value of false means the registry records zero methods for that agent. To match a User-Agent from the graph, lowercase it and pick the lowest matchPriority among agents with a matching userAgentPattern substring.
PREFIX obot: <https://raw.githubusercontent.com/WebDecoy/open-bot-ontology/main/ontology/open-bot-ontology.owl#>
SELECT ?agent ?operator ?trigger ?method WHERE {
?agent obot:registryId "chatgpt-user" ;
obot:operator ?operator ;
obot:trigger ?trigger .
OPTIONAL { ?agent obot:verificationMethod ?method }
}The ontology IRI is the unversioned RDF/XML URL on main. Its owl:versionIRI points to the RDF/XML asset for the corresponding GitHub release. OWL releases track the ontology version. The JSON registry’s schemaVersion tracks changes to the JSON format. See the changelog for dataset changes.
npm ci
npm run validateValidation checks the schema and verification fields, replays recorded bot examples in match order, checks that ordinary-browser examples stay unmatched, and detects stale OWL files. Run npm run build:owl after a registry change. CI checks both exports against OWL 2 DL, compares their axioms, and checks logical consistency and class satisfiability with HermiT through ROBOT.
To propose a new entry or correction, include the operator’s documentation, an example User-Agent, the trigger, and any documented verification method. See the contribution guide.
The registry and OWL exports are CC BY 4.0. The schema and scripts are MIT.
Open Bot Ontology by WebDecoy · https://github.com/WebDecoy/open-bot-ontology
For research or documentation, cite the exact release you used. The v0.1.2 dataset is archived on Zenodo. See CITATION.cff for the current release citation.
Maintained by WebDecoy from the registry it uses to classify traffic.
