sparqling the opera community
as suggested on the swig scratchpad, we should search for examples.
ok, what we have is a SPARQL conformant query interface to 2mio triples that come from a community website (users, forums, photos, etc)
I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once (* type *) and got a 100mb file with uris to play with. None of the uris has a DESCRIBE (argh, why isn't CBD in SPARQL yet).
so, this for example doesn't work:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
DESCRIBE <http://my.opera.com/butchevans/homes/albums/10149/PA140033.JPG>
typical uris and types I found:
http://my.opera.com/_1/xml/foaf#_1
http://my.opera.com/Fietsy/xml/foaf#Fietsy
- these are of type foaf:Person
http://my.opera.com/masterpdc/homes/albums/2158/IMG_1557.JPG
http://my.opera.com/jessegoodwin/homes/albums/2156/DSCN0322.JPG
- these are of type foaf:Image
http://my.opera.com/shawncl/albums/show.dml?id=11201
this has got type gallery:
http://my.opera.com/community/xmlns/2005/gallery#Gallery
these are blogs:
http://my.opera.com/matthewserg/blog/
type: http://purl.org/dc/elements/1.1/Collection
a document:
http://my.opera.com/olli/blog/show.dml/2235
type: http://xmlns.com/foaf/0.1/Document
groups:
http://my.opera.com/groops/xml/foaf#groops
http://my.opera.com/iran%20sayeha/xml/foaf#iran_sayeha
type: http://xmlns.com/foaf/0.1/Group
ok, looking at the opera community site we see that there is a guy named Words who is member of the week, meaning he is very active. So sparqling for Words looks like this:
PREFIX rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?p ?o WHERE
{<http://my.opera.com/Words/xml/foaf#Words> ?p ?o.}
Well, this brought us his foaf:knows relations and his weblog uri. cool. Lets make a backlink search:
PREFIX rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?s ?p WHERE { ?s ?p
<http://my.opera.com/Words/xml/foaf#Words>.}
this brought some pictures he created, connected via dc:creator uri: http://purl.org/dc/elements/1.1/creator.
and much more....
ok, thsi should be enough to get people on the track to build guis and web 2.0 stuff on top of opera community.
thanks to opera: the users data is users data now, not theirs. cool move.
ok, what we have is a SPARQL conformant query interface to 2mio triples that come from a community website (users, forums, photos, etc)
I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once (* type *) and got a 100mb file with uris to play with. None of the uris has a DESCRIBE (argh, why isn't CBD in SPARQL yet).
so, this for example doesn't work:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
DESCRIBE <http://my.opera.com/butchevans/homes/albums/10149/PA140033.JPG>
typical uris and types I found:
http://my.opera.com/_1/xml/foaf#_1
http://my.opera.com/Fietsy/xml/foaf#Fietsy
- these are of type foaf:Person
http://my.opera.com/masterpdc/homes/albums/2158/IMG_1557.JPG
http://my.opera.com/jessegoodwin/homes/albums/2156/DSCN0322.JPG
- these are of type foaf:Image
http://my.opera.com/shawncl/albums/show.dml?id=11201
this has got type gallery:
http://my.opera.com/community/xmlns/2005/gallery#Gallery
these are blogs:
http://my.opera.com/matthewserg/blog/
type: http://purl.org/dc/elements/1.1/Collection
a document:
http://my.opera.com/olli/blog/show.dml/2235
type: http://xmlns.com/foaf/0.1/Document
groups:
http://my.opera.com/groops/xml/foaf#groops
http://my.opera.com/iran%20sayeha/xml/foaf#iran_sayeha
type: http://xmlns.com/foaf/0.1/Group
ok, looking at the opera community site we see that there is a guy named Words who is member of the week, meaning he is very active. So sparqling for Words looks like this:
PREFIX rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?p ?o WHERE
{<http://my.opera.com/Words/xml/foaf#Words> ?p ?o.}
Well, this brought us his foaf:knows relations and his weblog uri. cool. Lets make a backlink search:
PREFIX rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?s ?p WHERE { ?s ?p
<http://my.opera.com/Words/xml/foaf#Words>.}
this brought some pictures he created, connected via dc:creator uri: http://purl.org/dc/elements/1.1/creator.
and much more....
ok, thsi should be enough to get people on the track to build guis and web 2.0 stuff on top of opera community.
thanks to opera: the users data is users data now, not theirs. cool move.
leobard - 30. Nov, 13:43
|
darrensy - 10. Sep, 03:17
I am impressed
I am impressed, I want to try this one, I visited that pages you shared and i found, its worth. Thanks for this tips. I will do the same thing.
custom wine labels
custom wine labels
longma - 12. Oct, 05:20
pellet mill
This kind of information is very limited on internet. Nice to find the post related to my searching criteria. Your updated and informative post will be appreciated by blog loving people.
pellet mill
pellet mill
Amandavarley - 26. Nov, 08:09
Allen
Great Community...i want to share my blog on this here it is...
GiftBaskets.com Coupons
GiftBaskets.com Coupons
alec7334 - 28. Dec, 13:51
This site is interesting and fun for me. I'm glad I found out and have shared it with a few friends. Reverse Cell Phone Lookup
thestars - 16. Mar, 16:03
Good to see
Opera community must be facilitated with such kind of stuff via this specific platform. There should be some more discussions in this regard for the visitors. I do hope that you will work hard to bring more and outclass content over here. You can also visit to get info about lionhead rabbits for sale
george22 - 21. Apr, 09:25
Opera community must be facilitated with such kind of stuff via this specific platform. There should be some more discussions in this regard for the visitors. I do hope that you will work hard to bring more and outclass content over here. You can also visit to get info about ccna practice test
cfa practice test
cfa exam questions
itil practice exam
cfa sample questions
test samurai
braindumps
braindumps
cfa practice test
cfa exam questions
itil practice exam
cfa sample questions
test samurai
braindumps
braindumps
- add comment - 0 trackbacks
Trackback URL:
https://leobard.twoday.net/stories/1210825/modTrackback
dc:creator -> foaf:maker