How to pass parameters into a SPARQL query : <p>How do I pass var1 and var2 into the sparql query shown below. I have the code below but its not returning anything. </p>

<p>I appreciate your help on this. Thank you in adavnce</p>

<pre><code>string var1, var2;
var1 = DropDownList1.SelectedValue.ToString();
var2 = DropDownList2.SelectedValue.ToString();
//Load first listbox
private const string loadlist1 = @"
                     PREFIX au: &lt;http://semwebowl.somee.com/au/n3_notation#&gt;
                                    SELECT DISTINCT ?ResearchArea 

                                    WHERE {
                                        [a  au:var1;
                                            au:ResearchArea var2;
                                            au:ResearchArea ?ResearchArea].
                                            }";
</code></pre>
