I need to know what is the answer of the query. I have tried with "bindings" but it does not work here.
sparql = SPARQLWrapper(endpoint)
sparql.setQuery(prefixes + """
SELECT ?term WHERE {
<
http://agris.fao.org/aos/records/AU7500003> dct:subject ?term
}
""")
ret = sparql.query()
print ret
I have also tried with convertJSON(ret) and other things but always get an error. Maybe I am managing QueryResult object in the wrong way.
Thanks a lot.