Hi all,
I was interested to see Quepy's use of SPARQLWrapper to pose natural
language queries of dbpedia's endpoint. (Quepy is a python framework to
transform natural language questions to queries in a database query
language, SPARQL in the first instance).
I thought I'd have a go hacking the Quepy example to use the RDFLib
Graph that is wrapped by SPARQLWrapper.
I ended up using FuXi's inferencing to finesse a difference in the way
information is structured in my graph and in dbpedia.
I wrote a blog post about the exercise:
https://www.bel-epa.com/posts/taking-quepy-for-a-spin.xml
Cheers,
--
Graham Higgins
http://bel-epa.com/gjh/