Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-09 Thread Vladimir Alexiev
Mariana, you got too many answers already, but here's another :-)

It's a precaution: Wikipedia categories are a navigational aid, and can't be 
used reliably to find things of a certain kind. 
E.g. these two results of the query are not Platforms:
- http://dbpedia.org/page/IBM/Google_Cloud_Computing_University_Initiative: is 
an initiative
- http://dbpedia.org/page/TradeCard: is a company

 http://dbpedia.org/c/9CH4UXVL -- shortened version of the above

Kingsley, how do you get this?



--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


Re: [Dbpedia-discussion] DBPedia SPARQL query poblems

2015-01-09 Thread Kingsley Idehen

On 1/9/15 1:02 PM, Vladimir Alexiev wrote:

Mariana, you got too many answers already, but here's another:-)

It's a precaution: Wikipedia categories are a navigational aid, and can't be 
used reliably to find things of a certain kind.
E.g. these two results of the query are not Platforms:
-http://dbpedia.org/page/IBM/Google_Cloud_Computing_University_Initiative: is 
an initiative
-http://dbpedia.org/page/TradeCard: is a company


http://dbpedia.org/c/9CH4UXVL  -- shortened version of the above

Kingsley, how do you get this?


Vladmir,

I suspect you mean, how does one solve this problem? If so, here goes:

1. If you want to stick with generation of the list a SPARQL query that 
targets DBpedia, you have to apply a FILTER based on your known 
knowledge (e.g., what you've pointed out above)


2. You can use a CONSTRUCT to perform an export into your own data space 
which becomes you base for maintaining a list of cloud services 
providers -- you can then enhance this list with your domain knowledge 
and then hopefully publish back to the LOD cloud (in some cases, you can 
send it back to us and we'll even load into its own named graph etc..).



--
Regards,

Kingsley Idehen 
Founder  CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this




smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


[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: http://purl.org/dc/terms/

SELECT ?platform
WHERE {
{ http://dbpedia.org/resource/Category:Cloud_platforms dcterms:subject
?platform.
}


I will appriciate your suggestions and ideas.

Thank you very much for your support in advanced!
My very best
Marianna
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


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: http://purl.org/dc/terms/
SELECT ?platform
WHERE {
 ?platform dcterms:subject 
http://dbpedia.org/resource/Category:Cloud_platforms.

}

The categories are part of a SKOS ConceptScheme and are always used as 
/object/ in a triple expressing a subject relation.


hth, cheers
Roland



On 08-01-15 19:53, 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:

PREFIX dcterms: http://purl.org/dc/terms/

SELECT ?platform
WHERE {
{ http://dbpedia.org/resource/Category:Cloud_platforms 
dcterms:subject ?platform.

}


I will appriciate your suggestions and ideas.

Thank you very much for your support in advanced!
My very best
Marianna


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


--
Signature Metamatter/Roland Cornelissen
metamatter*| *Drs. Roland Cornelissen*| *Weersterweg 12*| *9832TE*| *Den 
Horn*| *T +31 (0)50 5515369*| *M +31 (0)6 14797518*| *www.metamatter.nl 
http://www.metamatter.nl


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


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: http://purl.org/dc/terms/
 
 SELECT DISTINCT ?platform
 WHERE {
 {  ?platform dcterms:subject 
 http://dbpedia.org/resource/Category:Cloud_platforms .
 }


Aaron

 On Jan 8, 2015, at 13:53, Mariana Chukanska m.chukan...@googlemail.com 
 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:
 
 PREFIX dcterms: http://purl.org/dc/terms/
 
 SELECT ?platform
 WHERE {
 { http://dbpedia.org/resource/Category:Cloud_platforms dcterms:subject 
 ?platform.
 }
 
 
 I will appriciate your suggestions and ideas.
 
 Thank you very much for your support in advanced! 
 My very best 
 Marianna
 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 Dbpedia-discussion mailing list
 Dbpedia-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


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:

PREFIX dcterms: http://purl.org/dc/terms/

SELECT ?platform
WHERE {
{ http://dbpedia.org/resource/Category:Cloud_platforms 
dcterms:subject ?platform.

}


I will appriciate your suggestions and ideas.

Thank you very much for your support in advanced!
My very best
Marianna


Mairanna,

A powerful feature of SPARQL is that it includes the SPARQL Protocol 
which enables the use of HTTP URIs to identify SPARQL Query Results. In 
addition, we have an enhancement to the basic SPARQL Protocol URL 
pattern that enables you substitute the query parameter with qtxt, 
should the recipient of a query results URL want to look at the actual 
query definition.


Step-by Guide:

1. You are interested in what 
http://dbpedia.org/resource/Category:Cloud_platforms identifies
2. You can also obtain a different presentation of what the URI above 
identifies via 
http://dbpedia.org/describe/?uri=http://dbpedia.org/resource/Category:Cloud_platforms
3. 
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.orgquery=SELECT+%3Fplatform%0D%0AWHERE+%7B%0D%0A%3Fplatform%0D%0Adcterms%3Asubject+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FCategory%3ACloud_platforms%3E+.%0D%0A++%7D%0D%0Aformat=text%2Fhtmltimeout=3debug=on 
-- Query Results Page for all the platforms

4. http://dbpedia.org/c/9CH4UXVL -- shortened version of the above
5. 
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org*qtxt*=SELECT+%3Fplatform%0D%0AWHERE+%7B%0D%0A%3Fplatform%0D%0Adcterms%3Asubject+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FCategory%3ACloud_platforms%3E+.%0D%0A++%7D%0D%0Aformat=text%2Fhtmltimeout=3debug=on 
-- Query Definition Page (remember: qtxt is used instead of query)


Note:

http://dbpedia.org/resource/Category:Cloud_platforms is the object 
(not subject) of the dcterms:subject relation. Even though at first 
blush it appears to be the opposite since the is ... of surrounding 
the dcterms:subject relation's meaning isn't always clear. Basically, 
is  of is used as alleviation to quirks in RDF the lead to data 
being created using triples that take the form:


http://dbpedia.org/resource/Category:Cloud_platforms dcterms:subject 
http://dbpedia.org/resource/Amazon_Web_Services

...

Because not everyone supports syntax sugar (e.g., what N3 offers) of the 
form:


http://dbpedia.org/resource/Amazon_Web_Services is dcterms:subject of 
http://dbpedia.org/resource/Category:Cloud_platforms .


Anyway, we support the aforementioned N3 syntax sugar too.

Hope this helps.

--
Regards,

Kingsley Idehen 
Founder  CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this



smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


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, 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:

PREFIX dcterms: http://purl.org/dc/terms/

SELECT ?platform
WHERE {
{ http://dbpedia.org/resource/Category:Cloud_platforms 
dcterms:subject ?platform.

}


I will appriciate your suggestions and ideas.

Thank you very much for your support in advanced!
My very best
Marianna


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion