Powered by Zoomin Software. For more details please contactZoomin

The Semaphore Fact Extraction Framework (FACTS)

Wildcard Fact

  • Last Updated: May 29, 2026
  • 2 minute read
    • Semaphore
    • Documentation

Where the fact we are looking for has been defined as a regular expression and will match text.

A wildcard fact is a fact that extracts text from the content using a regular expression or wildcards. In a sense, it defines its own entity zone.

It tends to be defined in situ, and, again, unless the reuse context is extracting the same-named fact with similar semantics, you should only use these once – one per context.

Wildcards (mixed in with actual text) that can be used include:

  • * – 0 to any number of characters
  • ? – a single character
  • ~ – single numeric
  • # – 0 to any numeric characters
  • ^ – a single uppercase character

Wildcard Fact Properties

Mandatory hierarchical relationships

Label Range Constraints
fact Contexts at least one required
or
not fact Contexts at least one required
or
optional fact Contexts at least one required

Optional hierarchical relationships

Label Range Constraints
fact Contexts at least one required
not fact Contexts at least one required
optional fact Contexts at least one required

Mandatory associative relationships

Label Range Constraints
extract fact as Fact Name only one allowed

Optional associative relationships

Label Range Constraints
group fact as Fact Name only one allowed
location Locations one or more allowed

Mandatory alternative labels

Label Range Constraints
wildcard fact label Label at least one required

Optional alternative labels

Label Range Constraints
forced preclusion label Label one or more allowed

Mandatory metadata

Label Range Constraints
(none)

Optional metadata

Label Range Constraints
field String only one allowed
return raw text also Boolean only one allowed
return value using regex String only one allowed
debug Boolean only one allowed
TitleResults for “How to create a CRG?”Also Available inAlert