XML structure and namespaces
Every RBlang document starts with the XML declaration and the root knowledge base element.
<?xml version="1.0" encoding="utf-8"?>
<rbl:kb xmlns:rbl="http://rbl.io/schema/RBLang">
<!-- knowledge base content -->
</rbl:kb>Required structure
<?xml version="1.0" encoding="utf-8"?><rbl:kb>as the root elementxmlns:rbl="http://rbl.io/schema/RBLang"on the root element
Use UTF-8 encoding.
Recommended definition order
Define elements in this order:
Concepts
Relationships
Concept instances for
stringconceptsRelationship instances and rules
Core elements
RBlang uses these core elements:
<concept>for concept definitions<rel>for relationship definitions<concinst>for string concept instances<relinst>for facts and rules<condition>for rule conditions
Skeleton template
Type naming in RBlang
RBlang uses the type name truth for boolean concepts.
Last updated

