Textwerk
wikidata link
For each mention the public Wikidata API (wbsearchentities, German or English labels and aliases) returns up to 7 candidates; one query to the Wikidata Query Service fetches their instance-of (P31) types. Candidates are ranked by search rank, exact label or alias match and word overlap between an optional context and the item description and types; optional type QIDs filter by direct P31. Humans (Q5), family and given name items, disambiguation, category, list and template pages are removed,.
POST https://text.halowerk.com/v1/wikidata-linkInputs
| Field | Type | Required | Description |
|---|---|---|---|
| mentions | array | Yes | Entity names to link. |
| language | string | No | |
| context | string | No | Optional surrounding text for disambiguation. |
| types | array | No | Optional allowed instance-of QIDs, e.g. Q515 (city). |
| candidates | integer | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"mentions"
],
"properties": {
"mentions": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 2,
"maxLength": 100
},
"description": "Entity names to link."
},
"language": {
"type": "string",
"enum": [
"de",
"en"
],
"default": "de"
},
"context": {
"type": "string",
"maxLength": 2000,
"description": "Optional surrounding text for disambiguation."
},
"types": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string",
"pattern": "^Q[1-9]\\d{0,9}$"
},
"description": "Optional allowed instance-of QIDs, e.g. Q515 (city)."
},
"candidates": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3
}
}
}Published input example
{
"mentions": [
"Köln",
"Rhein"
],
"language": "de",
"context": "Der Rhein fließt durch Köln."
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp