- From: Thomas Francart <thomas.francart@sparna.fr>
- Date: Wed, 10 Jul 2013 19:15:57 +0200
- To: Denny Vrandečić <denny.vrandecic@wikimedia.de>
- Cc: semantic-web at W3C <semantic-web@w3c.org>
Received on Wednesday, 10 July 2013 17:19:33 UTC
Hello It is not exactly an answer to your question but you can get an idea of how to do that using a sparql query against a json-p capable endpoint in this news article annotation demo I have put up : http://labs.sparna.fr/dbpedia-enrich-news-article.html It fetches labels of rdfa annotations in the text, in the reader's language, from dbpedia, list them on the side of the article or plot them on a map. Look at the page source for the sparql queries details. Hope it helps Thomas Le 10 juil. 2013 09:31, "Denny Vrandečić" <denny.vrandecic@wikimedia.de> a écrit : > Given that I have a URI, is there a JS library so that I can make a call > like > > getLabels( uri, lang ) or getPropertyValues( uri, rdf:label, lang ) > > or whatever call to get the label(s) in the given / the available > languages, assuming the the URI resolves and returns an RDF description > containing the rdf:label? > > Cheers, > Denny > >
Received on Wednesday, 10 July 2013 17:19:33 UTC