DecisionBench
gpu · checking jev · jev-latest baseline · anthropic.claude-haiku-4-5 laya · not loaded von · not loaded

← catalog / AI Automation Software / Graphs and knowledge graphs

Knowledge graph edge extraction

Read a passage about two companies, decide what relationship it asserts and how firmly, resolve duplicate records, and catch contradictions with the graph.

ClassificationDetectionVerificationStructured Data Extraction
Why this shape suits a decision model. Edge weight comes from assertion strength multiplied by choice confidence, so a rumour and a filing do not enter the graph with equal authority. entity_alignment ↗
running…
Laya runs locally and its weights are not loaded yet. The first prediction would otherwise pay for reading them off disk, which is not inference and would not be a fair latency number.
Von runs locally and its weights are not loaded yet. The first prediction would otherwise pay for reading them off disk, which is not inference and would not be a fair latency number.

Input state

Questions

4 questions, declared once. Jev and Laya accept this shape directly; the Claude path renders it into a prompt and a JSON schema.

{
  "relation": {
    "type": "choice",
    "instructions": "What relationship does the passage assert between `entity_a` and `entity_b`?",
    "criteria": {
      "acquired": "A bought B outright",
      "invested_in": "A took a minority stake in B without acquiring it",
      "partnership": "A and B work together with no ownership change",
      "supplier_of": "A supplies goods or services to B",
      "competitor_of": "A and B compete in the same market",
      "no_relation": "The passage asserts no relationship between the two"
    }
  },
  "same_entity": {
    "type": "noul",
    "instructions": "Do `record_a` and `record_b` refer to the same real-world company?",
    "criteria": {
      "true": "Same legal entity despite differences in naming, address format, or suffix",
      "false": "Distinct companies, or too little in common to conclude they match"
    }
  },
  "contradicts_graph": {
    "type": "noul",
    "instructions": "Does the passage contradict the stated existing graph fact?",
    "criteria": {
      "true": "The passage asserts something incompatible with the recorded fact",
      "false": "The passage is consistent with, or silent on, the recorded fact"
    }
  },
  "assertion_strength": {
    "type": "score",
    "instructions": "How firmly does the passage assert this relationship?",
    "criteria": [
      "Speculation or rumour: reportedly, sources say, may be considering",
      "Reported by one party without confirmation",
      "Stated as fact in the passage",
      "Stated as fact with a citation, filing, or official announcement"
    ]
  }
}

Equivalent Claude prompt

Derived from the questions above, so every backend is asked the same thing.