<?xml version="1.0" encoding="UTF-8" ?> 
<p:pipeline version="1.0" 
      xmlns:p="http://www.w3.org/ns/xproc" 
      xmlns:c="http://www.w3.org/ns/xproc-step" 
      xmlns:l="http://xproc.org/library" 
      xmlns:calli="http://callimachusproject.org/rdf/2009/framework#"> 

<p:serialization port="result" media-type="text/html" method="html" doctype-system="about:legacy-compat" /> 

<p:import href="/callimachus/library.xpl" /> 

<calli:render-html> 
  <p:input port="source"> 
    <p:document href="http://localhost:8080/moon?describe" /> 
    <p:document href="http://localhost:8080/sun?describe" /> 
  </p:input> 
  <p:input port="query"> 
    <p:inline> 
      <c:data content-type="application/sparql-query">
        <![CDATA[
          SELECT ?this { BIND (<$target> AS ?this) }
        ]]>
      </c:data> 
    </p:inline> 
  </p:input> 
  <p:with-param name="target" select="'moon'" /> 
  <p:input port="template"> 
    <p:document href="/callimachus/templates/concept-view.xhtml" /> 
  </p:input> 
</calli:render-html> 

</p:pipeline>