Modifier Reference

Complete reference for all 30+ standard modifier fields in STL.


Temporal Modifiers

FieldTypeValuesExample
timestring"Past", "Present", "Future", or ISO 8601time="2025-01-15"
durationstringISO 8601 durationduration="PT5M"
frequencystring"Once", "Daily", "Weekly", "Recurring"frequency="Daily"
tensestring"Past", "Present", "Future"tense="Past"

Spatial Modifiers

FieldTypeValuesExample
locationstringGeographic identifierlocation="Melbourne"
domainstringKnowledge domaindomain="physics"
scopestring"Global", "Local", "Regional", "Organizational"scope="Global"

Logical Modifiers

FieldTypeRangeExample
confidencefloat0.0 - 1.0confidence=0.85
certaintyfloat0.0 - 1.0certainty=0.95
necessitystring"Possible", "Contingent", "Necessary", "Impossible"necessity="Necessary"
rulestring"causal", "logical", "empirical", "definitional", "correlative"rule="causal"

Confidence Calibration

ScoreWhen to Use
0.95 - 1.0Definitional truths, mathematical facts
0.85 - 0.94Well-established facts, strong evidence
0.70 - 0.84Generally accepted, moderate evidence
0.50 - 0.69Probable but uncertain, limited evidence
0.30 - 0.49Speculative, weak evidence
0.00 - 0.29Highly uncertain, hypothetical

Provenance Modifiers

FieldTypeValuesExample
sourcestringURI, DOI, legal code referencesource="doi:10.1234/study"
authorstringCreator nameauthor="Einstein"
timestampstringISO 8601 datetimetimestamp="2025-01-15T10:00:00Z"
versionstringVersion identifierversion="v1.2.3"

Affective Modifiers

FieldTypeValuesExample
emotionstring"Joy", "Fear", "Anger", "Empathy", "Neutral", "Hope", "Sadness"emotion="Joy"
intensityfloat0.0 - 1.0intensity=0.8
valencestring"Positive", "Negative", "Neutral", "Mixed"valence="Positive"

Value Modifiers

FieldTypeValuesExample
valuestring"Good", "Neutral", "Bad", "Evil", "Beneficial"value="Good"
alignmentstring"Positive", "Negative", "Neutral", "Mixed"alignment="Positive"
prioritystring or int"High", "Medium", "Low" or 1-10priority="High"

Causal Modifiers

FieldTypeRange/ValuesExample
strengthfloat0.0 - 1.0strength=0.9
causestringDescriptioncause="Rain"
effectstringDescriptioneffect="Flooding"
conditionalitystring"Sufficient", "Necessary", "Both", "Neither"conditionality="Sufficient"

Cognitive Modifiers

FieldTypeValuesExample
intentstring"Explain", "Predict", "Evaluate", "Compare", "Describe"intent="Explain"
focusstring"Subject", "Predicate", "Relationship", "Context"focus="Relationship"
perspectivestring"FirstPerson", "SecondPerson", "ThirdPerson", "Objective"perspective="Objective"

Mood Modifiers

FieldTypeValuesExample
moodstring"Assertion", "Question", "Request", "Doubt", "Conditional", "Imperative"mood="Question"
modalitystring"Indicative", "Subjunctive", "Imperative"modality="Subjunctive"

Custom Modifiers

Any key not listed above is treated as a custom modifier:

[Drug_X] -> [Effect_Y] ::mod(
  confidence=0.85,
  dosage="500mg",
  trial_id="NCT12345678"
)

Custom modifiers are preserved by the parser and included in all serialization formats.


Mandatory Fields by Context

ContextRequiredRecommended
Historical knowledgetime, source, confidenceauthor, location, domain
Scientific claimsrule="empirical", confidence, sourcecertainty, timestamp, author
Definitional statementsrule="definitional", confidence=0.95+domain, source
Causal relationsrule="causal", strength, confidenceconditionality, time, source

Anti-Patterns

  • Do not set confidence=1.0 unless the statement is a definitional truth
  • Do not use time="Past" together with tense="Future" (contradictory)
  • Do not use value="Good" together with alignment="Negative" (contradictory)
  • Limit to 5-7 modifiers per statement; split across multiple ::mod() blocks if needed