Wednesday, 30. November 2005

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.
QR barcode linking to this story. Useful when printed.

dc:creator -> foaf:maker

Hey leobard and thanks for testing and the nice examples. Just a quick note: I'm rebuilding the model now to use foaf:maker instead of dc:creator, since the FOAF spec suggests that dc:creator should be used for literal names, whereas foaf:maker should be used to references to foaf:Person records, which is what we have in this case.

Trackback URL:
http://leobard.twoday.net/stories/1210825/modTrackback

dc:creator -> foaf:maker

Hey leobard and thanks for testing and the nice examples. Just a quick note: I'm rebuilding the model now to use foaf:maker instead of dc:creator, since the FOAF spec suggests that dc:creator should be used for literal names, whereas foaf:maker should be used to references to foaf:Person records, which is what we have in this case.

icon

semantic weltbild 2.0

Building the Semantic Web is easier together

and then...

foaf explorer
foaf

Geo Visitors Map
I am a hard bloggin' scientist. Read the Manifesto.
www.flickr.com
lebard's photos More of lebard's photos
Skype Me™!

Search

 

Users Status

You are not logged in.

I support

Wikipedia Affiliate Button

Archive

November 2005
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 
 1 
 2 
 3 
 6 
 7 
 9 
10
14
16
19
20
21
23
24
26
27
29
 
 
 
 

Credits

Knallgrau New Media Solutions - Web Agentur für neue Medien

powered by Antville powered by Helma


Creative Commons License

xml version of this page
xml version of this page (with comments)

twoday.net AGB


austriaca
Chucknorrism
digitalcouch
gnowsis
Jesus
NeueHeimat
SemWeb
travel
zoot
Profil
Logout
Subscribe Weblog