Construct a property:
<xsl:variable name="label"
select="rt:property('http://example.com/graph#', 'label')"/>Find some nodes:
<xsl:variable name="findResults"
select="rt:find($label, 'D')"/>Turn the results into a tree:
<xsl:variable name="tree"
select="rt:twig($findResults)/twig:result"/>