title: How to query dbpedia resource ontology 'wikiPageExternalLink'
body: <p>Using sparql\sparqlwrapper in python, how will I be able to query for the values of a certain dbpedia resource? For example, how will I be able to get the dbpedia-owl:wikiPageExternalLink values of <a href="http://dbpedia.org/page/Asturias">http://dbpedia.org/page/Asturias</a>?
      Here's a simple example on how will I be able to query for the rdfs:label of Asturias. But I don't know how to modify the query/query parameters to get values of property/ontology other than those included on rdfs schema. Here's the sample:</p>
  
  <pre><code>from SPARQLWrapper import SPARQLWrapper, JSON, XML, N3, RDF
  sparql = SPARQLWrapper("http://dbpedia.org/sparql")
  sparql.setQuery("""
      PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
      SELECT ?label
      WHERE { &lt;http://dbpedia.org/resource/Asturias&gt; rdfs:label ?label }
  """)
  print '\n\n*** JSON Example'
  sparql.setReturnFormat(JSON)
  results = sparql.query().convert()
  for result in results["results"]["bindings"]:
      print result["label"]["value"]
  </code></pre>
  
  <p>Hoping to receive feedback. Thanks in advance!</p>