Logging SPARQL Query information

27 views
Skip to first unread message

Stephen H. Kim

unread,
Mar 20, 2020, 11:33:12 AM3/20/20
to rdflib-dev
Hi Everyone,

Hope you are having a nice day.
Wanted to ask if there is a way to use the python logging module to get the log for each SPARQL query.
I have multiple queries in a separate file that I invoke and would like logging info when it is looping.

Best,
Stephen

Nicholas Car

unread,
Mar 21, 2020, 7:42:12 PM3/21/20
to rdfli...@googlegroups.com
Hi Stephen,

Great to have more detailed rdflib questions coming through- showed good package use!

Can I ask that you post this to StackOverflow tagged with [rdflib] please?

The reason is that it will receive much more visibility there and any answers will be more likely seen by others who may have the same question. On this list, only a few rdflib developers will see it. 

We want to tidy up rdflib community resources a bit now so they work better for more people! 

Thanks,

Nick

— 
Dr Nicholas Car
Data Systems Architect
SURROUND Australia
0477 560 177

On 21 Mar 2020, at 1:33 am, Stephen H. Kim <hki...@alumni.nd.edu> wrote:


--
http://github.com/RDFLib
---
You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/90c6ef93-31dc-4706-b115-4fb1966dddda%40googlegroups.com.

Stephen H. Kim

unread,
Mar 21, 2020, 8:02:08 PM3/21/20
to rdflib-dev
Thanks for the prompt response, Nicholas!
I've posted it on stackoverflow with the rdflib tag:



On Saturday, March 21, 2020 at 7:42:12 PM UTC-4, Nicholas Car wrote:
Hi Stephen,

Great to have more detailed rdflib questions coming through- showed good package use!

Can I ask that you post this to StackOverflow tagged with [rdflib] please?

The reason is that it will receive much more visibility there and any answers will be more likely seen by others who may have the same question. On this list, only a few rdflib developers will see it. 

We want to tidy up rdflib community resources a bit now so they work better for more people! 

Thanks,

Nick

— 
Dr Nicholas Car
Data Systems Architect
SURROUND Australia
0477 560 177

On 21 Mar 2020, at 1:33 am, Stephen H. Kim <hki...@alumni.nd.edu> wrote:


Hi Everyone,

Hope you are having a nice day.
Wanted to ask if there is a way to use the python logging module to get the log for each SPARQL query.
I have multiple queries in a separate file that I invoke and would like logging info when it is looping.

Best,
Stephen

--
http://github.com/RDFLib
---
You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdfli...@googlegroups.com.

Wes Turner

unread,
Mar 21, 2020, 10:06:11 PM3/21/20
to rdfli...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/28b445b4-5a5e-45e0-91eb-d36d7d1da6bb%40googlegroups.com.

Natanael Arndt

unread,
Mar 22, 2020, 9:04:25 AM3/22/20
to rdfli...@googlegroups.com

I think, Stackoverflow is no good place for feature requests. So they should still go to GitHub Issues or best come as a pull-request ready to merge and including tests :-)

All the best,
Natanael

signature.asc

Nicholas Car

unread,
Mar 22, 2020, 11:34:26 PM3/22/20
to rdfli...@googlegroups.com
Correct: if a person’s just asking a question about “how” StackOverflow. If it’s a feature requests, GitHub.

In this case, if there is no logging and thus Stephen’s question gets answered with “can’t be done”, then he, or one of us, should raise a feature request to add it, in GitHub and link the StackOverflow question to the Issue.

Nick



______________________________________________________________________________________
 
Dr Nicholas Car
Data Systems Architect
SURROUND Australia Pty Ltd
Address P.O. Box 86, Mawson, Canberra ACT 2607
Phone  +61 477 560 177
Email  nichol...@surroundaustralia.com
Website  https://surroundaustralia.com

Enhancing Intelligence Within Organisations
delivering evidence that connects decisions to outcomes






Reply all
Reply to author
Forward
0 new messages