s the
					current query graph, while the variable <code>$shapes</code> is undefined.
				</p>
			</section>
		</section>
		
		<section id="rules">
			<h2>JavaScript Rules</h2>
			<p>
				The SHACL Advanced Features document introduced the concept of SHACL-based <a>rules</a>
				which included an extension mechanism that can be used to define new <a>rule types</a>.
				This section defines a <a>rule type</a> called <dfn data-lt="JavaScript rule">JavaScript rules</dfn>.
			<p>
			<table class="term-table">
	