Experimental IRC log swig-2008-11-20

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

10:12:40<mhausenblas>http://community.linkeddata.org/MediaWiki/index.php?HowBigIsTheDangedThing
10:13:53<mhausenblas>A:| HowBigIsTheDangedThing - capture current discussion round 'how big is the linked data cloud'
10:14:40<mhausenblas>A: includes contemplation on sense and non-sense of such a discussion
10:14:53<mhausenblas>A: comments welcome ;)
10:38:11<shellac>ACTION stretches arms out
10:38:25<shellac>I reckon it's about that big
10:39:41<shellac>ACTION also vows to kill a kitten when the phrase 'uri crisis' is uttered
11:24:05<juansequeda>mhauesenblas: didnt you write a paper on that subject?
11:32:49<danbri>kitten crisis!
11:33:34<danbri>hmm anyone see how to make an account in http://community.linkeddata.org/MediaWiki/index.php?title=Special:Userlogin&returnto=Special:Userlogin
11:33:37<danbri>Log in / create account
11:33:49<danbri>i try, and get ' Login error: There is no user by the name "DanBri". Check your spelling, or create a new account. '
12:01:58<shellac>danbri: doesn't look like they have account creation turned on
12:03:04<shellac>(and I've no idea who controls it)
12:05:59<melvster>danbri: linkeddata.org administered by Tom Heath on behalf of the Linked Data community. Send mail to contact at thisdomain.org .
13:24:40<ldodds>anyone from CREW here? Can't access the videos from SWIG talks
13:38:25<shellac>ldodds: I will prod someone
13:41:13<MikeJ1971>ldodds - erm, the Manchester guys have been having some technical issues. I'll ping you when they bring it back up
13:42:06<ldodds>MikeJ1971: thanks
15:07:37<danbri>any rdflib hackers around?
15:07:47<danbri>i have a pile of objects back from sparql, like rdflib.URIRef('http://xmlns.com/foaf/0.1/Image')
15:08:07<danbri>and i want to get out the bit of the URIRef that follows the final slash
15:08:14<danbri>and i know neither python nor rdflib :)
15:09:34<danbri>ACTION looks at http://rdflib.net/rdflib-2.4.0/html/public/rdflib.URIRef.URIRef-class.html blankly
15:09:45<nelix>sec
15:10:15<nelix>.rpartition('/')
15:10:34<nelix>(this will return a tuple, left, seperator, and center)
15:10:43<nelix>center/right
15:11:13<nelix>rdflib may have a smarter way
15:14:49<danbri>thanks
15:15:13<danbri>that seems useful but it's operating on the stringified full object name, ie. treating rdflib.URIRef('http://xmlns.com/foaf/0.1/Image') as the string to match
15:15:37<danbri>i guess i just need to know how to get the raw uri string out
15:15:53<danbri>ie the thing that i get when i just print the object, rather than str() it
15:16:12<nelix>ah
15:17:43<nelix>well i imagine you can just use it as a string
15:17:47<nelix>and it will be a string
15:17:52<nelix>this is how most things python work
15:20:00<danbri>i'd have thought so but...
15:20:02<danbri>output is
15:20:03<danbri>Class: http://xmlns.com/foaf/0.1/OnlineChatAccount
15:20:03<danbri>trimming http://xmlns.com/foaf/0.1/OnlineChatAccount
15:20:03<danbri>got: (rdflib.URIRef('OnlineChatAccount'),)
15:20:03<danbri>Class: http://xmlns.com/foaf/0.1/Document
15:20:04<danbri>trimming http://xmlns.com/foaf/0.1/Document
15:20:05<danbri>got: (rdflib.URIRef('Document'),)
15:20:15<danbri>with
15:20:16<danbri>def trim_ns(ss):
15:20:16<danbri> print "trimming %s " % ss
15:20:16<danbri> print "got: ", str(ss).replace("http://xmlns.com/foaf/0.1/", "")
15:20:32<nelix>repr(thing)?
15:20:51<danbri>if i lose the str(ss) and use
15:20:53<danbri>ss.replace(etc...)
15:20:55<danbri>it fails
15:21:08<danbri>repr works like str() here it seems
15:21:33<danbri>if i just use ss.replace(...) i get:
15:21:33<danbri>AttributeError: 'tuple' object has no attribute 'replace'
15:21:58<danbri>so i guess i need to know which chunk of the tuple is the string i care about?
15:23:21<danbri>ok ss[0].replace seems to do it
15:25:00<nelix>whatcha got so far?
15:26:20<nelix>hmm ,.defrag
15:26:30<nelix>i found thi
15:26:39<nelix>https://repository.umdac.umu.se/svn/py-om/tags/REL_1_0/pyom/ldap/ldapinstance.py
15:26:43<danbri> r=ss[0].replace("http://xmlns.com/foaf/0.1/", "")
15:28:41<nelix>you're trying to remove the name space?
15:29:52<nelix> ns = str(uriref.defrag())
15:29:53<nelix> name = str(uriref)[len(ns)+1:]
15:29:54<nelix> return (ns,name)
16:57:08<danbri>thanks nelix
17:51:03<bblfish>http://blogs.sun.com/bblfish/entry/foaf_ssl_a_first_implementation
17:51:23<bblfish>C:| foaf+ssl: a first implementation
19:58:04<mhausenblas>bengee around?
19:59:15<bengee>yes
19:59:21<mhausenblas>hey there
19:59:26<bengee>heya
19:59:33<mhausenblas>just toying around with SPARQLbot
20:00:02<mhausenblas>gotta problem with the 'haz time' command .. sort of stuck ... any idea?
20:01:05<bengee>did you load the source?
20:01:49<mhausenblas>no. sorry thought FROM would work directly
20:02:05<mhausenblas>btw, the SPARQL endpoint is not available anymore, no?
20:02:26<bengee>it should be
20:02:56<bengee> /sparql
20:03:13<mhausenblas>maybe I need to explicitly urlencode
20:24:25<mhausenblas>ok. basci stuff seem to work now ... gotta continue tomorrow .. thanks bengee!
20:24:36<bengee>ok, cool
21:53:16<Yudai_>yvesr: Audio Scrobbler RDF Service seems to be down again

Back to channel and daily index: content-negotiated html turtle