title: SPARQL: combining variables with literals
body: <p>Is it possible to create a subject in a SPARQL triple that is created by combining a variable and a literal?</p>
  
  <p>My case is this:</p>
  
  <pre><code>OPTIONAL  
  {
    $object dc:identifier $identifier .
    &lt;info:fedora/abc:123/MODS&gt; fedora-view:disseminationType $mods .
    &lt;info:fedora/abc:123/TN&gt; fedora-view:disseminationType $tn
  }
  </code></pre>
  
  <p>$object looks like this: <code>&lt;info:fedora/abc:123&gt;</code>
  $identifier looks like this: <code>abc:123</code>
  and what I need is this: <code>&lt;info:fedora/abc:123/MODS&gt;</code></p>
  
  <p>I can't use <code>&lt;info:fedora/$identifier/MODS&gt;</code> but is there another way to 'glue' variables and literals together?</p>