LRML
1 program
Added 2026-03-11T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: LegalRuleML, Legal RuleML
Provenance: commit 606c29253a · authored 2026-03-11T23:34:32+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Speed Limit Obligation Rule
Provenance: commit 606c29253a · authored 2026-03-11T23:34:32+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
<?xml version="1.0" encoding="UTF-8"?>
<lrml:LegalRuleML
xmlns:lrml="http://docs.oasis-open.org/legalruleml/ns/v1.0/"
xmlns:ruleml="http://ruleml.org/spec"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<!-- Prescriptive rule: drivers must obey speed limits -->
<lrml:LegalSources>
<lrml:LegalSource key="ls1">
<lrml:Reference iri="http://example.org/laws/traffic-code#speed-limit"/>
</lrml:LegalSource>
</lrml:LegalSources>
<lrml:Statements>
<lrml:PrescriptiveStatement key="ps1">
<ruleml:Rule>
<ruleml:if>
<ruleml:And>
<ruleml:Atom>
<ruleml:Rel>driving</ruleml:Rel>
<ruleml:Var>D</ruleml:Var>
</ruleml:Atom>
<ruleml:Atom>
<ruleml:Rel>exceedsSpeedLimit</ruleml:Rel>
<ruleml:Var>D</ruleml:Var>
</ruleml:Atom>
</ruleml:And>
</ruleml:if>
<ruleml:then>
<lrml:Obligation>
<ruleml:Atom>
<ruleml:Rel>isLiableForFine</ruleml:Rel>
<ruleml:Var>D</ruleml:Var>
</ruleml:Atom>
</lrml:Obligation>
</ruleml:then>
</ruleml:Rule>
</lrml:PrescriptiveStatement>
</lrml:Statements>
</lrml:LegalRuleML>