Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-08 Thread Kingsley Idehen
On 1/8/15 1:53 PM, Mariana Chukanska wrote: Dear dbpedians, I'm new with sparql and I'm trying to learn it with DBPedia. I want to query i.e. all cloud service platforms from the side: http://dbpedia.org/page/Category:Cloud_platforms and this is the query I use for that in dbpedia snorql: P

Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-08 Thread M. Aaron Bossert
Try this... I believe you have the order reversed...the items it appears you are looking for have the cloud platform as their screens:subject: > PREFIX dcterms: > > SELECT DISTINCT ?platform > WHERE { > { ?platform dcterms:subject >

Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-08 Thread Roland Cornelissen
Hi Mariana, The subject relation should be inverted in your query for the results you are looking for: PREFIX dcterms: SELECT ?platform WHERE { ?platform dcterms:subject . } The categories are part of a SKOS

Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-08 Thread Eric Scott
Hi Mariana - For one thing, you have one two many {'s :-) Also, since 'Cloud platforms' is itself a category, the pertinent relation is http://www.w3.org/2004/02/skos/core#broader dcterms:subject only applies between instances and their categories. Good luck! - Eric On 01/08/2015 10:53 AM,

[Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-08 Thread Mariana Chukanska
Dear dbpedians, I'm new with sparql and I'm trying to learn it with DBPedia. I want to query i.e. all cloud service platforms from the side: http://dbpedia.org/page/Category:Cloud_platforms and this is the query I use for that in dbpedia snorql: PREFIX dcterms: SELE