--
You received this message because you are subscribed to the Google Groups "neurolex" group.
To post to this group, send email to neur...@googlegroups.com.
To unsubscribe from this group, send email to neurolex+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/neurolex?hl=en.
Hi Thierry,
On Tue, 5 Apr 2011, Thierry wrote:
> Is there a way to extract Neurolex data from a program written in
> Python ?
Neurolex uses Semantic MediaWiki so it should be possible to query that
extension and get back, e.g., CSV. (I haven't tried)
In this file
http://www2.imm.dtu.dk/pubdb/views/edoc_download.php/5936/pdf/imm5936.pdf
you can see an example on calling a Semantic MediaWiki from Python.
You probably need to formulate a query in the Semantic MediaWiki query
language on the wiki as the construction of the query URL seems to be
obscure.
best regards
Finn
___________________________________________________________________
Finn Aarup Nielsen, DTU Informatics, Denmark
Lundbeck Foundation Center for Integrated Molecular Brain Imaging
http://www.imm.dtu.dk/~fn/ http://nru.dk/staff/fnielsen/
___________________________________________________________________
Hi Thierry,
Yes; you can use the SPARQL endpoint which is documented here: http://neurolex.org/wiki/NeuroLex_SPARQL_endpoint. The SPARQL protocol can be called over HTTP, so it is straightforward to utilize via any programming language. Additionally I believe you can google for some Python SPARQL wrappers.