Hi all,

I am trying to use the DBPedia by using the access point
<http://dbpedia.org/sparql> http://dbpedia.org/sparql

I am trying to run some queries for using the
http://dbpedia.org/ontology/wikiPageWikiLink property in order to obtain all
the pages linking to a given label.

For instance, I tried the following query:

select distinct count(?l) ?s from <dbpedia_labels_it> from
<dbpedia_page_links_it> where {
      {?s < <http://www.w3.org/2000/01/rdf-schema#label>
http://www.w3.org/2000/01/rdf-schema#label> ?o FILTER regex(?o,"roma",
"i")}. 
      ?s  < <http://dbpedia.org/ontology/wikiPageWikiLink>
http://dbpedia.org/ontology/wikiPageWikiLink> ?l } 
order by DESC(count(?l)) limit 10

 

However, it does not working.

Can anyone provide me a simple example to use wikiPageWikiLink in a correct
way?

 

Thank you very much in advance for your time.

Best Regards.

 

Serena

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to