title: SPARQL query for DBPedia + CIA Factbook +data GOV
body: <p>I have below 2 queries. The first query retrieves the literacy rate from CIA Factbook endpoint available at <a href="http://www4.wiwiss.fu-berlin.de/factbook/sparql" rel="nofollow">http://www4.wiwiss.fu-berlin.de/factbook/sparql</a>. The second query is for the data gov endpoint available at <a href="http://data-gov.tw.rpi.edu/sparql" rel="nofollow">http://data-gov.tw.rpi.edu/sparql</a>.</p>
  
  <pre><code>PREFIX ns: &lt;http://www4.wiwiss.fu-berlin.de/factbook/ns#&gt;
  SELECT ?country ?literacy_male WHERE {
  ?s ns:literacy_male ?literacy_male.
  ?s ns:name ?country.FILTER regex(?country, "", "i")}
  
  PREFIX dgp32: &lt;http://data-gov.tw.rpi.edu/vocab/p/32/&gt;
  PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; 
  SELECT ?magnitude ?region WHERE { GRAPH &lt;http://data-gov.tw.rpi.edu/raw/33/data-33.rdf&gt; 
  {
  ?entry dgp32:magnitude ?magnitude .
  ?entry dgp32:region ?region.
  filter (  xsd:float(?magnitude) &gt; 5 )}}
  </code></pre>
  
  <p>I want to be able to retrieve the URL of each of the country's Wikipedia page retrieved from running each of these queries.How can i combine each query separately to a DBpedia query to retrieve Wikipedia page URL.I am unable to formulate a query</p>
  
  <p>Can someone please help me</p>