Freitag, 24. Juni 2011

Re: [public-lod2] [lod2] OpenDataChallenge.org winners announced and PublicData.eu beta launched at Digital Agenda Assembly

It is usually nice to put up a snorql (nice little html+js thing
by cygri) in front of the endpoint, say at /snorql/ so that people
can point their web browsers at it and try queries.

For example, see http://semantic.ckan.net/snorql/

The (perfectly reasonable) 500 error that 4s-httpd gives you when
you don't supply a query is confusing to some people (thinking
about it, it should robably be a 400 actually, but that would
still be confusing...)

-w

* [2011-06-24 13:48:56 +0200] Friedrich Lindenberg <friedrich.lindenberg@okfn.org> écrit:

] Hi Bert,
]
] thanks for your message. While accessing the SPARQL endpoint without a
] request will get you a HTTP 500 error (no query), the thing itself
] seems to work:
]
] >>> from SPARQLWrapper import SPARQLWrapper, JSON
] >>> sparql = SPARQLWrapper("http://publicdata.eu/rdf/sparql")
] >>> sparql.setQuery("""SELECT * WHERE { ?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/dcat#Dataset> . }""")
] >>> sparql.setReturnFormat(JSON)
] >>> results = sparql.query().convert()
] >>> len(results['results']['bindings'])
] 20000
]
] Can you perhaps detail on the problem a bit? I realize that this
] doesn't have a query interface like many other linked data sites but
] quite frankly I don't understand the fascination with these things:
] less than a percent of the site users will know how to use a SPARQL
] interface and for those programmatic access is much more relevant than
] a HTML UI. Nobody offers SQL prompts on their normal applications,
] either.
]
] - Friedrich
]
]
] On Fri, Jun 24, 2011 at 8:46 AM, Bert Van Nuffelen
] <bert.van.nuffelen@tenforce.com> wrote:
] > Hi Johathan,
] >
] > I browsed the publicdata.eu site and clicked on the SPARQL endpoint
] > and it turns to be dead http://publicdata.eu/rdf/sparql
] >
] > Can you forward this message to the right person.
] > I did not find an email address for technical support on the site.
] >
] > kind regards,
] >
] > Bert
] >
] >
] > 2011/6/23 Jonathan Gray <jonathan.gray@okfn.org>:
] >> FYI
] >>
] >> http://lod2.eu/BlogPost/427-opendatachallenge-org-winners-announced-and-publicdata-eu-beta-launched-at-digital-agenda-assembly.html
] >>
] >> --
] >> Jonathan Gray
] >>
] >> Community Coordinator
] >> The Open Knowledge Foundation
] >> http://blog.okfn.org
] >>
] >> http://twitter.com/jwyg
] >> http://identi.ca/jwyg
] >>
] >> _______________________________________________
] >> lod2 mailing list
] >> lod2@lists.okfn.org
] >> http://lists.okfn.org/mailman/listinfo/lod2
] >> _______________________________________________
] >> lod2 mailing list
] >> lod2@lists.informatik.uni-leipzig.de
] >> http://lists.informatik.uni-leipzig.de/mailman/listinfo/lod2
] >>
] >
] >
] >
] > --
] > Bert Van Nuffelen
] >
] > Semantic Technologies Software Architect at TenForce
] > www.tenforce.be
] >
] > Bert.Van.Nuffelen@tenforce.com
] > Office: +32 (0)16 31 48 60
] > Mobile:+32 479 06 24 26
] > skype: bert.van.nuffelen
] >
] > _______________________________________________
] > lod2 mailing list
] > lod2@lists.okfn.org
] > http://lists.okfn.org/mailman/listinfo/lod2
] > _______________________________________________
] > lod2 mailing list
] > lod2@lists.informatik.uni-leipzig.de
] > http://lists.informatik.uni-leipzig.de/mailman/listinfo/lod2
] >
]
]
]
] --
] Open Knowledge Foundation
] Promoting Open Knowledge in a Digital Age
] http://www.okfn.org/ - http://blog.okfn.org/
]
] http://twitter.com/pudo
] http://pudo.org
]
] _______________________________________________
] lod2 mailing list
] lod2@lists.okfn.org
] http://lists.okfn.org/mailman/listinfo/lod2
] _______________________________________________
] lod2 mailing list
] lod2@lists.informatik.uni-leipzig.de
] http://lists.informatik.uni-leipzig.de/mailman/listinfo/lod2

--
William Waites <mailto:ww@styx.org>
http://river.styx.org/ww/ <sip:ww@styx.org>
F4B3 39BF E775 CF42 0BAB 3DF0 BE40 A6DF B06F FD45

_______________________________________________
lod2 mailing list
lod2@lists.okfn.org
http://lists.okfn.org/mailman/listinfo/lod2