Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

SPARQL query returns empty table

Hello I am new to SPARQL and I am trying to retrieve the values of the
dbo:wikiPageWikiLink Property from the followin page:
link

Below is my query that unfortunately returns nothing.
Any suggestions would be appreciated. Cheers!

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX : <http://dbpedia.org/resource/>

SELECT ?link WHERE {<http://dbpedia.org/page/Category:Grape_varieties_of_Greece> dbo:wikiPageWikiLink ?link }

I tried also

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

SELECT ?link WHERE {<http://dbpedia.org/resource/Category:Grape_varieties_of_Greece> dbo:wikiPageWikiLink ?link }

>Solution :

Actually this view is telling you that your IRI is the object of the triple, rather than the subject.

enter image description here

Notice that it’s saying that <http://dbpedia.org/page/Category:Grape_varieties_of_Greece> is dbo:wikiPageWikiLink of the list.

So you can find it by running this query:

SELECT ?link
WHERE {
?link dbo:wikiPageWikiLink <http://dbpedia.org/page/Category:Grape_varieties_of_Greece>
}
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading